/* 🌟 Modern Professional Dashboard ONLY */
body.dashboard {
    background: linear-gradient(135deg, #eef2f7, #f9fbff) !important;
    font-family: 'Inter', sans-serif !important;
    position: relative;
    overflow-x: hidden;
}
body.dashboard::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(79,172,254,0.08), transparent 35%),
                radial-gradient(circle at 80% 30%, rgba(118,75,162,0.08), transparent 35%),
                radial-gradient(circle at 60% 80%, rgba(0,242,254,0.08), transparent 40%);
    z-index: 0;
}
body.dashboard #wrapper .content {
    position: relative;
    z-index: 1;
}

/* 🔹 Dashboard Widgets */
body.dashboard .panel_s,
body.dashboard .widget,
body.dashboard .dashboard .widget {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    border-radius: 18px !important;
    padding: 20px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.35s ease;
}
body.dashboard .panel_s::before,
body.dashboard .widget::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(120deg, #4facfe, #436cf3, #00f2fe);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGradient 8s linear infinite;
}
body.dashboard .panel_s:hover,
body.dashboard .widget:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
}

/* 🔹 Dashboard Titles */
body.dashboard .dashboard .widget h4,
body.dashboard .dashboard .widget .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* 🔹 Stat Cards */
body.dashboard .stat-card {
    background: linear-gradient(135deg, #4facfe, #00c6ff) !important;
    color: #fff !important;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}
body.dashboard .stat-card span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
}
body.dashboard .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* 🔹 Keyframes */
@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
