/* Global Variables & Reset */
:root {
    --primary-hue: 250;
    --primary-sat: 80%;
    --primary-light: 60%;

    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --accent: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --accent-hover: hsl(var(--primary-hue), var(--primary-sat), 50%);

    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
}


    .input-group{
        position:relative;
    }
    
    
    .input-group .input-group-append{
        position:absolute;
        right:0px;
        top: 0px;
        z-index: 2; 
    }
    .input-group .input-group-append .btn{
        height:38px;
        background:none;
    }

.blink-text {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.nav-link {
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Layout */
.container {
    max-width: 98%;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

.c-white {
    color: #fff !important
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    gap: 0.5rem;
    font-size: 12px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background-color: rgba(205, 24, 27, 0.8);
    color: #fff;
}

.btn-danger:hover {
    background-color: rgba(205, 24, 27, 1.00);
}

.btn-warning {
    background-color: rgba(253, 174, 26, 0.8);
    color: var(--text-main);
}

.btn-warning:hover {
    background-color: rgba(253, 174, 26, 1.00);
}

.btn-success {
    background-color: rgba(122, 204, 48, 0.8);
    color: var(--text-main);
}

.btn-success:hover {
    background-color: rgba(122, 204, 48, 1.00);
}

.btn-square {
    padding: 10px !important;
    font-size: 15px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 15px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    min-width: 70px;
}

select option {
    color: #000;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--accent);
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 0.5rem;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    line-height: normal;
}

.logo img {
    max-width: 220px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}


.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}

.gap-2 {
    gap: 0.5rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.badge-warning {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.badge-neutral {
    background: rgba(255, 255, 255, 1);
    color: #000;
}


/* Login Page Specific */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
}

.login-card {
    width: 100%;
    max-width: 400px;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Utilities */
.hidden {
    display: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.p-1 {
    padding: 0.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-black {
    color: black;
}

.rounded {
    border-radius: 0.25rem;
}

.border {
    border: 1px solid #ccc;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

text-transform: uppercase;
letter-spacing: 0.05em;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    line-height: normal;
}

.logo img {
    max-width: 220px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}


.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}

.gap-2 {
    gap: 0.5rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.badge-warning {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.badge-neutral {
    background: rgba(255, 255, 255, 1);
    color: #000;
}


/* Login Page Specific */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
}

.login-card {
    width: 100%;
    max-width: 400px;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Utilities */
.hidden {
    display: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.p-1 {
    padding: 0.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-black {
    color: black;
}

.rounded {
    border-radius: 0.25rem;
}

.border {
    border: 1px solid #ccc;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.text-gray-400 {
    color: #9ca3af;
}

.status-form {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
    min-width: 150px;
    z-index: 10;
}

/* Responsive Navigation */
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .container {
        padding: 0 1rem;
    }

    ``` .gap-2 {
        gap: 0.5rem;
    }

    .justify-between {
        justify-content: space-between;
    }

    .items-center {
        align-items: center;
    }

    .badge {
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .badge-success {
        background: rgba(34, 197, 94, 0.2);
        color: #4ade80;
    }

    .badge-warning {
        background: rgba(234, 179, 8, 0.2);
        color: #facc15;
    }

    .badge-danger {
        background: rgba(239, 68, 68, 0.2);
        color: #f87171;
    }

    .badge-neutral {
        background: rgba(255, 255, 255, 1);
        color: #000;
    }


    /* Login Page Specific */
    .login-page {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    }

    .login-card {
        width: 100%;
        max-width: 400px;
    }

    /* Alerts */
    .alert {
        padding: 1rem;
        border-radius: var(--radius);
        margin-bottom: 1rem;
        border: 1px solid transparent;
    }

    .alert-success {
        background: rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.2);
        color: #4ade80;
    }

    .alert-danger {
        background: rgba(239, 68, 68, 0.1);
        border-color: rgba(239, 68, 68, 0.2);
        color: #f87171;
    }

    /* Utilities */
    .hidden {
        display: none !important;
    }

    .cursor-pointer {
        cursor: pointer;
    }

    .block {
        display: block;
    }

    .w-full {
        width: 100%;
    }

    .p-1 {
        padding: 0.25rem;
    }

    .mb-1 {
        margin-bottom: 0.25rem;
    }

    .text-sm {
        font-size: 0.875rem;
    }

    .text-xs {
        font-size: 0.75rem;
    }

    .text-black {
        color: black;
    }

    .rounded {
        border-radius: 0.25rem;
    }

    .border {
        border: 1px solid #ccc;
    }

    .px-2 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .py-1 {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .mt-1 {
        margin-top: 0.25rem;
    }

    .text-gray-400 {
        color: #9ca3af;
    }

    .status-form {
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        padding: 0.5rem;
        border-radius: var(--radius);
        margin-top: 0.5rem;
        min-width: 150px;
        z-index: 10;
    }

    /* Responsive Navigation */
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--text-main);
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 1.5rem;
        cursor: pointer;
    }

    @media (max-width: 768px) {
        
        .quick-btns span{
            display:none;
        }
        
        .quick-btns .btn {
            padding:10px 10px;
            border-radius: 100px;
            width:40px;
            height: 40px;
            font-size: 17px;
        }
        
        .nav-toggle {
            display: block;
        }

        .nav-links {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--bg-card);
            flex-direction: column;
            padding: 1rem;
            border-bottom: 1px solid var(--glass-border);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            gap: 1rem;
            z-index: 1000;
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links a {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .container {
            padding: 0 1rem;
        }

        h1 {
            font-size: 1.8rem;
        }

        .logo img {
            max-width: 180px;
        }

        /* Responsive Filter Forms */
        .filter-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            align-items: end;
        }

        .filter-form .form-group {
            margin-bottom: 0;
            width: 100% !important;
            /* Override inline styles */
        }

        .filter-form input,
        .filter-form select {
            width: 100% !important;
        }

        /* Make the button group span full width or fit in grid */
        .filter-form .form-group:last-child {
            grid-column: span 2;
            display: flex;
            gap: 0.5rem;
        }

        .filter-form .form-group:last-child button,
        .filter-form .form-group:last-child a {
            flex: 1;
            justify-content: center;
        }
    }
    
    
