/*
    MODERN ADMIN STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

:root {
    --primary-color: #0d6efd; /* Vibrant Blue */
    --secondary-color: #6c757d; /* Muted Gray */
    --dark-bg: #212529; /* Dark Gray */
    --light-bg: #f8f9fa; /* Light Gray */
    --white: #fff;
    --sidebar-bg: #111827; /* Dark Navy */
    --sidebar-text: #d1d5db; /* Light Gray Text */
    --sidebar-hover-bg: #1f2937;
    --sidebar-active-bg: #0d6efd;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: #212529;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #6c757d;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: var(--white);
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--sidebar-bg);
    border-bottom: 1px solid #1f2937;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: var(--white);
    padding: 10px;
}

#sidebar ul li a {
    padding: 15px 20px;
    font-size: 1.1em;
    display: block;
    color: var(--sidebar-text);
    display: flex;
    align-items: center;
}

#sidebar ul li a span[data-feather] {
    margin-right: 15px;
    min-width: 20px;
    text-align: center;
}

#sidebar ul li a:hover {
    color: var(--white);
    background: var(--sidebar-hover-bg);
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: var(--white);
    background: var(--sidebar-active-bg);
    border-left: 3px solid var(--primary-color);
}



a[aria-expanded="true"].dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

ul[aria-expanded="false"] .fa-chevron-down {
    transform: rotate(180deg);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 45px !important;
    background: var(--sidebar-hover-bg);
}

#sidebar ul ul:not(.show) {
    display: none;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.table th {
    background-color: #f2f2f2;
}

/* ---------------------------------------------------
    LOGIN PAGE STYLE
----------------------------------------------------- */
.login-page {
    background-color: #1a1a2e;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    width: 400px;
    color: #fff;
}

.login-box h2 {
    margin-bottom: 30px;
    font-weight: 600;
}

.login-box .form-group label {
    color: #fff;
}

.login-box .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: #fff;
}

.login-box .form-control:focus {
    background: transparent;
    box-shadow: none;
    border-bottom-color: #fff;
}

.login-box .btn-primary {
    background: #e94560;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.login-box .btn-primary:hover {
    background: #c6324c;
}

