:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #ffffff;
    --text-muted-color: #a0a0a0;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/background.jpg') no-repeat center center/cover;
    
    z-index: -1;
}

#splash-screen { display: flex; flex-direction: column;justify-content: center; align-items: center; height: 100vh; background-color: var(--background-color);}



.splash-logo {
    width: 100px;
    animation: fadeIn 1.5s ease-in-out;
}

#splash-screen h1 {
    font-size: 2rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px, 0px;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

#drawer-toggle, #notification-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.header-logo {
    height: 40px;
    margin: 0 10px;
}

.header-title {
    font-size: 1.2rem;
    font-weight: bold;
}

#drawer-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--surface-color);
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
}

#drawer-menu.open {
    left: 0;
}

#drawer-user-profile {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #444;
}

#drawer-user-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

#drawer-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

#drawer-options li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: background 0.2s;
}

#drawer-options li a:hover {
    background: var(--primary-color);
}

#app-content {
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
}

.table-container {
    overflow-x: auto;
    background: var(--surface-color);
    padding: 15px;
    border-radius: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}
th {
    background: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}
.modal-content {
    background-color: var(--surface-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Drawer Overlay Style */
#drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}