 :root {
            --brand-purple: #8152C6;
            --brand-blue: #468CC9;
            --sidebar-width: 260px;
            --topbar-height: 80px;
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --glass-blur: blur(15px);
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            min-height: 100vh;
            color: white;
            background-color: #0f172a;
            background-image:
                radial-gradient(at 0% 0%, rgba(129, 82, 198, 0.3) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(70, 140, 201, 0.3) 0px, transparent 50%);
            background-attachment: fixed;
        }


 
        #sidebar {
            width: var(--sidebar-width);
            height: 100vh;
            position: fixed;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border-right: 1px solid var(--glass-border);
            transition: all 0.3s ease-in-out;
            z-index: 1050;
        }

        .sidebar-header {
            height: var(--topbar-height);
            display: flex;
            align-items: center;
            padding: 0 1.5rem;
            border-bottom: 1px solid var(--glass-border);
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.7);
            padding: 0.8rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: 0.3s;
            border-radius: 0 50px 50px 0;
            margin-right: 15px;
        }

        .nav-link:hover,
        .nav-link.active {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
            border-left: 4px solid var(--brand-purple);
        }

        #content {
            margin-left: var(--sidebar-width);
            width: calc(100% - var(--sidebar-width));
            transition: 0.3s;
        }

        .topbar {
            height: var(--topbar-height);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            border-bottom: 1px solid var(--glass-border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .card-glass {
            background: rgba(255, 255, 255, 0.07);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        }
       
        th.sorting_disabled::after {
  display: none !important;
}
#form-error {
  display: none;
  background-color: #ffe6e6;
  border: 1px solid #ff4d4d;
  color: #b30000;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
}

#error-list {
  margin: 0;
  padding-left: 20px;
}

#error-list li {
  margin-bottom: 5px;
}
        th.sorting_disabled::before {
  display: none !important;
}
table.dataTable thead th {
  padding-right: 10px !important;
}

table.dataTable thead th.sorting_disabled {
  background-image: none !important;
}
        /* .table {
            color: white;
        }

        .table thead th {
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid var(--glass-border);
            color: var(--brand-blue);
            font-weight: 600;
        }

        .table td {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        } */
        .btn-brand {
            background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(129, 82, 198, 0.3);
        }

        #sTable{
            padding-top:10px;
        }

        .btn-brand:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            color: white;
        }
        .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(129, 82, 198, 0.8);
    box-shadow: 0 0 0 4px rgba(129, 82, 198, 0.2);
    color: #fff;
    outline: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper .form-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 12px 40px 12px 14px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select-wrapper::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}
.select-wrapper .form-select:focus {
    border-color: rgba(129, 82, 198, 0.8);
    box-shadow: 0 0 0 4px rgba(129, 82, 198, 0.2);
    outline: none;
}
.form-select option {
    background-color: #0f172a;
    color: #ffffff;
}
/* container */
.status-toggle {
    display: inline-flex;
    gap: 6px;
}

/* hide radio */
.status-toggle input {
    display: none;
}

/* base button */
.status-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f1f5f9;
    color: #64748b;
    transition: 0.2s;
}

/* ACTIVE checked */
.status-btn.active input:checked {
    background: transparent;
}

/* when active selected */
.status-btn:has(input:checked) {
    color: #fff;
}

/* Active green */
.status-btn.active:has(input:checked) {
    background: #16a34a;
}

/* Inactive red */
.status-btn.inactive:has(input:checked) {
    background: #dc2626;
}

/* hover */
.status-btn:hover {
    transform: scale(1.05);
}


        @media (max-width: 992px) {
            #sidebar {
                left: -260px;
            }

            #sidebar.active {
                left: 0;
            }

            #content {
                margin-left: 0;
                width: 100%;
            }
        }