﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ===== NAVBAR ===== */
.main-navbar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-weight: bold;
    color: #0d6efd !important;
    font-size: 20px;
}

.nav-link {
    font-size: 14px;
    margin: 0 5px;
    transition: 0.2s;
    border-radius: 8px;
}

    .nav-link:hover {
        background: #0d6efd;
        color: white !important;
    }



    /*====================Test=======================*/


/* ===== NOTIFICATION ===== */
.notif-badge {
    background: red;
    color: white;
    font-size: 11px;
    border-radius: 50%;
    padding: 2px 6px;
    position: relative;
    top: -8px;
    right: 3px;
}

/* ===== FOOTER ===== */
.footer {
    background: white;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #eee;
}

/* ===== MOBILE ===== */
@@media (max-width: 768px) {
    .nav-link {
        margin: 5px 0;
    }
}




.user-avatar {
    width: 32px;
    height: 32px;
    background: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===== MODERN DROPDOWN ===== */
.navbar .dropdown-menu {
    width: 280px; /* نفس العرض لكل القوائم */
    border: none;
    border-radius: 18px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    margin-top: 12px;
}

/* عنوان القائمة */
.dropdown-header {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    padding: 8px 12px;
}

/* العناصر */
.dropdown-item {
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all .2s ease;
    margin-bottom: 5px;
}

    /* Hover */
    .dropdown-item:hover {
        background: #eef4ff;
        color: #0d6efd;
        transform: translateX(-4px);
    }

/* divider */
.dropdown-divider {
    margin: 8px 0;
    opacity: .08;
}

.dropdown-menu {
    border: none !important;
}



/* divider تحسين */
.dropdown-divider {
    margin: 6px 0;
    opacity: 0.1;
}

/* header داخل dropdown (لو استخدمته) */
.dropdown-header {
    font-size: 12px;
    color: #888;
    padding: 6px 12px;
}


.notif-unread {
    background: #eef4ff;
    font-weight: bold;
}


.navbar {
    background: rgba(255,255,255,.95) !important;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    max-width: 1200px;
    margin: auto;
    margin-top: 15px;
    padding: 10px 30px;
}

.bg-dark,
.bg-primary {
    background: rgba(255,255,255,.95) !important;
}


.summer-page {
    background: #f4f7fc;
    font-family: Tahoma, sans-serif;
}