.quiz-step h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.selection-hint {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    font-style: italic;
}

.year-title {
    margin-top: 30px !important;
}

.tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 20px;
}

#serviceCategoryTiles.tiles-grid {
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
}

#serviceCategoryTiles.tiles-grid .tile {
    position: relative;
    min-height: 220px;
}

#serviceCategoryTiles.tiles-grid .tile::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #f58123;
    opacity: .2;
}

#serviceCategoryTiles.tiles-grid .tile:hover::after,
#serviceCategoryTiles.tiles-grid .tile.selected::after {
    opacity: .6;
}

#serviceCategoryTiles.tiles-grid .tile .tile-text {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 1px 1px rgb(0 0 0 / 50%);
    color: white;
    z-index: 1;
}

.tile {
    border: 2px solid #e0e0e0;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile:hover {
    border-color: #f58123;
    transform: translateY(-2px);
}

.tile.selected {
    border-color: #f58123;
    background-color: #f58123;
    color: white;
}

.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 5px;
}

.tile-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.service-group {
    margin-bottom: 30px;
}

.service-group-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E0E0DF;
}

.service-group-tiles {
    margin-bottom: 20px;
}

.tile-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #f58123;
}

.year-input, .contact-input {
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

.quiz-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.error {
    border-color: #dc3545 !important;
}

.tiles-grid.error {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 10px;
}

#specificServiceContainer.error {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 10px;
}

@media (max-width: 768px) {

    .tiles-grid {
        grid-template-columns: 1fr 1fr;
    }

    #serviceCategoryTiles.tiles-grid {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .quiz-step {
        padding: 20px 15px;
    }

    .quiz-navigation {
        flex-direction: column;
        align-items: center;
    }

}

.error-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
}

.has-error {
    border-color: #a94442 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important;
}

.tiles-grid.has-error {
    border: 2px solid #a94442;
    padding: 10px;
    border-radius: 4px;
    background-color: #f2dede;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}