/* Questions Page Specific Styles */
.questions-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px 0 60px;
}

.questions-header {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.logo-container-small {
    margin-bottom: 20px;
}

.logo-small {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.questions-main-title {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Assistant', sans-serif;
}

.questions-subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
    font-family: 'Assistant', sans-serif;
}

.progress-container {
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 20%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    font-size: 1rem;
    color: #718096;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
}

.progress-text span {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
}

.question-container {
    background: white;
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-height: 500px;
    margin-bottom: 30px;
}

.question-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.question-step.active {
    display: block;
}

.question-number {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Assistant', sans-serif;
}

.question-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bank-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.option-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    padding: 24px 20px;
    font-size: 1.1rem;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn:hover {
    background: #f7fafc;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.option-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.option-btn.selected .option-icon {
    transform: scale(1.2);
}

.option-icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.option-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.bank-btn {
    min-height: 70px;
    padding: 20px;
}

.bank-btn .option-text {
    font-size: 1rem;
}

/* City Input */
.city-input-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.city-input {
    width: 100%;
    padding: 20px 24px;
    font-size: 1.15rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-align: right;
    font-family: 'Assistant', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.city-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fafafa;
}

.city-input::placeholder {
    color: #a0aec0;
}

.city-continue-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.15rem;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.city-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.city-continue-btn .arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.city-continue-btn:hover .arrow {
    transform: translateX(-5px);
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #667eea;
    border-top: none;
    border-radius: 0 0 16px 16px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.city-suggestions.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-suggestion-item {
    padding: 16px 24px;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
    text-align: right;
    font-family: 'Assistant', sans-serif;
    color: #2d3748;
    font-size: 1rem;
}

.city-suggestion-item:hover {
    background: #f7fafc;
    color: #667eea;
}

.city-suggestion-item:last-child {
    border-bottom: none;
}

/* Navigation */
.navigation-buttons {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.nav-btn {
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Assistant', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prev-btn {
    background: #e2e8f0;
    color: #4a5568;
}

.prev-btn:hover {
    background: #cbd5e0;
    transform: translateX(-3px);
}

.prev-btn .arrow-back {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.prev-btn:hover .arrow-back {
    transform: translateX(-3px);
}

/* Result Page */
#result-page {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

#result-page.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .questions-header {
        padding: 25px 20px;
    }

    .logo-small {
        max-width: 120px;
    }

    .questions-main-title {
        font-size: 1.6rem;
    }

    .questions-subtitle {
        font-size: 1rem;
    }

    .progress-container {
        padding: 20px;
    }

    .question-container {
        padding: 35px 25px;
        min-height: 450px;
    }

    .question-title {
        font-size: 1.3rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .option-btn {
        padding: 20px;
        min-height: 70px;
    }

    .city-input {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .bank-grid {
        grid-template-columns: 1fr;
    }

    .question-title {
        font-size: 1.15rem;
    }

    .option-btn {
        padding: 18px;
        font-size: 1rem;
    }
}
