/* ==================== GENDER SELECTION PAGE ==================== */
.gender-selection {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}

/* هذا السطر الجديد يضمن ظهور الصفحة وترتيبها فقط عندما تكون نشطة (active) */
.gender-selection.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


.gender-selection-content {
    width: 100%;
    max-width: 400px;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4a853 0%, #e8c87a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

.logo-icon i {
    font-size: 36px;
    color: #1a1a2e;
}

.app-name {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.app-tagline {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

.gender-options {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.gender-options h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 8px;
}

.gender-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-bottom: 25px;
}

.gender-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gender-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
}

.gender-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
}

.gender-card.male {
    border-color: #d4a853;
}

.gender-card.male:hover {
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.gender-card.female {
    border-color: #d478a8;
}

.gender-card.female:hover {
    box-shadow: 0 10px 30px rgba(212, 120, 168, 0.3);
}

.gender-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gender-card.male .gender-icon {
    background: linear-gradient(135deg, #d4a853 0%, #e8c87a 100%);
}

.gender-card.female .gender-icon {
    background: linear-gradient(135deg, #d478a8 0%, #e8a0c8 100%);
}

.gender-icon i {
    font-size: 24px;
    color: #ffffff;
}

.gender-info {
    flex: 1;
}

.gender-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.gender-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.gender-arrow {
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.gender-card:hover .gender-arrow {
    transform: translateX(-5px);
    color: #ffffff;
}

.gender-footer {
    text-align: center;
    margin-top: 25px;
}

.gender-footer p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
