@import url(./Utality.css);
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* لون البوردر لما تقف على اي Input*/
.form-control:focus {
    border-color: #2c3e50 !important; 
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25) !important;
}


/* شريط الشعار العلوي */
.brand-bar {
    background-color: #2c3e50;
    z-index: 900;
    position: relative;
    border-bottom: 2px groove var(--primary-gradient) !important;
}

/* حجم صورة الشعار */
.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* لون/حجم نص الشعار */
.brand-title {
    color: #f8d568 !important;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-decoration: none;
    line-height: 1.2;
}

    .brand-title:hover {
        color: #fff !important;
        transform: scale(1.05);
        transition: all 0.3s ease;
    }

/* شريط التنقل الثانى */
.navbar {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    border-radius: 25px;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    position: relative;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #fff !important;
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .navbar-nav .nav-link i {
        margin-left: 8px;
    }

/* قائمة منسدلة للإعدادات */
.dropdown-menu {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: #333;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0 0.5rem;
}

    .dropdown-item:hover {
        background: var(--primary-gradient);
        color: white;
        transform: translateX(-5px);
    }

    .dropdown-item i {
        margin-left: 10px;
        width: 20px;
        text-align: center;
    }

.loading-spinner {
    display: none;
}

/* المحتوى الرئيسي */
.main-content {
    flex: 1;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem 0;
    min-height: 500px;
}

.page-title {
    color: #333;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

    .welcome-card h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .welcome-card p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

/* بطاقات الإحصائيات */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .stat-card.orders {
        border-left-color: #ff6b35;
    }

    .stat-card.revenue {
        border-left-color: #56ab2f;
    }

    .stat-card.customers {
        border-left-color: #f093fb;
    }

    .stat-card.menu-items {
        border-left-color: #4facfe;
    }

    .stat-card .icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-card .number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .stat-card .label {
        color: #666;
        font-weight: 500;
    }

/* التذييل */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h5 {
    color: #f8d568;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.6;
}

    .footer-section a:hover {
        color: #f8d568;
        transition: color 0.3s ease;
    }

.footer-section .social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

    .footer-section .social-links a:hover {
        transform: translateY(-3px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* تأثيرات الحركة */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* الاستجابة للهواتف المحمولة */
@media (max-width: 768px) {
    .brand-title {
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .welcome-card h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* تأثيرات إضافية */
.btn-custom {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
        color: white;
    }

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f5576c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

