@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..300,0..1,-50..200');

:root {
    /* Colors */
    --bg-primary: rgb(255, 255, 255);
    --bg-opacity: 1;
    --foreground: 0, 0, 0;
    --danger: 220, 53, 69;
    --success: 38, 179, 3;
    --pending: 177, 161, 129;
    --info: 117, 155, 255;

    /* Typography */
    --text-xs: 12px;
    --text-sm: 14px;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;

    /* Borders */
    --border-color: rgba(var(--foreground), 0.1);
    --border-width: 1px;
    --rounded-sm: 6px;
    --rounded-md: 10px;

    /* Shadows */
    --shadow-sm: 0 0 2px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 0 80px 10px rgba(0, 0, 0, 0.030);

    /* Layout */
    --w-sidebar: 280px;
    --fields-container: 800px;
    --h-control: 36px;
    --h-component: 65px;
    --grid-scale: 180px;

    /* Transitions */
    --transition-all: 0.3s ease;
    --transition-collapse: max-height 0.3s ease-out, opacity 0.3s ease-out;
    --transition-focus: border-color 0.2s ease, box-shadow 0.2s ease;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
}

html, body {
    position: relative;
    width: 100%;
    height: 100%;
    color: rgba(var(--foreground), 0.8);
    background-color: var(--bg-primary);
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    font-weight: var(--font-normal);
}

.all_none { all: inherit; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: var(--font-medium);
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body div .m-0 {
    margin: 0;
}

form, p {
    margin: 0;
    padding: 0;
}

strong, b {
    font-weight: var(--font-semibold);
}

label, form label {
    font-size: calc(var(--text-sm) - 1px);
    margin-block: 1px;
    display: inline-block;
}

textarea {
    display: block;
    width: 100% !important;
}

.p-0 { padding: 0; }
.m-0 { margin: 0; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

/* Margin */
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.my-1 { margin-block: var(--space-1); }
.my-2 { margin-block: var(--space-2); }
.my-3 { margin-block: var(--space-3); }
.my-4 { margin-block: var(--space-4); }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }

/* Padding */
.py-1 { padding-block: var(--space-1); }
.py-2 { padding-block: var(--space-2); }
.py-3 { padding-block: var(--space-3); }
.px-1 { padding-inline: var(--space-1); }
.px-2 { padding-inline: var(--space-2); }
.px-3 { padding-inline: var(--space-3); }
.px-4 { padding-inline: var(--space-4); }
.px-6 { padding-inline: var(--space-6); }
.pr-2 { padding-right: var(--space-2); }
.pb-2 { padding-bottom: var(--space-2); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; top: 0; z-index: 1; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-column { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.row-reverse { flex-direction: row-reverse; }

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

/* Flexbox */
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.space-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

/* Position */
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

/* Overflow */
.overflow-auto { overflow: auto; }
.scroll { overflow: auto; }

/* Text */
.nowrap { white-space: nowrap; }
.wrap { flex-wrap: wrap; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.capitalize { text-transform: capitalize; }

.b-none { border: none !important; }
.border { border: var(--border-width) solid var(--border-color); }
.border-b { border-bottom: var(--border-width) solid var(--border-color); }
.border-t { border-top: var(--border-width) solid var(--border-color); }
.rounded-sm { border-radius: var(--rounded-sm); }
.rounded-md { border-radius: var(--rounded-md); }
.radius { border-radius: var(--rounded-sm); }

.font-xs { font-size: calc(var(--text-sm) - 1px); }
.font-sm { font-size: var(--text-sm); }
.font-md { font-size: 18px; }
.font-semibold { font-weight: var(--font-semibold); }
.cursor-pointer { cursor: pointer; }

.bg-primary { background: rgba(var(--success), 0.4); }
.bg-secondary { background: rgba(var(--foreground), 0.05); }
.bg-info { background: rgba(var(--info), 0.4); }
.bg-success { background: rgba(var(--success), 0.4); }
.bg-danger { background: rgba(var(--danger), 0.2); }
.bg-pending, .bg-hold { background: rgba(var(--pending), 0.5); }
.bg-light { background: rgba(var(--foreground), 0.1); }
.bg-dark { background: rgba(var(--foreground), 0.2); }
.bg-dribbble { background: rgba(var(--danger), 0.2); }

.accent-100 {
    background-color: var(--light-accent);
}

.btn {
    display: inline-flex;
    width: auto;
    height: var(--h-control);
    padding: 6px var(--space-3);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--rounded-sm);
    font: inherit;
    font-size: calc(var(--text-sm) - 1px);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: var(--transition-focus);
    align-items: center;

    label{
        opacity: 1 !important;
    }
}

.btn:hover { box-shadow: none; }

.btn:focus {
    box-shadow: 0 2px 0px 0px rgb(223 223 223);
}

.btn.primary {
    background: rgb(var(--accent));
    color: var(--bg-primary);
}

.btn.primary:hover {
    background: color-mix(in srgb, rgb(var(--accent)) 90%, transparent);
}

.btn.secondary {
    background: rgba(var(--foreground), 0.02);
    color: rgba(var(--foreground), 0.5);
}

.btn.secondary:hover {
    background: rgba(var(--foreground), 0.04);
}

.btn.success {
    background: rgba(var(--success), 1);
    color: var(--bg-primary);
}

.btn.danger {
    background: rgba(var(--danger), 1);
    color: var(--bg-primary);
}

.btn.pending {
    background: rgba(var(--pending), 1);
    color: var(--bg-primary);
}

.btn.btn-sm {
    height: auto;
}

.btn .material-symbols-rounded {
    font-size: 18px;
}

.icon-btn {
    width: 26px;
    height: 26px;
    background: var(--bg-primary);
    border: none !important;
    padding: 0;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    border-radius: var(--rounded-sm);
    cursor: pointer;
}

input, select, textarea, body .select2-container--default .select2-selection--multiple {
    width: 100%;
    height: var(--h-control);
    padding: 6px var(--space-3);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--rounded-sm);
    font: inherit;
    font-size: calc(var(--text-sm) - 1px);
    color: rgba(var(--foreground), 0.5);
    outline: none;
    transition: var(--transition-focus);
    display: inline-flex;
    align-items: center;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 2px 0px 0px rgb(223 223 223);
}

input[type="checkbox"] {
    width: auto;
}

input[type="date"], input[type="month"] {
    display: block;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(/static/assets/img/arrow.svg) no-repeat right var(--space-3) center / 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 25px;
}

input[type="search"] {
    background: url(/static/assets/img/search.svg) no-repeat var(--space-3) center / 12px;
    padding-left: 28px;
}

.dataTables_filter input[type="search"] {
    background: transparent;
    padding: 6px var(--space-3);
}

.form-group label {
    opacity: .8;
}

.form-control.is-invalid {
    border-color: rgba(var(--danger), 1);
}

.errorlist, .helptext, .invalid-feedback {
    font-size: 12px;
    color: rgba(var(--danger), 1);
    display: block;
    margin-top: 2px;
}

.span.required::after, .asterisk, .asteriskField {
    color: rgba(var(--danger), 1);
    margin-left: 2px;
}

.alert {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px;
    border-radius: var(--rounded-sm);
    border: 1px solid;
    margin-bottom: 12px;
    font-size: var(--text-sm);
}

.alert .close-btn, .alert [aria-label="close"] {
    font-size: 20px;
    cursor: pointer;
    line-height: 0;
    display: flex;
    align-items: center;
}

.alert-success {
    background: rgba(var(--success), 0.05);
    border-color: rgba(var(--success), 1);
    color: rgb(60, 118, 61);
}

.alert-info {
    background: rgb(217, 237, 247);
    border-color: rgb(126, 182, 193);
    color: rgb(49, 112, 143);
}

.alert-warning, .pending {
    background: rgba(var(--pending), 0.05);
    border-color: rgba(var(--pending), 0.1);
    color: rgb(138, 109, 59);
}

.alert-error, .alert-danger, .badge-danger {
    background: rgba(var(--danger), 0.05);
    border-color: rgba(var(--danger), 0.1);
    color: rgb(114, 28, 36);
}

.badge {
    font-size: calc(var(--text-xs) - 1px);
    padding: 2px 8px;
    border-radius: var(--rounded-md);
    display: inline-flex;
}

.badge-success {
    background: rgba(var(--success), 0.05);
    border-color: rgba(var(--success), 1);
    color: rgb(60, 118, 61);
}

.chips {
    display: inline-flex;
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 12px;
    background: rgb(243 243 243);
    margin: 1px;
    gap: var(--space-2);
    font-weight: var(--font-medium);
}

.card {
    padding: var(--space-3);
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-primary);
}

.card.larger {
    padding: var(--space-4);
}

.table-design {
    border-radius: var(--rounded-sm);
    overflow: auto;
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-primary);
    width: 100%;
    border-spacing: inherit;
}

.table-design table {
    width: 100%;
    border-spacing: inherit;
    margin: 0 !important;
}

.table-design a {
    font-weight: var(--font-semibold);
}

.table-design thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-design th, .table-design td {
    padding: 8px 10px;
    font-size: calc(var(--text-sm) - 1px);
    border-bottom: var(--border-width) solid var(--border-color);
    text-align: left;
}

.table-design th {
    border: none !important;
    background: var(--light-accent);
    font-weight: var(--font-semibold);
    white-space: nowrap;
}

.table-design th:first-child {
    min-width: auto;
}

.table-design tr:last-child td {
    border: none;
}

.wrap-text {
    word-break: break-word;
    max-width: 300px;
    min-width: 300px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(var(--foreground), 0.3);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.modal-box {
    background: var(--bg-primary);
    margin: 20px auto;
    padding: 18px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transform: scale(0.9);
    opacity: 0;
    transition: 0.2s ease;
    max-width: 95%;
    min-width: 300px;
}

.modal-md {
    max-width: 50rem;
}

.modal-header {
    display: flex;
    text-align: left;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal-header h3 {
    line-height: 1.3;
}

.modal-header .modal-close {
    all: inherit;
    font-size: 20px;
    cursor: pointer;
    margin: 0;
    line-height: 1.2;
}

.modal-body {
    text-align: left;
    max-height: calc(100dvh - 200px);
    overflow: auto;
}

.modal-body p {
    font-size: var(--text-sm);
    line-height: 1.6;
    opacity: .8;
    word-break: break-word;
}

.modal-actions {
    margin-top: 10px;
}

.tabs-style {
    gap: 5px;
}

.tabs-style .nav-link.active {
    opacity: 1;
    color: rgba(var(--foreground), 1);
    background: rgba(var(--foreground), 0.08);
}

.tab-content {
    margin-top: 15px;
    display: none;
}

.tab-content.active {
    display: block;
}

.dropdown-relative {
    position: relative;
    display: inline-block;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    border-radius: var(--rounded-md);
    padding: 20px;
    z-index: 100;
    transition: all 0.3s ease;
    min-width: 240px;
    border: var(--border-width) solid var(--border-color);
    height: auto !important;
}

.custom-dropdown-menu.show {
    display: block;
}

.custom-dropdown-menu ul.menus {
    padding: 0;
    height: auto;
    margin-top: 15px;
    border-top: var(--border-width) solid var(--border-color);
    padding-top: 10px;
}

.progress {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(var(--foreground), 0.04);
    min-width: 250px;
}

.progress-bar {
    height: 100%;
    font-size: smaller;
    font-weight: 500;
    padding-left: 5px;
    padding-top: 2px;
    white-space: nowrap;
}

.progress-bar span {
    line-height: 1px;
}

.devider {
    font-size: var(--text-sm);
    position: relative;
}

.devider::before {
    width: 100%;
    height: 1px;
    position: absolute;
    content: '';
    background: rgba(var(--foreground), 0.1);
    z-index: 0;
    pointer-events: none;
}

.devider span {
    padding: 2px 12px;
    background: var(--bg-primary);
    position: relative;
    color: rgba(var(--foreground), 0.4);
}

.link {
    color: rgb(var(--accent));
    text-decoration: underline;
    font-size: var(--text-xs);
    transition: color 0.2s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.link:hover {
    opacity: .8;
}

.link.fix {
    position: absolute;
    right: 0;
    top: -22px;
}

.link .material-symbols-rounded {
    font-size: 18px;
}

.disabled, .readonly, [readonly] {
    pointer-events: none;
    opacity: 0.6;
    background: rgba(var(--foreground), 0.04);
}

.layout {
    display: flex;
}

.layout > .sidebar {
    border-right: var(--border-width) solid var(--border-color);
    padding: 0 var(--space-4);
    height: 100vh;
    position: fixed;
    background: var(--bg-primary);
    top: 0;
    z-index: 1;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.layout.full .menu-label {
    display: block;
}

.layout.full > .sidebar {
    min-width: var(--w-sidebar);
    width: var(--w-sidebar);
}

.sidebar .logo {
    height: var(--h-component);
    align-content: center;
}

.sidebar .logo a {
    display: flex;
}

.sidebar .logo img {
    width: auto;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    object-fit: contain;
}

.menus {
    padding-bottom: 10px;
    overflow: auto;
    scrollbar-width: none;
    flex: 1;
    margin-inline: -5px;
}

.menus li a {
    gap: var(--space-3);
    font-size: calc(var(--text-sm) - 1px);
    padding: 8px;
    border-radius: var(--rounded-sm);
    text-decoration: none;
    position: relative;
    opacity: .8;
    font-weight: var(--font-medium);
    display: flex;
    align-items: center;
}

.menus li a:focus-within, .menus li a.active {
    color: rgba(var(--foreground));
    opacity: 1;
    background: rgba(var(--foreground), 0.04);
}

.menus li a:focus-within .count-no, .menus li a.active .count-no {
    color: rgba(var(--foreground));
    opacity: 1;
}

.menus li a:hover {
    background: rgba(var(--foreground), 0.04);
}

.menus li a .material-symbols-rounded {
    width: 18px;
    text-align: right;
    font-size: 18px;
}

.content {
    width: 100%;
    padding: 0 var(--space-5);
    margin-left: var(--w-sidebar);
    padding-bottom: 10px;
}

.breadcrumbs {
    height: var(--h-component);
    margin-left: -10px;
    overflow: auto;
    white-space: nowrap;
    padding: 0;
    display: flex;
    align-items: center;
}

.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs a {
    gap: var(--space-1);
    font-size: calc(var(--text-sm) - 1px);
    padding: 8px;
    border-radius: var(--rounded-sm);
    opacity: 0.8;
    text-decoration: none;
    position: relative;
    transition: background 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    padding-left: 39px;
}

.menus .has-dropdown .dropdown-menu .dropdown-item a {
    padding: 4px 0;
    font-size: calc(var(--text-sm) - 1px);
}

.menus .has-dropdown .dropdown-menu .dropdown-item a:hover {
    background-color: transparent;
    color: rgba(var(--foreground));
}

.fields, .fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-scale), 1fr));
    gap: var(--space-2);
}

.fields div:has(label[for="id_text_content"]),
.fields-grid div:has(label[for="id_text_content"]) {
    grid-column: span 3;
}

.fields .group-btn, .fields-grid .group-btn {
    justify-content: flex-start;
}

.fields label, .fields-grid label {
    opacity: .8;
}

.fields .full, .fields-grid .full {
    grid-column: 1/-1;
}

form:has(.fields), .fields-container {
    max-width: var(--fields-container);
    width: 100%;
}

.form-check div, .form-check ul, .form-check div label, .form-check ul label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check div input, .form-check ul input {
    margin: 0;
    width: 20px;
}

.form-check div label, .form-check ul label {
    gap: 5px;
}

body:has(.hide-label) .hide-label {
    display: flex;
    opacity: 0;
    padding-bottom: 3px;
}

body .hide-label {
    display: block;
    opacity: 0;
}

.tile-style {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-3);
}

.tile-style a:hover {
    background: rgba(var(--foreground), 0.04);
}

.grid-height {
    min-height: 320px;
}

.grid-md {
    --grid-scale: 300px;
}

.grid-lg {
    --grid-scale: 400px;
}

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

.logo-title {
    align-items: center;
    width: 100%;
    justify-content: space-between;
    display: flex;
    margin-bottom: var(--space-4);
}

.field-title {
    font-weight: 300;
    opacity: .8;
    font-size: 22px;
}

.title-border {
    border-bottom: solid 1px var(--border-color);
    margin: calc(var(--space-4) * -1);
    padding: var(--space-2) var(--space-4);
    margin-bottom: 10px;
    font-size: var(--text-sm);
}

.h1title {
    font-size: 22px;
}

.h2title {
    font-size: 20px;
}

.hr {
    border-bottom: var(--border-width) solid var(--border-color);
    height: 10px;
    border-width: 1px;
    margin-bottom: 20px;
}

.tbl-overlay {
    margin: -10px calc(var(--space-4) * -1);
}

.tbl-overlay .table-design {
    border: none;
    border-bottom-left-radius: calc(var(--rounded-sm) + 2);
    border-bottom-right-radius: calc(var(--rounded-sm) + 2);
}

.col-sm-12:has(.table-design) {
    flex: 1;
    overflow: auto;
    display: grid;
    white-space: nowrap;
}

.profile-menu img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    margin-inline: auto;
    border: var(--border-width) solid var(--border-color);
    object-fit: cover;
}

.profile-menu h2 {
    text-align: center;
    font-size: large;
    margin: 0;
}

.profile-menu p {
    text-align: center;
    font-size: small;
    opacity: 0.8;
}

.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.text-clip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.close_icon, .close_menu {
    position: absolute;
    font-size: 16px;
    color: rgba(var(--danger), 1);
    right: 1px;
    top: 1px;
    cursor: pointer;
    background: var(--bg-primary);
}

.close_menu {
    border-radius: 0;
    right: 0;
    top: 0;
}

.homeburg {
    --menu-w: 30px;
    position: relative;
    background: var(--light-accent);
    z-index: 1;
    min-width: var(--menu-w);
    width: var(--menu-w);
    height: var(--menu-w);
    display: flex;
    align-items: center;
    justify-content: center;
}

.homeburg span {
    font-size: 22px;
}

.login-page, .signup-page, .change-password-page, .password-reset-page, .home, .apply-page, .list-page, body:has(.signup-page) {
    background-color: rgba(var(--foreground), 0.02);
    align-content: center;
}

.quiz-page .main {
    align-content: center;
    display: flex;
}

.quiz-form {
    align-content: center;
    display: flex;
}

:is(.login-page, .change-password-page) .main,
.quiz-form,
body:has(.otp) .main,
.component-card,
.change-password,
.signup-page .main,
.password-reset-page .main {
    max-width: 380px;
    margin: 20px auto;
    background-color: var(--bg-primary);
    border-radius: 1rem;
    border: solid var(--border-width) var(--border-color);
    padding: 2.5rem;
}

.signup-page .group-btn {
    justify-content: center;
}

:is(.login-page, .signup-page, .content-center, .change-password-page) .content,
body:has(.otp) .content,
.password-reset-page .content,
.apply-page .content,
body:has(.signup-page) .content {
    margin: 0;
}

.login-page .logo a, .signup-page .logo a {
    opacity: 1;
    padding: 0;
}

.login-page .breadcrumbs, .signup-page .breadcrumbs {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    text-align: center;
}

:is(.signup-page) .main {
    max-width: 1000px;
}

:is(.signup-page) .main .fields-container,
:is(.signup-page) .main form:has(.fields) {
    max-width: 100%;
}

.login-page .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-details .left {
    flex: 2;
}

:is(.login-page, .signup-page, .change-password-page) .sidebar,
.list-item .accordion-content,
.close_icon_menu.d-none,
.md-full .d-none,
.signup-page .breadcrumbs-alt,
.login-page .breadcrumbs-alt,
body:has(.list-item.active) .course-image,
.scroll_thumb_hide::-webkit-scrollbar,
body:has(.otp) .sidebar,
body:has(.otp) .navbar-container,
body .content.external-sharing .head-top,
body .content.external-sharing .page-heading .btn,
body .content.external-sharing .course-info,
body:has(.change-password) .head-top,
.mobi-btn .mobi-icon {
    display: none;
}

.arrange-btn .material-symbols-rounded {
    font-size: 22px;
}

.login-page .group-btn {
    margin-top: var(--space-4);
}

.btn-b-none .icon-btn {
    width: 22px;
    height: 22px;
}

body .underline_none {
    text-decoration: none;
}

.edit-profile-page .full:has(input#id_address) {
    grid-column: auto;
}

.review-form > div {
    margin-bottom: var(--space-2);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: var(--space-3);
    display: flex;
    font-size: 20px;
    width: 17px;
    opacity: .5;
    pointer-events: none
}

.d-block { display: block; }
.d-none { display: none; }

.no-data {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(var(--foreground), 0.02);
    border-radius: var(--rounded-md);
    opacity: .5;
}

.no-data-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
}

.no-data-title {
    margin-bottom: 5px;
    font-weight: 500;
}

.no-data-text {
    font-size: 16px;
    margin: 0;
}


@media (max-width: 1600px) {
    :root {
        --space-5: 20px;
        --w-sidebar: 200px;
        --text-sm: 13px;
        --h-component: 60px;
    }

    .content {
        padding-inline: 15px;
    }

    .card.larger {
        padding: var(--space-4);
    }

    .menus li a {
        padding-block: 6px;
    }

    .layout .sidebar {
        padding-inline: 15px;
    }

    .logo, .menus, .account-overview-main, .head-top, .heading-title, .pagination, .quiz, .zoom-effect, .tabs, .courses, .course-details, .page-heading {
        zoom: .9;
    }

    .h2title {
        font-size: 18px;
    }

    .h1title {
        font-size: 20px;
    }

    .tile-style {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 10px;
    }

    .form-header {
        zoom: .8;
    }
}

@media (max-width: 1400px) {
    label, form label {
        font-size: var(--text-sm);
    }

    .h1title {
        font-size: 18px;
    }

    :is(.login-page, .change-password-page) .main,
    .quiz-form, body:has(.otp) .main,
    .component-card, .change-password,
    .password-reset-page .main {
        max-width: 365px;
    }
}

@media (max-width: 1199px) {
    :root {
        --w-sidebar: 65px;
    }

    .layout .logo {
        text-align: center;
        height: 71px;
    }

    .layout .main-sidebar {
        transform: translateX(-100%);
        z-index: 999;
        transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .sidebar_active .main-sidebar {
        transform: translateX(0);
        width: 100%;
        box-shadow: var(--shadow-md);
        max-width: 280px;
    }

    .sidebar_active .close_icon_menu {
        display: block;
    }

    .sidebar_active .menu_icon {
        display: none;
    }

    :is(.menus) .menu-label, .md-full label, .md-full .d-none, .has-dropdown:hover .dropdown-menu {
        display: block;
    }

    .md-none {
        display: none;
    }

    .homeburg-style {
        border-bottom: solid 1px var(--border-color);
        padding: 14px var(--space-5);
        position: sticky;
        top: 0;
        background: var(--bg-primary);
        z-index: 9;
        box-shadow: var(--shadow-md);
        display: flex;
    }

    .homeburg-style .logo {
        height: auto;
    }

    .content {
        margin: 0;
    }

    .md-block, :is(.login-page, .signup-page) .breadcrumbs, .homeburg {
        display: flex;
    }

    .logo, .menus, .account-overview-main, .head-top, .heading-title, .pagination, .quiz, .zoom-effect, .tabs, .courses, .course-details, .page-heading {
        zoom: normal;
    }

    form:has(.fields), .fields-container {
        max-width: 100%;
    }

    .field-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .column-force {
        grid-column: auto;
        justify-content: center;
        margin: 0;
    }

    :root {
        --text-sm: 14px;
    }

    .layout .logo img {
        margin: 0;
    }

    .page-heading {
        max-width: 100% !important;
        padding: 0;
    }

    .fields, .apply-page .fields {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .fields div:has(label[for="id_text_content"]) {
        grid-column: auto;
    }

    .btn-w-full .btn {
        width: 100%;
    }

    .mobi-btn .mobi-icon {
        display: block;
    }

    .mobi-btn {
        justify-content: center;
        gap: 6px;
        flex: 1;
    }

    body:has(.hide-label) .hide-label {
        display: none;
    }

    .dataTables_filter {
        text-align: right !important;
    }

    .content-body {
        padding-bottom: 10px;
    }

    .fields .form-group {
        grid-column: auto !important;
    }
}

@media (max-width: 600px) {
    :root {
        --w-sidebar: 60px;
    }

    .dataTables_filter {
        margin-top: 0;
    }

    .field-title {
        font-size: 18px;
    }

    :is(.login-page, .change-password-page) .main,
    .quiz-form,
    body:has(.otp) .main,
    .component-card,
    .change-password,
    .signup-page .main {
        padding: 20px;
    }
}

.login-page *, .signup-page *, .change-password-page *, .password-reset-page * {
    zoom: normal;
}