    /* ===== دکمه عضویت/ورود ===== */
.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #0a0a0c;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    color: #0a0a0c;
}

/* ===== دکمه پروفایل کاربر ===== */
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-profile:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-profile i {
    font-size: 1.1rem;
    color: var(--gold-primary);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: #ff6b6b;
    border: 1.5px solid #ff6b6b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== مودال ===== */
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    color: var(--text-primary);
}

.modal-header {
    border-bottom-color: var(--card-border);
    padding: 20px 25px;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.modal-header .btn-close {
    filter: invert(1);
}

body.light-mode .modal-header .btn-close {
    filter: none;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-control {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 10px 14px;
}

.modal-body .form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.modal-body .input-group-text {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    border-radius: 12px 0 0 12px;
}

.modal-body .input-group .form-control {
    border-radius: 0 12px 12px 0;
}

.modal-body .form-text {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.modal-body .text-gold {
    color: var(--gold-primary);
    text-decoration: none;
}

.modal-body .text-gold:hover {
    color: var(--gold-secondary);
}

.modal-body .form-check-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .btn-auth span {
        display: none;
    }
    
    .btn-auth {
        padding: 8px 12px;
    }
    
    .btn-profile span {
        display: none;
    }
    
    .btn-profile {
        padding: 8px 12px;
    }
    
    .user-profile-btn {
        gap: 4px;
    }
}/* ===== استایل شماره موبایل ===== */
.mobile-number {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    display: inline-block !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    font-size: 1.05rem !important;
    color: #C9A96E !important;
    background: rgba(201, 169, 110, 0.1) !important;
    padding: 2px 12px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(201, 169, 110, 0.2) !important;
    min-width: 140px !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
}

/* ===== برای اطمینان بیشتر ===== */
#loginMobileDisplay,
#registerMobileDisplay {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
}

