/* ========== نظام التصميم الحديث المبسط ========== */

/* إعدادات أساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========== الخلفية المتحركة ========== */
.bg-aurora {
    background: radial-gradient(1200px 600px at 10% 10%, rgba(59,130,246,.15), transparent 40%),
                radial-gradient(1000px 500px at 90% 20%, rgba(236,72,153,.15), transparent 45%),
                radial-gradient(900px 600px at 50% 100%, rgba(16,185,129,.18), transparent 50%),
                linear-gradient(135deg, #0f172a 0%, #111827 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.bg-aurora::before,
.bg-aurora::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .45;
    z-index: 0;
    animation: auroraFloat 12s ease-in-out infinite;
    pointer-events: none;
}

.bg-aurora::before { 
    width: 380px; 
    height: 380px; 
    background: linear-gradient(135deg, #60a5fa, #34d399); 
    top: -80px; 
    left: -80px; 
}

.bg-aurora::after { 
    width: 320px; 
    height: 320px; 
    background: linear-gradient(135deg, #f472b6, #f59e0b); 
    bottom: -60px; 
    right: -60px; 
    animation-delay: 2.5s; 
}

@keyframes auroraFloat { 
    0%,100% { transform: translateY(0) translateX(0) scale(1); } 
    50% { transform: translateY(18px) translateX(-10px) scale(1.04); } 
}

/* ========== البطاقات الزجاجية ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========== الأزرار المحسنة ========== */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ========== حقول النماذج ========== */
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== الجداول المحسنة ========== */
.table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

.table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ========== الهيدر الحديث ========== */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 80px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1300;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.5rem;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #60a5fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.menu-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    transform: scale(1.05);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    border-radius: 10px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* عنوان الصفحة الحالية */
.page-title {
    display: flex;
    align-items: center;
}

.page-title h1 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    position: relative;
}

.header-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.time-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.time-display:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.time-display:hover::before {
    left: 100%;
}

.time-display i {
    color: #60a5fa;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    animation: clockTick 2s ease-in-out infinite;
}

.time-display span {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes clockTick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.user-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.user-profile:hover::before {
    left: 100%;
}

.user-profile:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.user-profile:hover .user-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.user-profile:hover .user-name {
    color: #60a5fa;
}

.user-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-profile:hover .user-role {
    color: rgba(255, 255, 255, 0.8);
}

.user-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    margin-left: auto;
}

.user-profile:hover .user-arrow {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(2px);
}

.user-arrow i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.user-profile:hover .user-arrow i {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* ========== تم نقل أنماط القائمة الجانبية إلى sidebar.css ========== */

/* ========== المحتوى الرئيسي ========== */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    transition: all 0.3s ease;
}

.content-wrapper {
    padding: 0;
}

/* تم نقل أنماط حالة القائمة الجانبية إلى sidebar.css */

/* ========== الاستجابة للأجهزة المحمولة ========== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .header-brand .brand-text {
        display: none;
    }
    
    .user-details {
        display: none;
    }
    
    .time-display {
        padding: 0.5rem 0.75rem;
        font-size: 12px;
        min-width: 100px;
        border-radius: 15px;
    }
    
    .time-display i {
        font-size: 14px;
    }
    
    .header-divider {
        display: none;
    }
    
    /* تم نقل أنماط القائمة الجانبية للموبايل إلى sidebar.css */
}

@media (max-width: 480px) {
    .header-brand {
        gap: 0.5rem;
    }
    
    .time-display {
        padding: 0.4rem 0.6rem;
        font-size: 11px;
        min-width: 80px;
        gap: 0.5rem;
    }
    
    .time-display i {
        font-size: 12px;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .header-actions {
        gap: 0.25rem;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ========== بطاقات الإحصائيات ========== */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem;
    width: 100%;
}

/* التجاوب مع الشاشات المختلفة */
@media (min-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stats-card {
        padding: 1.25rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    .stats-label {
        font-size: 0.85rem;
    }
}

.stats-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.stats-card:hover::before {
    left: 100%;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.4);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ألوان مختلفة للبطاقات */
.stats-card.blue .stats-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stats-card.green .stats-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stats-card.purple .stats-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stats-card.orange .stats-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stats-card.red .stats-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stats-card.indigo .stats-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* بطاقة الترحيب */
.welcome-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    animation: welcomeGlow 8s ease-in-out infinite;
}

@keyframes welcomeGlow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.welcome-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.welcome-emoji {
    font-size: 5rem;
    opacity: 0.8;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* بطاقة الإجراءات السريعة */
.quick-actions {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.quick-actions h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.quick-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quick-btn.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-btn.info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* ========== صفحات الفنانين ========== */
.add-artist-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #60a5fa;
    font-size: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-actions .btn-gradient {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* تحسينات للجداول في صفحات الفنانين */
.table th {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table td {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* تحديد أحجام الصور في الجداول */
.table img {
    max-width: 50px;
    max-height: 50px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table .avatar img {
    border-radius: 50%;
}

.table .rounded {
    border-radius: 8px !important;
}

.table .rounded-circle {
    border-radius: 50% !important;
}

/* تحسينات أزرار الجداول */
.table .btn-gradient {
    padding: 0.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    min-width: 36px;
    min-height: 36px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.table .btn-gradient.info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.table .btn-gradient.info:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
}

.table .btn-gradient:not(.info):not([style*="background"]) {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.table .btn-gradient:not(.info):not([style*="background"]):hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
}

.table .btn-gradient[style*="ef4444"] {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.table .btn-gradient[style*="ef4444"]:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}

.table .d-flex.gap-2 {
    gap: 0.5rem !important;
    justify-content: center;
}

/* تحسينات للأيقونات داخل الأزرار */
.table .btn-gradient i {
    font-size: 1rem;
    color: white;
}

/* تأثيرات إضافية للأزرار */
.table .btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* تأثير النبضة للأزرار المهمة */
.table .btn-gradient[style*="ef4444"]:hover {
    animation: pulse-danger 0.6s ease-in-out;
}

@keyframes pulse-danger {
    0% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5); }
    100% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
}

/* تحسين المسافات بين الأزرار */
.table td .d-flex {
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

/* تحسين الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .table .btn-gradient {
        min-width: 32px;
        min-height: 32px;
        padding: 0.4rem !important;
    }
    
    .table .btn-gradient i {
        font-size: 0.875rem;
    }
    
    .table .d-flex.gap-2 {
        gap: 0.25rem !important;
    }
}

/* تحسينات لقائمة الفنانين */
.artist-checkbox {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artist-checkbox:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.artist-checkbox input:checked + label {
    color: #60a5fa;
    font-weight: 600;
}

.artist-checkbox:has(input:checked) {
    background: rgba(96, 165, 250, 0.15);
    border-color: #60a5fa;
}

.artist-checkbox .form-check-label {
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
    cursor: pointer;
}

.artist-checkbox .form-check-input {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.artist-checkbox .form-check-input:checked {
    background-color: #60a5fa;
    border-color: #60a5fa;
}

.card-header.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h6 {
    color: rgba(255, 255, 255, 0.9);
}

.card-body {
    background: rgba(255, 255, 255, 0.03);
}

/* تحسينات للحقول */
.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== أدوات مساعدة ========== */
.container-fluid {
    width: 100%;
    padding: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* ========== بطاقات المعلومات المحسنة ========== */
.info-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.info-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-icon.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-icon.bg-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-icon.bg-info {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.info-icon.bg-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.info-icon.bg-secondary {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.info-icon.bg-purple {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.info-content {
    flex: 1;
}

.info-content label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    word-break: break-word;
}

/* ========== بطاقات الإحصائيات المحسنة - تم حذف التعريف المتعارض ========== */

/* ========== بطاقة الأنشطة ========== */
.activity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.activity-header {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    font-weight: 600;
    color: white;
}

.activity-header i {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.activity-content {
    padding: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.activity-icon i {
    font-size: 1.1rem;
    color: white;
}

.activity-icon.bg-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-icon.bg-info {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.activity-icon.bg-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== التصميم الجديد للبروفايل ========== */
.modern-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* غلاف البروفايل */
.profile-cover {
    position: relative;
    background: linear-gradient(135deg, 
        #6b7280 0%, 
        #4b5563 25%, 
        #374151 50%, 
        #1f2937 75%, 
        #111827 100%);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 4rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.cover-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(1px);
}

.profile-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* صورة البروفايل */
.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar img,
.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.7);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    object-fit: cover;
}

.avatar-placeholder {
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.avatar-placeholder i {
    font-size: 4rem;
    color: white;
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.status-indicator.online {
    background: #10b981;
}

.status-indicator.offline {
    background: #6b7280;
}

/* معلومات البروفايل */
.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.profile-username {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 0.25rem;
    font-weight: 500;
}

.profile-email {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1rem;
}

/* حاوي الشارات والأزرار */
.profile-badges-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-status,
.badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.badge-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-status.inactive {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.badge-admin {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* أزرار الإجراءات */
.profile-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    color: white;
}

.action-btn.primary {
    background: rgba(59, 130, 246, 0.2);
}

.action-btn.danger {
    background: rgba(239, 68, 68, 0.2);
}

.action-btn.secondary {
    background: rgba(107, 114, 128, 0.2);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
}

/* محتوى البروفايل */
.profile-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 24px 24px;
    backdrop-filter: blur(20px);
    padding: 2rem;
    margin-top: -2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* الإحصائيات السريعة */
.stats-overview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.section-title i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

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

.stat-icon.apps {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-icon.audios {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-icon.logins {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* تفاصيل الحساب */
.account-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.2rem;
    color: white;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* النشاط الأخير */
.recent-activity {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    grid-column: 1 / -1;
}

.activity-timeline {
    position: relative;
    padding-right: 2rem;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    right: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    right: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.1);
    z-index: 2;
}

.timeline-marker.login {
    background: #10b981;
}

.timeline-marker.update {
    background: #f59e0b;
}

.timeline-marker.created {
    background: #3b82f6;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    margin-left: 1rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .profile-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-info {
        min-width: auto;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .profile-badges-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .profile-actions {
        justify-content: center;
        width: 100%;
    }
    
    .action-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-cover {
        padding: 1rem 1rem 3rem;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
}

/* ========== أزرار الإجراءات المحسنة ========== */
.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem 0;
}

.action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    backdrop-filter: blur(20px);
    overflow: hidden;
    min-width: 160px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.action-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.1);
}

.action-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

/* أنواع الأزرار */
.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.action-btn.danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border: 1px solid rgba(245, 101, 101, 0.3);
}

.action-btn.danger:hover {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    border-color: rgba(245, 101, 101, 0.5);
    box-shadow: 0 12px 40px rgba(245, 101, 101, 0.3);
}

.action-btn.secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    border: 1px solid rgba(113, 128, 150, 0.3);
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    border-color: rgba(113, 128, 150, 0.5);
    box-shadow: 0 12px 40px rgba(113, 128, 150, 0.3);
}

.action-btn.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.action-btn.success:hover {
    background: linear-gradient(135deg, #68d391 0%, #48bb78 100%);
    border-color: rgba(72, 187, 120, 0.5);
    box-shadow: 0 12px 40px rgba(72, 187, 120, 0.3);
}

.action-btn.warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    border: 1px solid rgba(237, 137, 54, 0.3);
}

.action-btn.warning:hover {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    border-color: rgba(237, 137, 54, 0.5);
    box-shadow: 0 12px 40px rgba(237, 137, 54, 0.3);
}

.action-btn.info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.action-btn.info:hover {
    background: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
    border-color: rgba(66, 153, 225, 0.5);
    box-shadow: 0 12px 40px rgba(66, 153, 225, 0.3);
}

/* تأثيرات خاصة للأزرار المهمة */
.action-btn.danger {
    position: relative;
}

.action-btn.danger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.action-btn.danger:hover::after {
    width: 100%;
    height: 100%;
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .action-btn {
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .action-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .action-btn i {
        font-size: 1.1rem;
    }
}

/* ========== تصميم صفحة البروفايل ========== */
.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

/* رفع الصور */
.image-upload-area {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.image-upload-area h6 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.preview-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.no-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.no-image i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-placeholder:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.upload-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.new-image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* شريط قوة كلمة المرور */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.strength-weak { 
    background: linear-gradient(90deg, #ef4444, #dc2626);
    width: 33%; 
}

.strength-medium { 
    background: linear-gradient(90deg, #f59e0b, #d97706);
    width: 66%; 
}

.strength-strong { 
    background: linear-gradient(90deg, #10b981, #059669);
    width: 100%; 
}

/* تحسينات للحقول */
.input-group .btn {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.input-group .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

/* تأثيرات الانتقال */
.form-section,
.info-card,
.user-profile-card,
.image-upload-area {
    transition: all 0.3s ease;
}

.form-section:hover,
.info-card:hover,
.user-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .image-upload-area {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .preview-image,
    .no-image,
    .upload-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .user-badges {
        justify-content: center;
        text-align: center;
    }
    
    .profile-header {
        text-align: center;
    }
}

/* ========== تحسينات صفحة البروفايل ========== */
.profile-avatar-img,
.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-badge.online {
    background: linear-gradient(135deg, #10b981, #059669);
}

.status-badge i {
    font-size: 0.8rem;
    color: white;
}

/* تحسين النصوص */
.user-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-username {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.3rem;
    font-weight: 500;
}

.user-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

.user-email i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* تحسين الشارات */
.admin-badge,
.id-badge,
.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

.id-badge {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.4);
}

.date-badge {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.4);
}

/* تحسين التخطيط */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(118, 75, 162, 0.08) 50%, 
        rgba(240, 147, 251, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar-section {
    flex-shrink: 0;
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.user-name-section {
    margin-bottom: 1rem;
}

.user-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .profile-avatar-img,
    .avatar-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .status-badge {
        width: 20px;
        height: 20px;
        bottom: 3px;
        right: 3px;
    }
    
    .status-badge i {
        font-size: 0.7rem;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .user-username {
        font-size: 0.9rem;
    }
    
    .user-email {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .user-badges {
        justify-content: center;
    }
    
    .admin-badge,
    .id-badge,
    .date-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ========== قسم الصورة المضغوط ========== */
.compact-image-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.current-image-compact,
.upload-section-compact {
    flex: 1;
}

.image-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.image-preview-compact {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.current-image-thumb,
.new-image-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.no-image-compact {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.no-image-compact i {
    font-size: 2rem;
}

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upload-controls .form-control {
    font-size: 0.85rem;
}

.upload-controls small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.new-preview-compact {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.new-preview-compact .new-image-thumb {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .compact-image-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .current-image-compact,
    .upload-section-compact {
        text-align: center;
    }
    
    .current-image-thumb,
    .new-image-thumb,
    .no-image-compact {
        width: 70px;
        height: 70px;
    }
    
    .no-image-compact i {
        font-size: 1.5rem;
    }
}

/* ========== معلومات الحساب المضغوطة ========== */
.account-info-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.info-item-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item-compact:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.info-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-small i {
    font-size: 1rem;
    color: white;
}

.info-text-compact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.info-label-small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.info-value-small {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .account-info-compact {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .info-item-compact {
        min-width: auto;
        padding: 0.6rem;
    }
    
    .info-icon-small {
        width: 32px;
        height: 32px;
    }
    
    .info-icon-small i {
        font-size: 0.9rem;
    }
    
    .info-label-small {
        font-size: 0.7rem;
    }
    
    .info-value-small {
        font-size: 0.85rem;
    }
}

/* ========== حقول كلمة المرور المضغوطة ========== */
.section-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    font-style: italic;
}

.password-fields-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.password-field-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.field-label-compact i {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.input-group-sm .form-control {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.input-group-sm .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.field-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* تحسين شريط قوة كلمة المرور */
.password-strength {
    height: 3px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .password-fields-compact {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .password-field-group {
        min-width: auto;
    }
    
    .field-label-compact {
        font-size: 0.8rem;
    }
    
    .field-label-compact i {
        font-size: 0.85rem;
    }
    
    .input-group-sm .form-control,
    .input-group-sm .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
    }
    
    .field-hint {
        font-size: 0.65rem;
    }
}

/* ========== إحصائيات لوحة التحكم ========== */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== قائمة المستخدم المنسدلة الجديدة ========== */
.user-profile-dropdown {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-avatar-image {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-avatar-fallback {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.user-name-simple {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.user-profile-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* القائمة المنسدلة */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(2px);
}

.dropdown-item i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #3b82f6;
}

.dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-item.logout-item:hover i {
    color: #ef4444;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0.75rem;
}

/* ========== عنوان الصفحة القابل للنقر ========== */
.page-title[onclick] {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.page-title[onclick]:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-title[onclick] h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title[onclick]:hover h1 {
    color: #60a5fa;
}

/* ========== عنوان الصفحة في الهيدر ========== */
.page-title-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
}

.page-title-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.page-title-header:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-title-header:hover::before {
    left: 100%;
}

.title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.title-icon i {
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.page-title-header:hover .title-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.page-title-header:hover .title-icon i {
    transform: scale(1.1);
}

.title-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.title-content h1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.title-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    transition: color 0.3s ease;
}

.page-title-header:hover .title-content h1 {
    color: #ffffff;
}

.page-title-header:hover .title-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* تأثير النقر */
.page-title-header:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* ========== عنوان الصفحة البسيط في الهيدر ========== */
.header-left .page-title {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.header-left .page-title:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-left .page-title h1 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-left .page-title:hover h1 {
    color: #ffffff;
}



/* ========== مجموعة التنقل المدمجة ========== */
.navigation-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0.56rem 0.5rem;
    gap: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-width: 250px;
    flex: 1;
    max-width: 300px;
    margin: 1rem 0;
}

.navigation-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.navigation-group:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.navigation-group:hover::before {
    left: 100%;
}

/* زر القائمة المدمج */
.navigation-group .menu-toggle-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(147, 51, 234, 0.15) 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.navigation-group .menu-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 51, 234, 0.25) 100%);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.navigation-group .menu-toggle-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.navigation-group .menu-toggle-btn:hover i {
    transform: rotate(180deg) scale(1.1);
}

/* فاصل التنقل */
.nav-divider {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0 1rem;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.navigation-group:hover .nav-divider {
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* عنوان الصفحة المدمج */
.page-title-integrated {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding:0.1rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.page-title-integrated:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title-icon-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.title-icon-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.title-icon-small i {
    font-size: 1.1rem;
    color: white;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.page-title-integrated:hover .title-icon-small {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
}

.page-title-integrated:hover .title-icon-small::before {
    opacity: 1;
}

.page-title-integrated:hover .title-icon-small i {
    transform: scale(1.1) rotate(5deg);
}

.page-title-integrated h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-title-integrated:hover h1 {
    color: #ffffff;
}

/* تأثير النقر للمجموعة */
.navigation-group:active {
    transform: translateY(1px);
    transition: transform 0.1s;
}

/* ========== الحكمة اليومية في الوسط ========== */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.daily-wisdom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    max-width: 500px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.daily-wisdom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.8s;
}

.daily-wisdom:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.daily-wisdom:hover::before {
    left: 100%;
}

.wisdom-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 50%, #f59e0b 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wisdom-icon i {
    font-size: 1rem;
    color: #1f2937;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.wisdom-icon .icon-fallback {
    font-size: 1rem;
    display: none;
    color: #1f2937;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* إظهار الأيقونة البديلة دائماً للاختبار */
.wisdom-icon .icon-fallback {
    display: inline !important;
}

.wisdom-icon i {
    display: none !important;
}

/* يمكن تفعيل هذا لاحقاً عند حل مشكلة Boxicons */
/*
.wisdom-icon i:not([class*="bx-"]) + .icon-fallback,
.wisdom-icon i[class="bx"] + .icon-fallback {
    display: inline;
}

.wisdom-icon i:not([class*="bx-"]) + .icon-fallback ~ i,
.wisdom-icon i[class="bx"] + .icon-fallback ~ i {
    display: none;
}
*/

.daily-wisdom:hover .wisdom-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 30%, #fbbf24 70%, #f59e0b 100%);
    border-color: #d97706;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.daily-wisdom:hover .wisdom-icon i,
.daily-wisdom:hover .wisdom-icon .icon-fallback {
    transform: scale(1.1);
}

.wisdom-content {
    flex: 1;
    overflow: hidden;
}

.wisdom-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.daily-wisdom:hover .wisdom-text {
    color: #ffffff;
}

/* تجاوب الحكمة اليومية */
@media (max-width: 1200px) {
    .header-center {
        padding: 0 1rem;
    }
    
    .daily-wisdom {
        max-width: 400px;
    }
    
    .wisdom-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-center {
        display: none;
    }
}
