/* ==========================================================================
   CSIT KNOWLEDGE HUB - PREMIUM GLOBAL CORE ECOSYSTEM
   [ Common Code Extracted from Admin, Faculty, Student & Home ]
   ========================================================================== */
.landing-brand-logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.landing-brand-logo img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.landing-brand-logo span{
    font-size:2rem;
    font-weight:700;
    color:#fff;
}
:root {
    /* Premium Cyberpunk Theme Color Matrix */
    --bg: #09090b;            /* Deep Space Black */
    --bg-darker: #040405;     /* Darker Onyx for Inputs/Sidebar */
    --card: #111111;          /* Elevated Industrial Card Background */
    --card-hover: #161616;    /* Interactive Cyber Hover state */
    --yellow: #ffd60a;        /* Cyber Gold Accent */
    --yellow-hover: #ffea00;  /* Neon Glow Yellow */
    --white: #ffffff;
    --text: #e4e4e7;          /* Soft Gray Readable Body Text */
    --muted: #a1a1aa;         /* Subtle Subtext Gray */
    --border: rgba(250, 204, 21, 0.15); /* High-tech Border Line */
    --border-solid: #252525;   /* Secure Edge Lines */
    --danger: #ff4d4d;        /* Crimson Alarm Red */
    --success: #22c55e;       /* Safe Tech Green */
    
    /* Motion & Glow Framework */
    --shadow-glow: rgba(255, 214, 10, 0.08);
    --neon-glow: 0 0 15px rgba(255, 214, 10, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Constants */
    --edge-gap: 32px;         
    --edge-gap-mobile: 20px;  
    --sidebar-width: 260px;
}

/* ==========================================================================
   1. GLOBAL RESET & COPYRIGHT/ANTI-COPY SYSTEM
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    
    /* COPYRIGHT SECURITY: Prevents text selection across the site */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Anti-Theft Guardrails for Project Images */
img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Custom Copyright Toast Message (Triggered via Right-Click CSS Layer) */
body::after {
    content: "© CSIT Knowledge Hub. All Rights Reserved. Content Protection Enabled.";
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    color: var(--yellow);
    border: 1px solid var(--yellow);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--neon-glow);
    z-index: 99999;
    transition: bottom 0.4s ease-in-out;
    pointer-events: none;
}

/* Active State for Copyright Notice Popup */
body.show-copyright-notice::after {
    bottom: 24px;
}

/* ==========================================================================
   2. COMMON DASHBOARD & SECTION LAYOUTS
   ========================================================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 35px var(--edge-gap); 
    width: calc(100% - var(--sidebar-width));
    background: var(--bg);
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--edge-gap);
    padding-right: var(--edge-gap);
}

.section {
    padding: 60px 0; 
}

.divider, .auth-divider-margin {
    margin: 30px 0;
    border: none;
    border-top: 1px solid var(--border-solid);
    background: linear-gradient(to right, transparent, var(--border-solid), transparent);
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 15px;
}

.page-title {
    font-size: clamp(30px, 5vw, 38px);
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--muted);
    font-size: 15px;
}

/* ==========================================================================
   4. NAVIGATION ECOSYSTEM (UNIFIED)
   ========================================================================== */

/* SIDEBAR STRUCTURE */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: #000000;
    border-right: 1px solid var(--border-solid);
    padding: 25px 0;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.sidebar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--yellow);
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    padding: 0 25px 25px;
    border-bottom: 1px solid var(--border-solid);
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0 15px;
}

.sidebar ul li { margin-bottom: 4px; }

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.sidebar ul li a:hover, 
.sidebar ul li a.active {
    background: rgba(255, 214, 10, 0.08);
    color: var(--yellow);
    font-weight: 600;
}

/* NAVBAR (Top Navigation) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px var(--edge-gap);
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-solid);
    position: sticky;
    top: 0;
    z-index: 900;
}

/* MOBILE TOGGLE (Hidden by default, used for small screens) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 24px;
    cursor: pointer;
}

enu-toggle { display: block; }
/* ==========================================================================
   5. UNIFORM CARDS GRID & HOVER EFFECTS
   ========================================================================== */
.dashboard-grid, .cards-grid, .classroom-grid-main, .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; 
    padding: 16px 0;
}

/* Master Universal Card Code */
.card, .stat-card, .dashboard-card, .content-card, .profile-card, .class-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* CARDS HOVER SYSTEM: 3D Translate Upward + Neon Glow Ring */
.card:hover, .stat-card:hover, .dashboard-card:hover, 
.content-card:hover, .profile-card:hover, .class-card:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
    background: var(--card-hover);
    box-shadow: 0 12px 25px var(--shadow-glow), 0 0 30px rgba(255, 214, 10, 0.05);
}

/* Metrics inside Dashboard Cards */
.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

/* ==========================================================================
   6. GLOBAL BUTTONS ARCHITECTURE
   ========================================================================== */
.btn, .action-btn, .download-btn, .pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: none;
    transition: var(--transition-smooth);
}

/* Solid Yellow Button */
.btn-primary, .btn-yellow, .pay-btn, .download-btn {
    background: var(--yellow) !important;
    color: #000000 !important;
    border: 2px solid var(--yellow) !important;
}

.btn-primary:hover, .btn-yellow:hover, .pay-btn:hover, .download-btn:hover {
    background: transparent !important;
    color: var(--yellow) !important;
    transform: translateY(-3px);
    box-shadow: var(--neon-glow) !important;
}

/* Dark Outlined Button */
.btn-secondary, .btn-dark, .btn-cancel {
    background: #0d0d0d !important;
    color: var(--white) !important;
    border: 2px solid var(--border-solid) !important;
}

.btn-secondary:hover, .btn-dark:hover, .btn-cancel:hover {
    background: rgba(255, 214, 10, 0.04) !important;
    border-color: var(--yellow) !important;
    color: var(--yellow) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. FORM CONTROL ARCHITECTURE (INPUTS)
   ========================================================================== */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    color: #dddddd;
    margin-bottom: 8px;
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 14px 15px;
    background: var(--bg-darker);
    color: var(--white);
    border: 1px solid var(--border-solid);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 12px rgba(255, 214, 10, 0.15);
    background: #050505;
}

/* ==========================================================================
   8. HIGH-TECH DATA TABLES
   ========================================================================== */
.table-responsive, .table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-solid);
    border-radius: 20px;
    background: var(--card);
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 18px;
    color: var(--yellow);
    background: #151515;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-solid);
}

tbody tr {
    border-bottom: 1px solid var(--border-solid);
    transition: var(--transition-smooth);
}

tbody tr:hover {
    background: var(--card-hover);
}

td {
    padding: 18px;
    color: var(--text);
    font-size: 14px;
    vertical-align: middle; 
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (SIDEBAR BEHAVIOR)
   ========================================================================== */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    
    /* Sidebar show class (add this via JS) */
    .sidebar.active {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
        width: 100%;
        padding: 20px var(--edge-gap-mobile);
    }
}

@media print {

    body::after{
        display:none !important;
        content:none !important;
    }

    body{
        user-select:text !important;
    }

}