.choice-tick-box {
    min-width: 30px;
    height: 50px;
    background: initial;
    border: none;
    color: #f0eaea;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    opacity: 0;
    /* transition: opacity 0.3s ease; */
}



.choice-option.selected .choice-tick-box {
    opacity: 1;
}

.choice-option:hover .choice-tick-box {
    background: initial;
    opacity: 1;
    border: none;

}

.choice-option:hover .choice-tick-box::after {
    color: #f0eaea;
}

.choice-tick-box::after {
    content: "✓";
   
    font-size: 14px;
    font-weight: 100;
    transform: scaleX(1.5);
}

/* Cover Page Layout */
.cover-page {
    display: flex;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #456376 0%, #2d4a5a 100%);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cover-left,
.cover-right {
    flex: 1;
}

.cover-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.cover-left .logo {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cover-left h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cover-tagline {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cover-start-btn {
    background: #e97b47;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.cover-start-btn:hover {
    background: #d16838;
    transform: scale(1.05);
}

.cover-start-btn .enter-hint {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 400;
}

.cover-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d4a5a;
    position: relative;
    padding: 50px;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile Responsive */
/* Responsive Design */
@media (max-width: 768px) {
    .cover-page {
        flex-direction: column;
    }

    .cover-left {
        padding: 40px;
        text-align: center;
        order: 2;
    }

    .cover-left .logo {
        position: relative;
        top: auto;
        left: auto;
        justify-content: center;
        margin-bottom: 20px;
    }

    .cover-left h1 {
        font-size: 36px;
    }

    .cover-right {
        order: 1;
        height: 300px;
        min-height: 300px;
    }

    .cover-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cover-start-btn {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .cover-left {
        padding: 20px;
    }

    .cover-left h1 {
        font-size: 28px;
    }

    .cover-right {
        height: 250px;
        min-height: 250px;
    }
}

@media (max-width: 320px) {
    .cover-left h1 {
        font-size: 24px;
    }

    .cover-right {
        height: 200px;
        min-height: 200px;
    }
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #456376;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

/* Logo Styles - Now handled in cover page */

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
    border-radius: 3px;
}

.progress-bar-fill {
    height: 100%;
    background: #e97b47;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Main Container */
.container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 40px 0;
}

.form-content {
    width: 100%;
    max-width: 600px;
    
    animation: fadeInUp 0.6s ease-out;
}

/* Question Styling */
.question {
    display: none;
}

.question.active {
    display: block;
}

.question-number {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}

.description {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 40px;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    margin-top: 40px;
}

.field-group {
    position: relative;
}

.field-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.field-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    font-weight: 300;
    padding: 12px 0;
    transition: border-color 0.3s ease;
}

.field-input:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.field-input.error {
    border-bottom-color: #d32f2f;
}

.field-input.valid {
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.field-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Choice Options */
.choice-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
}

.choice-container.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-container.three-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-option {
    display: flex;
    align-items: center;
    padding: 3px 2px 3px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #587384;
}

.choice-option.multi-line {
    align-items: center;
    padding: 12px;
}

.choice-option.full-width {
    grid-column: 1 / -1;
}

.choice-option:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: #6a8596;
}

.choice-option.selected {
    border-color: white;
    background: #587384;
}

.choice-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    margin-right: 12px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.choice-option:hover .choice-letter {
    border-color: rgba(255, 255, 255, 0.8);
}

.choice-option.selected .choice-letter {

    background: #304857;
    color: white;
}

.choice-text {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

/* Validation */
.validation-error {
    display: none;
    background: white;
    color: #d32f2f;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin: 20px auto 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ffcdd2;
    text-align: center;
    width: fit-content;
}

.validation-error::before {
    content: "⚠";
    margin-right: 8px;
    color: #d32f2f;
}

.validation-error.show {
    display: block;
}

/* Buttons */
.ok-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px 0 30px;
}

.ok-button {
    background: #e97b47;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ok-button:hover {
    background: #d16838;
    transform: scale(1.05);
}

.enter-hint {
    font-size: 14px;
    opacity: 0.7;
    color: white;
}

/* Navigation */
.navigation-arrows {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    /* Initially hidden until questionnaire starts */
    flex-direction: row;
    gap: 8px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    background: #e97b47;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.nav-arrow:hover {
    background: #d16838;
    transform: scale(1.05);
}

.nav-arrow:disabled {
    background: rgba(233, 123, 71, 0.3);
    cursor: not-allowed;
    transform: none;
}

/* Shake animation for max selections reached */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        top: 20px;
        left: 20px;
        font-size: 16px;
    }

    .progress-container {
        top: 60px;
        width: 70%;
    }

    .container {
        padding: 90px 20px 0;
    }

    .choice-container.two-column,
    .choice-container.three-column {
        grid-template-columns: 1fr;
    }
}

/* Loading indicator */
.loading {
    text-align: center;
    opacity: 0.7;
    margin: 20px 0;
}

/* Other input styling */
.other-input {
    width: 150px !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .other-input {
        width: 120px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .other-input {
        width: 100px !important;
        max-width: 100px !important;
        font-size: 14px !important;
    }
}