
.survey-title { 
    font-size: 2.2rem; 
    color: #002c5f; 
    margin-bottom: 1.5rem; 
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.survey-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #002c5f;
    border-radius: 2px;
}

/* Hyundai brand colors */
.btn-primary { 
    background-color: #002c5f; 
    border-color: #002c5f; 
}

.btn-primary:hover { 
    background-color: #00213e; 
    border-color: #001b33; 
}

.text-primary { 
    color: #002c5f !important; 
}

/* ========== Welcome & Thank You Messages ========== */
.welcome-message {
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
}

.welcome-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.welcome-message .greeting {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-message .customer-greeting {
    font-weight: 500;
    color: #002c5f;
}

.thank-you-message {
    margin: 2rem auto 1.5rem;
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    max-width: 90%;
}

.thank-you-message p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #002c5f;
    font-weight: 500;
    margin-bottom: 0;
}

/* Required field indicators */
.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 3px;
    font-size: 1.1em;
}

.required-fields-note {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    padding-right: 1rem;
}

.required-fields-note p {
    margin-bottom: 0;
}

/* ========== Survey Question Styling ========== */
.survey-question-container {
    background-color: #f8f9fa; 
    border-radius: 8px; 
    padding: 2rem 2.5rem; 
    margin-bottom: 2rem; 
    border: 1px solid #e4e4e4; 
    transition: all 0.3s ease;
}

.survey-question-container:hover { 
    border-color: #c9c9c9; 
    box-shadow: 0 0 15px rgba(0,0,0,0.05); 
}

.survey-question-container[data-parent-id] {
    background-color: #fcfcfc;
    border: 1px solid #e9e9e9;
}

.survey-question-container[data-parent-id]:before { 
    display: none; 
}

.question-title { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: #002c5f; 
    margin-bottom: 1rem; 
}

/* ========== Form Controls ========== */
/* Radio/checkbox styling */
.radio-options-container, .checkbox-options-container { 
    margin-top: 1rem; 
    padding-left: 0.5rem;
}

.radio-option, .checkbox-option { 
    margin-bottom: 0.75rem; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap;
}

.radio-option input[type="radio"], .checkbox-option input[type="checkbox"] {
    margin-right: 10px; 
    margin-top: 0; 
    position: relative; 
    top: -1px;
    width: 18px; 
    height: 18px; 
    cursor: pointer;
    accent-color: #002c5f;
}

.checkbox-option input[type="checkbox"] { 
    border-radius: 3px; 
}

.radio-option label, .checkbox-option label {
    flex: 1; 
    font-weight: 400; 
    margin-bottom: 0; 
    line-height: 1.5;
}

.radio-option input:checked + label, .checkbox-option input:checked + label {
    color: #002c5f; 
    font-weight: 500;
}

/* "Other" option styling */
.other-specify-container {
    width: 100%; 
    padding-left: 28px; 
    margin-top: 0.5rem; 
    margin-bottom: 0.75rem;
}

.other-specify {
    border: 1px solid #ced4da; 
    border-radius: 4px; 
    height: 38px; 
    padding: 0.375rem 0.75rem;
}

/* Text inputs styling */
.survey-question-container input[type="text"] {
    border: 1px solid #ced4da; 
    border-radius: 4px; 
    padding: 0.5rem 0.75rem; 
    width: 100%;
}

/* Date input styling */
.date-input-container { 
    position: relative; 
    width: 100%; 
}

.date-text {
    background-color: #fff; 
    cursor: pointer; 
    padding-right: 40px !important; 
}

.date-picker {
    position: absolute; 
    width: 1px; 
    height: 1px; 
    opacity: 0; 
    z-index: 1;
}

.calendar-icon {
    position: absolute; 
    right: 12px; 
    top: 50%; 
    transform: translateY(-50%);
    color: #002c5f; 
    font-size: 18px; 
    pointer-events: auto; 
    cursor: pointer;
    display: inline-block; 
    width: 20px; 
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002c5f' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: center;
}

/* Comment box styling */
.comment-box {
    margin-top: 0.75rem;
    min-height: 120px;
    resize: vertical;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.comment-box:focus {
    border-color: #002c5f;
    box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.25);
    outline: none;
}

.comment-box::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Multi-select styling */
.multi-select-note { 
    font-size: 0.9rem;
    font-weight: normal; 
    color: #666; 
    margin-left: 0.5rem; 
}

/* ========== Average Kilometer Input Styling ========== */
.kilometer-inputs-container {
    margin-top: 1rem;
    position: relative;
}

.fill-only-one {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.kilometer-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.kilometer-input-group {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.kilometer-input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.kilometer-input {
    width: 100%;
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

.kilometer-input:focus {
    border-color: #002c5f;
    box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.25);
}

/* Styling for active kilometer field */
.kilometer-input:not(:placeholder-shown) {
    background-color: #f8f9fa;
    border-color: #002c5f;
}

/* ========== Previous Car Details Styling ========== */
.previous-car-details { 
    margin-top: 1rem; 
}

.model-name-label { 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
}

.model-inputs-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
}

.model-input-group { 
    flex: 1; 
    min-width: 150px; 
    max-width: 250px; 
    display: flex; 
    flex-direction: column; 
}

.model-number { 
    font-weight: bold; 
    text-align: center; 
    margin-bottom: 0.25rem; 
}

.previous-car-input { 
    width: 100%; 
}

/* ========== Loading, Success & Error Styling ========== */
/* Loading overlay */
.loading-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    z-index: 999;
}

/* Error messages */
.error, .multi-select-error { 
    color: #dc3545; 
    font-size: 0.875rem; 
    margin-top: 0.25rem; 
}

/* Success and Error containers */
#successMessage, #errorMessage {
    max-width: 600px;
    margin: 0 auto; 
    padding: 2rem;
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Success Message Container */
#successMessage {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}
#successMessage h4, #successMessage h3, #successMessage .subTitL {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #002c5f;
    font-weight: 700;
}
#successMessage .conAreaM p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}
#successMessage .conAreaM p strong {
    color: #002c5f;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.3rem;
}
#successMessage .app-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.75rem 0;
}
#successMessage a {
    color: #0066cc;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s;
}
#successMessage a:hover { color: #004c99; }
#successMessage .T\&C, #successMessage .TandC {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    #successMessage { padding: 1.5rem; }
    #successMessage h4, #successMessage h3, #successMessage .subTitL { font-size: 2rem; }
    #successMessage .conAreaM p { font-size: 1rem; line-height: 1.5; }
}

/* ========== Responsive Styling ========== */
@media (max-width: 768px) {
    .survey-title { 
        font-size: 1.75rem; 
    }
    
    .survey-question-container {
        padding: 1.2rem 3vw;
        max-width: 96vw;
        margin-left: 2vw;
        margin-right: 2vw;
    }
    
    .question-title { 
        font-size: 1rem; 
    }
    
    .checkbox-option, .radio-option { 
        margin-bottom: 1rem; 
    }
    
    .checkbox-option input[type="checkbox"], .radio-option input[type="radio"] { 
        width: 20px; 
        height: 20px; 
    }
    
    .checkbox-option label, .radio-option label { 
        font-size: 1rem; 
        line-height: 1.4; 
        padding: 2px 0; 
    }
    
    .other-specify-container { 
        padding-left: 20px; 
    }
} 

.sectionWrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.conTopTitWrap, .titBox, .conAreaM {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .sectionWrap .sectionInner {
        padding: 0 !important;
    }

} 

