﻿﻿/* ========================================
   Questionnaire Suite - Shared Styles
   Common styles for Index, SelectLanguage, and other questionnaire pages
   ======================================== */

/* === SHARED RESET & BASE === */

/* === SHARED CONTAINER === */
.questionnaire-container,
.language-selection-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    overflow: hidden;
    flex: 1;
}

/* === SHARED CONTENT WRAPPER === */
.questionnaire-content,
.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1352px;
    margin: 0 auto;
}

/* === SHARED HEADER SECTION === */
.questionnaire-header,
.header-section {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    width: 100%;
}

/* === SHARED LOGO === */
.logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === SHARED TITLE STYLES === */
.questionnaire-title,
.main-title {
    font-size: 42px;
    line-height: 1.2;
    color: #5F97FB;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* === SHARED TEXT STYLES === */
.intro-text,
.panel-body,
.note-text {
    font-size: 16px;
    color: #445065;
    line-height: 1.5;
}

.intro-text h2,
.intro-text h3,
.panel-title {
    color: #445065;
    line-height: 1.2;
}

.intro-text h2,
.panel-title {
    font-size: 20px;
    margin: 32px 0 16px 0;
}

.intro-text h3 {
    font-size: 18px;
    margin: 24px 0 12px 0;
}

.intro-text p,
.panel-body p {
    margin-bottom: 16px;
}

.intro-text ol {
    padding-left: 20px;
    margin: 16px 0;
}

.intro-text li {
    margin-bottom: 8px;
}

.intro-text strong {
    font-weight: 500;
}

/* === SHARED BUTTON STYLES === */
.btn-continue {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 298px;
    height: 52px;
    background-color: #E1E2E6;
    border: none;
    border-radius: 54.5px;
    font-size: 16px;
    color: #ffffff;
    cursor: not-allowed;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-continue.enabled {
    background-color: #5F97FB;
    color: #ffffff;
    cursor: pointer;
}

.btn-continue.enabled:hover {
    background-color: #4a81e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(95, 151, 251, 0.3);
}

.btn-continue.enabled:active {
    transform: translateY(0);
}

/* === SHARED RESPONSIVE === */
@media (max-width: 1200px) {
    .questionnaire-content,
    .content-wrapper {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 992px) {
    .questionnaire-container,
    .language-selection-container {
        padding: 80px 40px 40px;
    }
    
    .questionnaire-content,
    .content-wrapper {
        gap: 40px;
    }
    
    .questionnaire-title,
    .main-title {
        font-size: 32px;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .questionnaire-container,
    .language-selection-container {
        padding: 60px 20px 30px;
    }
    
    .questionnaire-content,
    .content-wrapper {
        width: 90%;
    }
    
    .questionnaire-header,
    .header-section {
        gap: 24px;
    }
    
    .questionnaire-title,
    .main-title {
        font-size: 28px;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
    
    .background-pattern {
        display: none;
    }
    
    .intro-text,
    .panel-body,
    .note-text {
        font-size: 14px;
    }
    
    .panel-title,
    .intro-text h2 {
        font-size: 18px;
    }

    .btn-continue {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .questionnaire-content,
    .content-wrapper {
        width: 95%;
    }
}
