/* =========================================================
   APP.CSS
   ADMIN DASHBOARD / WEB ADMIN
   ========================================================= */

/* =========================================================
   1. ROOT & VARIABLE
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;

    --secondary: #64748b;

    --success: #16a34a;
    --success-light: #dcfce7;

    --danger: #dc2626;
    --danger-light: #fee2e2;

    --warning: #d97706;
    --warning-light: #fef3c7;

    --info: #0891b2;
    --info-light: #cffafe;

    --dark: #0f172a;
    --dark-secondary: #1e293b;

    --white: #ffffff;

    --body-bg: #f1f5f9;
    --border-color: #e2e8f0;

    --text-dark: #1e293b;
    --text-muted: #64748b;

    --sidebar-width: 270px;
    --sidebar-width-mobile: 270px;

    --navbar-height: 70px;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 18px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);

    --transition: all 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background-color: var(--body-bg);
    color: var(--text-dark);

    font-size: 14px;
    line-height: 1.6;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: none;
    outline: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   3. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* =========================================================
   4. ADMIN WRAPPER
   ========================================================= */

.admin-wrapper {
    min-height: 100vh;
}


/* =========================================================
   5. SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #111827 100%
    );

    color: #ffffff;

    display: flex;
    flex-direction: column;

    z-index: 1050;

    transition: var(--transition);

    overflow-y: auto;

    box-shadow: var(--shadow);
}


/* =========================================================
   6. SIDEBAR HEADER / LOGO
   ========================================================= */

.sidebar-header {
    min-height: var(--navbar-height);

    display: flex;
    align-items: center;

    padding: 0 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 20px;
    font-weight: 700;

    color: #ffffff;
}

.sidebar-brand-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    border-radius: 12px;

    font-size: 20px;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.3);
}


/* =========================================================
   7. SIDEBAR MENU
   ========================================================= */

.sidebar-menu {
    padding: 20px 15px;

    flex: 1;
}

.menu-title {
    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #94a3b8;

    padding: 10px 15px;

    margin-top: 5px;
    margin-bottom: 5px;
}

.menu-item {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 15px;

    margin-bottom: 5px;

    color: #cbd5e1;

    border-radius: var(--radius-sm);

    transition: var(--transition);

    position: relative;

    font-size: 14px;
    font-weight: 500;
}

.menu-item i {
    width: 20px;

    font-size: 17px;

    text-align: center;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    transform: translateX(3px);
}

.menu-item.active {
    background: var(--primary);

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}

.menu-item.active::before {
    content: "";

    position: absolute;

    left: -15px;

    width: 4px;
    height: 25px;

    background: #ffffff;

    border-radius: 0 10px 10px 0;
}


/* =========================================================
   8. SIDEBAR FOOTER
   ========================================================= */

.sidebar-footer {
    padding: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user {
    display: flex;
    align-items: center;

    gap: 12px;
}

.sidebar-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    object-fit: cover;
}

.sidebar-user-info {
    flex: 1;

    overflow: hidden;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 12px;

    color: #94a3b8;
}


/* =========================================================
   9. MAIN CONTENT
   ========================================================= */

.main-content {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    transition: var(--transition);
}


/* =========================================================
   10. TOP NAVBAR
   ========================================================= */

.top-navbar {
    height: var(--navbar-height);

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;

    border-bottom:
        1px solid var(--border-color);

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow: var(--shadow-sm);
}

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

    gap: 20px;
}

.navbar-title {
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   11. SIDEBAR TOGGLE
   ========================================================= */

.sidebar-toggle {
    width: 42px;
    height: 42px;

    background: transparent;

    border-radius: var(--radius-sm);

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-dark);

    font-size: 20px;

    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--body-bg);

    color: var(--primary);
}


/* =========================================================
   12. NAVBAR SEARCH
   ========================================================= */

.nav-search {
    position: relative;
}

.nav-search input {
    width: 250px;

    height: 42px;

    padding:
        0 15px
        0 42px;

    border:
        1px solid var(--border-color);

    border-radius: 10px;

    outline: none;

    transition: var(--transition);

    background: #f8fafc;
}

.nav-search input:focus {
    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.nav-search i {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--text-muted);
}


/* =========================================================
   13. NOTIFICATION
   ========================================================= */

.nav-icon-btn {
    position: relative;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    color: var(--text-dark);

    transition: var(--transition);
}

.nav-icon-btn:hover {
    background: var(--body-bg);
}

.notification-badge {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--danger);

    border: 2px solid #ffffff;
}


/* =========================================================
   14. NAVBAR USER
   ========================================================= */

.nav-user {
    display: flex;
    align-items: center;

    gap: 10px;

    cursor: pointer;

    padding: 5px 10px;

    border-radius: var(--radius-sm);

    transition: var(--transition);
}

.nav-user:hover {
    background: var(--body-bg);
}

.nav-user img {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    object-fit: cover;
}

.nav-user-name {
    font-weight: 600;

    font-size: 14px;
}

.nav-user-role {
    font-size: 12px;

    color: var(--text-muted);
}


/* =========================================================
   15. PAGE CONTENT
   ========================================================= */

.content {
    padding: 30px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;

    color: var(--dark);
}

.page-subtitle {
    color: var(--text-muted);

    margin-top: 5px;
}


/* =========================================================
   16. STATISTIC CARDS
   ========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 30px;
}

.stat-card {
    background: #ffffff;

    border-radius: var(--radius);

    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: var(--shadow-sm);

    border:
        1px solid var(--border-color);

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.stat-card-info h4 {
    color: var(--text-muted);

    font-size: 13px;

    font-weight: 500;

    margin-bottom: 7px;
}

.stat-card-info h2 {
    font-size: 25px;

    font-weight: 700;
}

.stat-card-icon {
    width: 58px;
    height: 58px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.stat-primary {
    background: var(--primary-light);

    color: var(--primary);
}

.stat-success {
    background: var(--success-light);

    color: var(--success);
}

.stat-warning {
    background: var(--warning-light);

    color: var(--warning);
}

.stat-danger {
    background: var(--danger-light);

    color: var(--danger);
}

.stat-info {
    background: var(--info-light);

    color: var(--info);
}


/* =========================================================
   17. STATISTIC GROWTH
   ========================================================= */

.stat-growth {
    margin-top: 10px;

    font-size: 12px;

    display: flex;
    align-items: center;

    gap: 5px;
}

.stat-growth.up {
    color: var(--success);
}

.stat-growth.down {
    color: var(--danger);
}


/* =========================================================
   18. GRID CONTENT
   ========================================================= */

.content-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 20px;

    margin-bottom: 30px;
}


/* =========================================================
   19. CARD
   ========================================================= */

.card {
    background: #ffffff;

    border:
        1px solid var(--border-color);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    margin-bottom: 20px;

    overflow: hidden;
}

.card-header {
    padding: 20px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border-color);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    padding: 22px;
}

.card-footer {
    padding: 15px 22px;

    border-top:
        1px solid var(--border-color);

    background: #f8fafc;
}


/* =========================================================
   20. BUTTON
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);

    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);

    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-success {
    background: var(--success);

    color: #ffffff;
}

.btn-danger {
    background: var(--danger);

    color: #ffffff;
}

.btn-warning {
    background: var(--warning);

    color: #ffffff;
}

.btn-secondary {
    background: var(--secondary);

    color: #ffffff;
}

.btn-outline-primary {
    border:
        1px solid var(--primary);

    color: var(--primary);

    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);

    color: #ffffff;
}

.btn-sm {
    padding: 7px 12px;

    font-size: 12px;
}

.btn-lg {
    padding: 13px 25px;

    font-size: 16px;
}


/* =========================================================
   21. FORM
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;
}

.form-control {
    width: 100%;

    height: 45px;

    padding: 10px 14px;

    border:
        1px solid var(--border-color);

    border-radius: var(--radius-sm);

    background: #ffffff;

    color: var(--text-dark);

    outline: none;

    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    height: auto;

    min-height: 120px;

    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


/* =========================================================
   22. INPUT GROUP
   ========================================================= */

.input-group {
    display: flex;

    width: 100%;
}

.input-group-text {
    height: 45px;

    padding: 0 15px;

    display: flex;
    align-items: center;

    background: #f8fafc;

    border:
        1px solid var(--border-color);

    color: var(--text-muted);
}

.input-group .form-control {
    border-radius: 0;
}

.input-group-text:first-child {
    border-radius:
        var(--radius-sm)
        0
        0
        var(--radius-sm);

    border-right: none;
}

.input-group-text:last-child {
    border-radius:
        0
        var(--radius-sm)
        var(--radius-sm)
        0;

    border-left: none;
}


/* =========================================================
   23. CHECKBOX & RADIO
   ========================================================= */

.form-check {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}

.form-check-input {
    width: 17px;
    height: 17px;

    accent-color: var(--primary);

    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
}


/* =========================================================
   24. FORM ACTION
   ========================================================= */

.form-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-top: 10px;
}


/* =========================================================
   25. TABLE
   ========================================================= */

.table-responsive {
    width: 100%;

    overflow-x: auto;
}

.table {
    width: 100%;

    border-collapse: collapse;
}

.table th {
    text-align: left;

    padding: 14px 15px;

    font-size: 12px;

    text-transform: uppercase;

    color: var(--text-muted);

    background: #f8fafc;

    border-bottom:
        1px solid var(--border-color);
}

.table td {
    padding: 15px;

    border-bottom:
        1px solid var(--border-color);

    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: #f8fafc;
}

.table-avatar {
    display: flex;
    align-items: center;

    gap: 10px;
}

.table-avatar img {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    object-fit: cover;
}


/* =========================================================
   26. BADGE
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 600;
}

.badge-primary {
    background: var(--primary-light);

    color: var(--primary);
}

.badge-success {
    background: var(--success-light);

    color: var(--success);
}

.badge-danger {
    background: var(--danger-light);

    color: var(--danger);
}

.badge-warning {
    background: var(--warning-light);

    color: var(--warning);
}


/* =========================================================
   27. ALERT
   ========================================================= */

.alert {
    padding: 15px 18px;

    border-radius: var(--radius-sm);

    margin-bottom: 20px;

    display: flex;
    align-items: center;

    gap: 10px;
}

.alert-primary {
    background: var(--primary-light);

    color: var(--primary);
}

.alert-success {
    background: var(--success-light);

    color: var(--success);
}

.alert-danger {
    background: var(--danger-light);

    color: var(--danger);
}

.alert-warning {
    background: var(--warning-light);

    color: var(--warning);
}


/* =========================================================
   28. PROGRESS BAR
   ========================================================= */

.progress {
    width: 100%;

    height: 8px;

    background: #e2e8f0;

    border-radius: 20px;

    overflow: hidden;
}

.progress-bar {
    height: 100%;

    background: var(--primary);

    border-radius: inherit;

    transition: width 0.5s ease;
}


/* =========================================================
   29. LIST
   ========================================================= */

.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;

    gap: 15px;

    padding-bottom: 20px;

    position: relative;
}

.activity-item:last-child {
    padding-bottom: 0;
}

.activity-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
}

.activity-time {
    font-size: 12px;

    color: var(--text-muted);
}


/* =========================================================
   30. DROPDOWN
   ========================================================= */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    min-width: 180px;

    background: #ffffff;

    border:
        1px solid var(--border-color);

    border-radius: var(--radius-sm);

    box-shadow: var(--shadow);

    padding: 8px;

    display: none;

    z-index: 1100;
}

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

.dropdown-item {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border-radius: 6px;

    font-size: 13px;

    transition: var(--transition);
}

.dropdown-item:hover {
    background: #f1f5f9;

    color: var(--primary);
}


/* =========================================================
   31. MODAL
   ========================================================= */

.modal {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(15, 23, 42, 0.5);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 2000;
}

.modal.show {
    display: flex;
}

.modal-dialog {
    width: 100%;
    max-width: 550px;

    background: #ffffff;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);

    overflow: hidden;

    animation: modalAnimation 0.3s ease;
}

@keyframes modalAnimation {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;

    font-weight: 700;
}

.modal-close {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    cursor: pointer;

    background: #f1f5f9;

    font-size: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;

    display: flex;
    justify-content: flex-end;

    gap: 10px;

    border-top:
        1px solid var(--border-color);
}


/* =========================================================
   32. PAGINATION
   ========================================================= */

.pagination {
    display: flex;

    align-items: center;

    gap: 5px;

    list-style: none;
}

.page-link {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border-color);

    border-radius: var(--radius-sm);

    color: var(--text-dark);

    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary);

    color: #ffffff;

    border-color: var(--primary);
}


/* =========================================================
   33. EMPTY STATE
   ========================================================= */

.empty-state {
    text-align: center;

    padding: 50px 20px;

    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 50px;

    margin-bottom: 15px;

    color: #cbd5e1;
}

.empty-state h4 {
    color: var(--text-dark);

    margin-bottom: 8px;
}


/* =========================================================
   34. FOOTER
   ========================================================= */

.footer {
    padding: 20px 30px;

    color: var(--text-muted);

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   35. LOADING
   ========================================================= */

.loading-overlay {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(255, 255, 255, 0.8);

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 45px;
    height: 45px;

    border:
        4px solid #e2e8f0;

    border-top-color: var(--primary);

    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   36. UTILITIES
   ========================================================= */

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

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

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

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

.flex-column {
    flex-direction: column;
}

.gap-1 {
    gap: 5px;
}

.gap-2 {
    gap: 10px;
}

.gap-3 {
    gap: 15px;
}

.gap-4 {
    gap: 20px;
}

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

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-muted {
    color: var(--text-muted);
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 5px;
}

.p-2 {
    padding: 10px;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 20px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}


/* =========================================================
   37. RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   38. RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 992px) {

    .sidebar {
        transform:
            translateX(-100%);
    }

    .sidebar.show {
        transform:
            translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-overlay {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background:
            rgba(15, 23, 42, 0.5);

        display: none;

        z-index: 1040;
    }

    .sidebar-overlay.show {
        display: block;
    }

}


/* =========================================================
   39. RESPONSIVE SMALL MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .top-navbar {
        padding: 0 15px;
    }

    .content {
        padding: 20px 15px;
    }

    .nav-search {
        display: none;
    }

    .navbar-title {
        display: none;
    }

    .nav-user-info {
        display: none;
    }

    .page-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .page-title {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .card-body {
        padding: 15px;
    }

    .card-header {
        padding: 15px;
    }

    .table th,
    .table td {
        padding: 12px 10px;

        white-space: nowrap;
    }

}


/* =========================================================
   40. RESPONSIVE EXTRA SMALL
   ========================================================= */

@media (max-width: 480px) {

    .content {
        padding: 15px 10px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 17px;
    }

    .stat-card-info h2 {
        font-size: 22px;
    }

    .stat-card-icon {
        width: 50px;
        height: 50px;

        font-size: 20px;
    }

    .navbar-right {
        gap: 8px;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

}