@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --font: "Rubik", sans-serif;
    --white-color: #fff;
    --black-color: #000;
    --black-50: rgba(0, 0, 0, 0.5);

    --body-color: #0F1F30;
    --muted-color: #5B7690;

    --primary-color: #00AFF0;
    --primary-dark: #0085C7;
    --primary-tint: #33C1F5;
    --primary-50: #E5F7FE;

    --assest-color: #E7EEF5;
    --border-color: #DCE6F0;

    --green-color: #16A34A;
    --green-50: #E7F8EE;
    --red-color: #DC2626;
    --red-50: #FDECEC;
    --red-deep: #BE2929;
    --warning-color: #D97706;
    --warning-50: #FEF3E0;

    --bg-color: #F4F8FB;
    --surface-color: #FFFFFF;
    --nav-surface-color: #FFFFFF;
    --nav-surface-alpha: rgba(255, 255, 255, .82);
    --active-nav-bg: #E5F7FE;
    --active-nav-color: #0085C7;
    --table-head-bg: #0F1F30;
    --table-head-color: #F4F8FB;
    --shadow-color: rgba(15, 31, 48, .08);
    --shadow-color-lg: rgba(15, 31, 48, .14);
    --ease: cubic-bezier(.4, 0, .2, 1);
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;

    /* RGB channels for rgba() gradients/shadows */
    --primary-rgb: 0, 175, 240;
    --red-rgb: 220, 38, 38;
    --white-rgb: 255, 255, 255;
}

[data-theme="dark"] {
    --body-color: #E8F1FA;
    --muted-color: #7C93B3;

    --primary-color: #33C1F5;
    --primary-dark: #0085C7;
    --primary-tint: #33C1F5;
    --primary-50: #12283D;

    --assest-color: #1A2C45;
    --border-color: #22314A;

    --green-color: #4ADE80;
    --green-50: rgba(74, 222, 128, .12);
    --red-color: #F87171;
    --red-50: rgba(248, 113, 113, .12);
    --red-deep: #991B1B;
    --warning-color: #FBBF24;
    --warning-50: rgba(251, 191, 36, .12);

    --bg-color: #0B1120;
    --surface-color: #131D30;
    --nav-surface-color: #0F1B2E;
    --nav-surface-alpha: rgba(15, 27, 46, .82);
    --active-nav-bg: #12283D;
    --active-nav-color: #33C1F5;
    --table-head-bg: #12283D;
    --table-head-color: #E8F1FA;
    --shadow-color: rgba(0, 0, 0, .45);
    --shadow-color-lg: rgba(0, 0, 0, .55);

    --primary-rgb: 51, 193, 245;
    --red-rgb: 248, 113, 113;
}

/* Motion */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

html,
body {
    height: 100%;
    overflow: auto;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--body-color);
    background-color: var(--bg-color);
    font-size: 14px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
}
.defaultfont {
    font-family: var(--font);
}
a {
    text-decoration: none !important;
}
.primary-color {
    color: var(--primary-color);
}
.primary-bg {
    background-color: var(--primary-color) !important;
}
.text-gray {
    color: var(--body-color);
    opacity: 0.6;
}
.btn:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}
.btn-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
    padding: 0 0 0px;
    border-radius: 0;
    font-size: 14px;
}
.btn-default {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--white-color);
    border: none;
    padding: 10px 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    -webkit-box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32);
    -webkit-transition: transform 150ms ease, box-shadow 200ms ease, background 200ms ease;
    transition: transform 150ms ease, box-shadow 200ms ease, background 200ms ease;
    position: relative;
    overflow: hidden;
}
.btn-default::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
    -webkit-transition: left 480ms ease;
    transition: left 480ms ease;
    pointer-events: none;
}
.btn-default:hover::after {
    left: 150%;
}
.btn-default:hover {
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.42);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.42);
    border-color: transparent;
}
.btn-default:active {
    transform: scale(0.97);
    -webkit-box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.28);
}
.btn-default:focus,
.btn-default:focus-visible {
    outline: none !important;
    -webkit-box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32) !important;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32) !important;
    color: var(--white-color) !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}
[data-theme="dark"] .btn-default {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.20);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.20);
}
[data-theme="dark"] .btn-default:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.24);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.24);
    color: var(--white-color);
}
.mw-120 {
    min-width: 120px;
}
.mw-150 {
    min-width: 150px;
}
.btn-icon {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--primary-color);
}
.dropright .dot-icon {
    height: 18px;
}
.dropright .dropdown-menu {
    top: 100% !important;
    right: 0;
    -webkit-transform: none !important;
    transform: none !important;
    left: auto !important;
}
.dropdown-menu {
    background: var(--surface-color);
    -webkit-box-shadow: 0 15px 35px var(--shadow-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.dropdown-menu .dropdown-item {
    color: var(--body-color);
    font-weight: 500;
    border-bottom: 2px dashed var(--assest-color);
    padding: 7px 11px;
    font-size: 14px;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: var(--active-nav-bg);
    color: var(--active-nav-color);
}
.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}
.profile-dropdown {
    min-width: 220px;
}
.side-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: transparent;
    padding: 0;
    border-radius: 8px;
    transition: background 0.2s var(--ease);
}
.side-toggle:hover {
    background: var(--active-nav-bg);
}
.side-toggle span {
    background: var(--primary-color);
    width: 22px;
    height: 3px;
    margin: 2px;
    border-radius: 50px;
    transition: all 0.3s var(--ease);
}
.side-toggle span:nth-child(2) {
    width: 26px;
}
.custom-control .custom-control-label::before {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
}
.custom-control .custom-control-input:checked~.custom-control-label::after {
    border-radius: 3px;
    background-color: var(--primary-color);
}
.custom-control.custom-radio .custom-control-label::before,
.custom-control.custom-radio .custom-control-label:after {
    border-radius: 50% !important;
}
.sidebar {
    background: var(--nav-surface-color);
    border-right: 1px solid var(--border-color);
    padding: 12px 0 20px 15px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 280px;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition: all 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    transition: all 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    z-index: 30;
    -webkit-animation: slideInLeft 0.45s var(--ease);
    animation: slideInLeft 0.45s var(--ease);
}
.sidebar .side-menu::-webkit-scrollbar {
    width: 4px;
}
.sidebar .side-menu::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 20px;
    -webkit-transition: background-color 0.2s var(--ease);
    transition: background-color 0.2s var(--ease);
}
.sidebar .side-menu:hover::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
}
.sidebar .side-menu::-webkit-scrollbar-track {
    background: transparent;
}
@media (min-width: 1680px) {
    .sidebar {
        width: 300px;
    }
}
.sidebar.hide-sidebar {
    width: 80px;
    padding: 26px 0px 30px 10px;
}
@media (min-width: 1024px) {
    .sidebar.hide-sidebar .side-menu {
        padding-right: 0;
    }
    .sidebar.hide-sidebar .side-menu .partition{
        display: none;
    }
    .sidebar.hide-sidebar .side-head {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 6px 0 5px 2px;
        width: 50px;
        padding: 0px 19px 18px 4px;
    }
    .sidebar.hide-sidebar .side-logo,
    .sidebar.hide-sidebar .partition,
    .sidebar.hide-sidebar .side-menu a>span {
        display: none;
    }
    .sidebar.hide-sidebar .side-menu .active a:after {
        content: none;
    }
    .sidebar.hide-sidebar .side-menu a {
        margin: 6px auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 13px 9px;
        height: 50px;
        width: 50px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .sidebar.hide-sidebar .side-menu a .menu-icon {
        margin-right: 0;
    }
    .sidebar.hide-sidebar .side-menu a.dropdown-toggle:after {
        content: none;
    }
    .sidebar.hide-sidebar .side-menu .dropdown-menu {
        margin-left: 0;
        min-width: unset;
        padding: 0;
    }
    .sidebar.hide-sidebar .side-menu .dropdown-menu a {
        padding: 0;
    }
    .sidebar.hide-sidebar .side-menu .dropdown-menu .active{
        padding: 0;
        margin: 0px;
    }
    .sidebar.hide-sidebar .side-menu .dropdown-menu a svg {
        margin-right: 0;
    }
}
@media (min-width: 1680px) {
    .sidebar.hide-sidebar .side-head {
        margin: -3px 0 5px 6px;
        padding: 0 9px 18px 4px;
    }
}
.sidebar .side-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 19px 18px 4px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
.sidebar .side-logo {
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}
.sidebar .side-logo-mark {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    font-size: 14px;
    -webkit-box-shadow: 0 4px 10px var(--shadow-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}
.sidebar .side-logo h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.sidebar .side-menu {
    padding: 0 15px 0 0;
    list-style: none;
    margin: 8px 0 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    scroll-behavior: smooth;
}
.sidebar .side-menu a {
    color: var(--muted-color);
    display: block;
    padding: 7px 10px;
    position: relative;
    margin: 3px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: var(--r-md);
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.sidebar .side-menu a .menu-icon {
    margin-right: 12px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 14px;
    background: var(--primary-50);
    color: var(--primary-color);
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.sidebar .side-menu .dropdown-menu a .submenu-icon {
    margin-right: 10px;
    width: 20px;
    flex-shrink: 0;
    font-size: 13px;
    text-align: center;
}
.sidebar .side-menu a:hover {
    color: var(--primary-color);
    background: var(--active-nav-bg);
    transform: translateX(2px);
}
.sidebar .side-menu .active a {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--r-md);
    color: var(--white-color);
    font-weight: 600;
    -webkit-box-shadow: 0 6px 16px var(--shadow-color);
    box-shadow: 0 6px 16px var(--shadow-color);
}
.sidebar .side-menu .active a .menu-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}
.sidebar .side-menu .dropdown-toggle::after {
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -2px;
    -webkit-transition: transform 0.25s var(--ease);
    transition: transform 0.25s var(--ease);
}
.sidebar .side-menu .dropdown-toggle[aria-expanded="true"]::after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.sidebar .side-menu .dropdown-menu {
    position: relative !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    float: none;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 4px 0 0 27px;
    padding: 2px 0;
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    -webkit-transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.35s;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.35s;
}
.sidebar .side-menu .dropdown-menu.show {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
}
.sidebar .side-menu .dropdown-menu .dropdown-item {
    background: transparent !important;
}
.side-foot {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-right: 15px;
    padding: 14px 10px;
    border-top: 1px solid var(--border-color);
    border-radius: var(--r-md);
    background: var(--assest-color);
}
.side-foot-avatar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    font-weight: 700;
    font-size: 14px;
}
.side-foot-info {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.side-foot-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-color);
}
.side-foot-role {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-color);
}
.side-foot-logout {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: var(--red-50);
    color: var(--red-color);
    -webkit-transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.side-foot-logout:hover {
    background: var(--red-color);
    color: var(--white-color);
    transform: translateY(-2px);
}
@media (min-width: 1024px) {
    .sidebar.hide-sidebar .side-foot-info,
    .sidebar.hide-sidebar .side-foot-logout {
        display: none;
    }
    .sidebar.hide-sidebar .side-foot {
        padding: 10px;
        margin-right: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}
.right-content {
    margin-left: 280px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.sidebar .side-menu .side-submenu a {
    color: var(--muted-color);
    display: block;
    padding: 8px 12px;
    position: relative;
    margin: 3px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.sidebar .side-menu .side-submenu .active {
    background: var(--active-nav-bg);
    border-radius: 8px;
    color: var(--active-nav-color);
    padding: 1px 0px;
}
.sidebar .side-menu .side-submenu a:hover {
    color: var(--primary-color);
    background: var(--active-nav-bg);
    transform: translateX(2px);
}
.sidebar .side-menu .side-submenu .active a:hover {
    color: var(--active-nav-color);
}
.sidebar .side-menu .side-submenu .active a {
    color: var(--active-nav-color);
    font-weight: 600;
    -webkit-box-shadow: none;
    box-shadow: none;
}
@media (min-width: 1680px) {
    .right-content {
        margin-left: 300px;
    }
}
.right-content.right-content-0 {
    margin-left: 80px;
}
.right-content.right-content-0 .header .title-control .side-toggle {
    display: none;
}
.header {
    position: sticky;
    -webkit-position: -webkit-sticky;
    top: 0;
    background: var(--nav-surface-alpha);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--border-color);
    -webkit-box-shadow: 0 1px 0 var(--shadow-color);
    box-shadow: 0 1px 0 var(--shadow-color);
    z-index: 22;
    padding: 14px 25px;
    -webkit-animation: slideInDown 0.4s var(--ease);
    animation: slideInDown 0.4s var(--ease);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@media (min-width: 1680px) {
    .header {
        padding: 14px 35px;
    }
}
.header .title-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.header .title-control .side-toggle {
    margin-right: 15px;
    display: none;
}
.header .page-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
    letter-spacing: -0.01em;
}
.header .input-group {
    border: 1px solid var(--assest-color);
    border-radius: 100px;
    width: 550px;
    max-width: 100%;
}
.header .input-group .input-group-text,
.header .input-group .form-control {
    background: transparent;
    border: 0;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}
.header .input-group .input-group-text img,
.header .input-group .form-control img {
    width: 20px;
    margin: 0 5px;
}
.header .input-group .form-control {
    font-size: 14px;
    padding: 12px 6px;
}
.header .side-logo {
    display: none;
}
.header .head-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.header .head-control .head-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    padding: 0;
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-left: 10px;
    position: relative;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    -webkit-box-shadow: 0 1px 3px var(--shadow-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    -webkit-transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header .head-control .head-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 10px var(--shadow-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}
.header .head-control .head-btn:active {
    transform: translateY(0) scale(0.94);
}
.theme-toggle .fa-moon,
.theme-toggle .fa-sun {
    position: absolute;
    -webkit-transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}
.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}
[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}
[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
.avatar-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.body-content {
    padding: 25px;
    animation: fadeIn 0.4s var(--ease);
}
.box-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-top: 20px;
}
.box-title .title {
    font-size: 19px;
    font-weight: 700;
    margin: 5px 0;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}
.avatar-control {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.avatar-control .avatar-img {
    height: 50px;
    width: 50px;
    border-radius: 20%;
}
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even) {
    background-color: transparent;
}
.table {
    border-color: var(--border-color);
    color: var(--body-color);
    background-color: var(--surface-color) !important;
    min-width: 650px;
    margin: 0;
    border-radius: 0;
    border-collapse: collapse;
    border-spacing: 0;
    -webkit-box-shadow: 0 1px 3px var(--shadow-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    animation: fadeUp 0.35s var(--ease);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.table thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 12px;
    border-top: 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--table-head-bg) !important;
    color: var(--table-head-color);
    white-space: nowrap;
}
.table td {
    font-size: 13.5px;
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-color);
    border-top: 0;
    vertical-align: middle;
    -webkit-transition: background-color 0.15s var(--ease);
    transition: background-color 0.15s var(--ease);
}
.table tbody tr:last-child td {
    border-bottom: 0;
}
.table tbody tr:hover td {
    background-color: var(--active-nav-bg);
}
.login-type-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    /* min-width: 92px; */
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.login-type-badge i {
    font-size: 12px;
}
.login-type-badge.login-type-normal {
    background: var(--assest-color);
    color: var(--body-color);
}
.login-type-badge.login-type-otp {
    background: var(--warning-50);
    color: var(--warning-color);
}
.login-type-badge.login-type-google {
    background: var(--green-50);
    color: var(--green-color);
}
.login-type-badge.login-type-apple {
    background: var(--assest-color);
    color: var(--body-color);
}
/* Status Pill (Payment module - status / environment) */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.status-pill i {
    font-size: 11px;
}
.status-pill-active {
    background: var(--green-50);
    color: var(--green-color);
}
.status-pill-inactive {
    background: var(--assest-color);
    color: var(--muted-color);
}
.status-pill-live {
    background: var(--primary-50);
    color: var(--primary-color);
}
.status-pill-sandbox {
    background: var(--warning-50);
    color: var(--warning-color);
}
.table-bordered,
.table-bordered th,
.table-bordered td {
    border-color: var(--border-color);
}
@keyframes bcWrapIn {
    from { opacity: 0; transform: translateY(-14px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}
@keyframes bcItemIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.breadcrumb {
    background-color: var(--surface-color) !important;
    border-radius: var(--r-sm);
    /* padding: 10px 16px !important; */
    margin: 0;
    border: 1px solid var(--border-color);
    -webkit-box-shadow: 0 1px 8px var(--shadow-color);
    box-shadow: 0 1px 8px var(--shadow-color);
    display: inline-flex !important;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 500;
    gap: 2px;
    -webkit-transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
    transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
    animation: bcWrapIn 0.42s var(--ease) both;
}
.breadcrumb-item {
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: bcItemIn 0.34s var(--ease) both;
}
.breadcrumb-item:nth-child(1) { animation-delay: 0.10s; }
.breadcrumb-item:nth-child(2) { animation-delay: 0.18s; }
.breadcrumb-item:nth-child(3) { animation-delay: 0.26s; }
.breadcrumb-item:nth-child(4) { animation-delay: 0.34s; }
.breadcrumb-item:nth-child(n+5) { animation-delay: 0.40s; }
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    align-self: center;
    color: var(--body-color);
    opacity: 0.35;
    font-size: 12px;
    padding: 0 5px;
    float: none;
}
.breadcrumb-item.active {
    color: var(--body-color) !important;
    opacity: 0.55;
    font-weight: 500;
}
.breadcrumb-item a {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    -webkit-transition: opacity 0.15s var(--ease);
    transition: opacity 0.15s var(--ease);
}
.breadcrumb-item a:hover {
    opacity: 0.72;
    text-decoration: none !important;
}
.border-bottom.row {
    padding-bottom: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.table .avatar-img {
    margin-right: 10px;
}
.user-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.user-cell-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    -webkit-transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.table tbody tr:hover .user-cell-avatar {
    transform: scale(1.08);
    border-color: var(--primary-color);
}
.user-cell-info {
    max-width: 220px;
}
.user-cell-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    line-height: 1.35;
}
.user-cell-email {
    font-size: 11.5px;
    color: var(--muted-color);
    line-height: 1.35;
}
.table img.rounded-circle {
    border: 2px solid var(--border-color);
    -webkit-transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.table tbody tr:hover img.rounded-circle {
    transform: scale(1.08);
    border-color: var(--primary-color);
}
.table .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.table .btn {
    padding: 2px;
    background: transparent;
    margin: 0 3px;
    border-radius: 8px;
    -webkit-transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
    transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.table .btn:hover {
    background: var(--active-nav-bg);
    transform: translateY(-1px);
}
.table .btn img {
    width: 16px;
}
.table tfoot {
    background-color: var(--assest-color);
}
.dot {
    height: 8px;
    width: 8px;
    background: var(--red-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.custom-tabs {
    margin: 20px 0;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 5px;
    -webkit-box-shadow: 0 2px 10px var(--shadow-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}
.custom-tabs li.nav-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}
.custom-tabs .nav-link {
    display: block;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-color);
    background: transparent;
    padding: 9px 10px;
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.custom-tabs .nav-link:hover {
    color: var(--primary-color);
}
.custom-tabs .nav-link.active,
.custom-tabs .nav-link.active:hover {
    background: var(--primary-color);
    color: var(--white-color);
}
.custom-tabs .nav-link:focus {
    outline: none;
    box-shadow: none;
}
[data-theme="dark"] .custom-tabs .nav-link.active,
[data-theme="dark"] .custom-tabs .nav-link.active:hover {
    background: var(--primary-color);
    color: var(--black-color);
}
.summary-table-card .border-card {
    padding: 10px;
    border: 2px solid var(--assest-color);
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}
.summary-table-card .border-card:hover {
    border: 2px solid var(--primary-color);
}
.summary-table-card .border-card>.row {
    margin: 0;
}
.summary-table-card .border-card>.row .col,
.summary-table-card .border-card>.row .col-1,
.summary-table-card .border-card>.row .col-2,
.summary-table-card .border-card>.row .col-12 {
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.summary-table-card .avatar-control {
    min-width: 120px;
    font-weight: 600;
}
.summary-table-card .avatar-control img {
    margin-right: 8px;
}
.summary-table-card .price {
    color: var(--red-color);
    font-weight: 600;
}
.artist-row {
    margin: 0 -10px;
}
.artist-row .col-6 {
    padding: 0 10px;
}
.artist-grid-card {
    padding: 15px;
    border: 1px solid var(--light-color);
    border-radius: 20px;
    margin: 20px 0 0;
    -webkit-box-shadow: 0 20px 35px var(--artist-card-color);
    box-shadow: 0 20px 35px var(--artist-card-color);
    background-color: var(--white-color);
}
.artist-grid-card .name {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 5px;
}
.artist-grid-card .post {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 15px;
}
.artist-grid-card .details {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-box {
    padding: 25px;
    background: var(--assest-color);
}
.video-box .f600 {
    font-weight: 600;
}
.video-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}
.page-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-sm);
    padding: 6px 14px;
    -webkit-box-shadow: 0 1px 3px var(--shadow-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    -webkit-transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    animation: fadeUp 0.3s var(--ease);
}
.page-search .input-group {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 200px;
    flex: 1 1 200px;
    min-height: 36px;
}
.page-search .input-group-text,
.page-search .form-control {
    border: 0;
    background: transparent;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    font-size: 13.5px;
}
.page-search .input-group-text img,
.page-search .form-control img {
    width: 20px;
}
.page-search .sorting {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    background: var(--surface-color);
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-color);
    margin-right: 0 !important;
    -webkit-transition: border-color 0.2s var(--ease);
    transition: border-color 0.2s var(--ease);
}
.page-search .sorting:focus-within {
    border-color: var(--primary-color);
}
.page-search .sorting label {
    min-width: 0;
    margin: 0 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-color);
    white-space: nowrap;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
.page-search .sorting select {
    font-size: 13px;
    min-width: 100px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    padding: 4px 0;
    color: var(--body-color);
}
.page-search .sorting select:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}
.page-search .sorting .select2-container {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 90px;
}
.page-search .sorting .select2-container .select2-selection--single {
    height: 22px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.page-search .sorting .select2-container .select2-selection__rendered {
    padding: 0 18px 0 0 !important;
    line-height: 22px !important;
    font-size: 13px;
    color: var(--body-color);
}
.page-search .sorting .select2-container .select2-selection__arrow {
    height: 22px !important;
    right: 0 !important;
}
.page-search .toolbar-export {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-left: 10px;
    border-left: 1px solid var(--border-color);
}
.toolbar-hint {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: var(--r-sm);
    background: var(--assest-color);
    color: var(--muted-color);
    cursor: help;
}
.export-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    -webkit-box-shadow: 0 1px 3px var(--shadow-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    animation: fadeUp 0.3s var(--ease);
}
.export-hint {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    color: var(--muted-color);
    font-size: 12.5px;
    font-weight: 500;
}
.export-hint-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    background: var(--primary-50);
    color: var(--primary-color);
    font-size: 13px;
}
.export-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}
.btn-export {
    height: 36px;
    padding: 0 16px;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--primary-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn-export i {
    font-size: 14px;
}
.btn-export:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 6px 14px var(--shadow-color-lg);
    box-shadow: 0 6px 14px var(--shadow-color-lg);
}
.btn-export:active {
    transform: translateY(0) scale(0.97);
}
@media (max-width: 767px) {
    .export-bar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    .export-actions {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .btn-export {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }
}
.add-video-btn {
    height: calc(100% - 30px);
    background: var(--assest-color);
    border: 1px solid var(--assest-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 15px 0;
    width: 100%;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    padding: 25px;
    color: var(--body-color) !important;
}
.add-video-btn .icon {
    margin-bottom: 15px;
}
.video-card {
    padding: 5px;
    border: 1px solid var(--assest-color) !important;
    border-radius: 15px;
    margin: 15px 0;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.video-card:hover {
    -webkit-box-shadow: 0 4px 15px var(--black-50);
    box-shadow: 0 4px 15px var(--black-50);
}
.video-card:hover .play-btn,
.video-card:hover .overlap-control,
.video-card:hover .play-btn-top {
    display: block;
}
.video-card .card-img-top {
    border-radius: 15px;
    height: 160px;
    -o-object-fit: fill;
    object-fit: fill;
}
.video-card .play-btn {
    background: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
}
.video-card .card-body {
    padding: 15px 10px;
    position: relative;
}
.video-card .card-body .dropdown {
    position: absolute;
    right: 10px;
    top: 10px;
}
.video-card .card-body .dropdown .dropdown-menu {
    top: auto !important;
    bottom: 100%;
}
.video-card .card-body .dropdown .head-btn {
    padding: 5px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.video-card .card-body .dropdown .dropdown-item {
    font-weight: 500;
}
.video-card .card-body .dropdown .dropdown-item img {
    height: 18px;
    width: 18px;
    -o-object-fit: contain;
    object-fit: contain;
    margin-right: 10px;
}
.video-card .card-body .card-title {
    padding-right: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card .card-body .card-details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.video-card .card-body .card-details p {
    margin: 0;
    font-weight: 500;
    color: var(--assest-color);
}
.video-card .card-body .card-details p.tag {
    color: var(--body-color);
}
.video-card .play-btn-top {
    position: absolute;
    right: 00px;
    top: 00px;
    background: transparent;
    padding: 0;
    display: none;
}
.video-card .play-btn-top img {
    width: 45px;
}
.video-card .overlap-control {
    position: absolute;
    right: 10px;
    bottom: -5px;
    display: none;
}
.video-card .overlap-control .btn {
    background: var(--assest-color);
    padding: 2px 6px;
    /* border-radius: 10px; */
}
.video-card .overlap-control .btn .dot-icon {
    height: 16px;
    width: 16px;
    -o-object-fit: contain;
    object-fit: contain;
    color: var(--primary-color) !important;
}
.pagination {
    padding: 5px;
    border: 1px solid var(--assest-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 10px;
    margin: 35px auto 0;
}
.pagination .page-link {
    border: 0;
    height: 30px;
    width: 30px;
    background: var(--assest-color) !important;
    margin: 0 5px;
    border-radius: 50px !important;
    color: var(--body-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.pagination .page-link .right-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.pagination .page-link .dots {
    font-weight: 600;
    margin-top: -4px;
}
.pagination .arrow-icon {
    height: 20px;
    width: 20px;
    background-image: url("../../assets/imgs/left-arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px;
}
.pagination .arrow-icon .next-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.pagination .active .page-link {
    background: var(--primary-color) !important;
}
/* Modals */
.modal-content {
    background: var(--surface-color);
    color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    -webkit-box-shadow: 0 20px 60px var(--shadow-color-lg);
    box-shadow: 0 20px 60px var(--shadow-color-lg);
    overflow: hidden;
}
.modal-header {
    background: var(--primary-50);
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
    padding: 16px 25px;
    -webkit-transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--body-color);
    margin: 0;
}
.modal-body {
    padding: 22px 25px;
    color: var(--body-color);
}
.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 14px 25px;
    background: transparent;
}
.modal .close {
    position: static;
    float: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--surface-color);
    color: var(--muted-color) !important;
    opacity: 1;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
    outline: none;
    z-index: 1;
    -webkit-transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.modal .close:hover {
    background: var(--red-50);
    color: var(--red-color) !important;
}
.modal .close.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}
[data-theme="dark"] .modal .close.video-modal-close {
    background: var(--body-color);
    color: var(--muted-color);
}
[data-theme="dark"] .modal .video-modal-close:hover {
    background: var(--red-color) !important;
    color: var(--white) !important;
}
.inline-tabs {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    z-index: 2;
}
.inline-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}
.inline-tabs .nav-link {
    padding: 10px 35px;
}
.app-right-btn {
    text-align: right;
    margin-top: -60px;
    margin-bottom: 30px;
}
.custom-border-card {
    background: var(--surface-color);
    -webkit-box-shadow: 0 4px 20px var(--shadow-color);
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    border-radius: var(--r-lg);
    margin-bottom: 25px;
    -webkit-animation: fadeUp 0.4s var(--ease) 0.05s both;
    animation: fadeUp 0.4s var(--ease) 0.05s both;
    -webkit-transition: box-shadow 0.25s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
    transition: box-shadow 0.25s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.custom-border-card:hover {
    -webkit-box-shadow: 0 8px 28px var(--shadow-color-lg);
    box-shadow: 0 8px 28px var(--shadow-color-lg);
}
.custom-border-card > .card-header {
    font-size: 15px;
    font-weight: 600;
    background: var(--primary-50);
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
    color: var(--body-color);
    padding: 13px 25px;
    margin: -20px -25px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-border-card > .card-header i {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: .9em;
}
.custom-border-card > .card-header i,
.custom-border-card > .card-header svg {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 0.9em;
}
.custom-border-card > .card-body {
    padding: 18px 0 10px;
}
.form-group label {
    font-weight: 500;
    color: var(--body-color);
    font-size: 14px;
    margin-bottom: 10px;
}
.form-control,
.custom-select {
    background-color: var(--surface-color);
    color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    height: auto !important;
}
.form-control:focus,
.custom-select:focus {
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    border-color: var(--primary-color);
    background-color: var(--surface-color);
    color: var(--body-color);
}
.form-control[readonly],
.form-control:disabled,
.custom-select[readonly],
.custom-select:disabled {
    background-color: var(--assest-color);
    color: var(--body-color);
    opacity: 1;
}
/* Dark theme: keep native field chrome (date/time picker, calendar icon, autofill) readable */
[data-theme="dark"] .form-control,
[data-theme="dark"] .custom-select {
    color-scheme: dark;
}
[data-theme="dark"] .form-control:-webkit-autofill,
[data-theme="dark"] .form-control:-webkit-autofill:hover,
[data-theme="dark"] .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--surface-color) inset;
    -webkit-text-fill-color: var(--body-color);
    caret-color: var(--body-color);
    transition: background-color 9999s ease-in-out 0s;
}
.file-control {
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 15px;
    cursor: pointer;
}
.file-control span {
    opacity: 0.6;
    display: inline-block;
    margin-top: 10px;
}
.thumbnail-img {
    position: relative;
    border: 1px solid var(--assest-color);
    display: inline-block;
    height: 100px;
    width: 130px;
    border-radius: 10px;
    padding: 4px;
}
.thumbnail-img img {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.thumbnail-img .close {
    position: absolute;
    top: 5px;
    right: 8px;
    color: var(--white-color);
    opacity: 1;
    font-weight: 300;
}
.radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}
.radio-group .custom-control {
    padding-left: 0;
    margin-right: 15px;
}
.radio-group .custom-control-label {
    margin-bottom: 0;
    background: var(--assest-color);
    padding: 6px 23px 6px 33px;
    border-radius: 100px;
    font-size: 16px;
}
.radio-group .custom-control-label::before,
.radio-group .custom-control-label:after {
    border-radius: 50%;
    top: 10px;
    left: 10px;
}
.radio-group .custom-control-label:after {
    display: none;
}
.radio-group .custom-control-label::before {
    background: transparent;
    border: 3px solid var(--body-color);
}
.radio-group .custom-control-input:checked~.custom-control-label {
    background: var(--primary-color);
    color: var(--white-color);
}
.radio-group .custom-control-input:checked~.custom-control-label::before {
    background: var(--primary-color);
    border-color: var(--white-color);
}
.page-title-sm {
    display: none;
}
.border-bottom {
    border-color: var(--assest-color) !important;
}
table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    content: "↑";
}
table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    content: "↓";
}
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--assest-color);
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: 600;
}
div.dataTables_wrapper div.dataTables_length label .form-control,
div.dataTables_wrapper div.dataTables_filter label .form-control {
    padding: 6px 12px;
    text-align: center;
    margin: 0 13px;
}
div.dataTables_wrapper div.dataTables_length label input.form-control,
div.dataTables_wrapper div.dataTables_filter label input.form-control {
    margin-right: 0;
    text-align: left;
}
div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
    overflow: auto;
}
.left-caption {
    height: 100%;
    position: relative;
}
.left-caption .bg-img {
    height: 100%;
    width: 100%;
    -o-object-fit: fill;
    object-fit:fill;
}
.left-caption .caption {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--black-50);
    color: var(--white-color);
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 160px; 
}
.left-caption .caption .text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
}
.login-bg {
    background: var(--assest-color);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: auto;
    padding-bottom: 20px;
}
@media (max-height: 600px) {
    .login-bg {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
}
.app-logo img {
    width: 180px;
    margin: 15px 0 20px;
}
.app-login-box {
    max-width: 410px;
    margin: 0 auto;
    width: 90%;
    padding: 30px;
    background: var(--white-color);
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}
.app-login-box .form-control {
    background: var(--assest-color);
}
.app-login-box .form-control:focus {
    background: var(--white-color);
}
@media (min-width: 1600px) {
    .counter-row {
        margin-bottom: 20px;
    }
    .table thead th,
    .table td {
        font-size: 16px;
    }
    .custom-tabs .nav-link,
    .summary-table-card .border-card {
        font-size: 16px;
    }
    .artist-grid-card {
        padding: 20px;
    }
    .artist-grid-card .name {
        font-size: 20px;
    }
    .artist-grid-card .post {
        font-size: 16px;
    }
    .artist-grid-card .details {
        font-size: 16px;
    }
    .video-card .card-img-top {
        height: 250px;
    }
    .video-card .card-body .card-title {
        font-size: 18px;
    }
    .video-card .card-body .card-details p {
        font-size: 16px;
    }
    .video-card .play-btn-top img {
        width: 60px;
    }
    .form-group label {
        font-size: 16px;
    }
    .custom-border-card > .card-header {
        font-size: 20px;
    }
}
@media (max-width: 1280px) {
    .header .input-group {
        width: 280px;
    }
}
@media (max-width: 991px) {
    .sidebar {
        left: -280px;
    }
    .sidebar.hide-sidebar {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        left: 0;
        z-index: 99;
        width: 280px;
    }
    .sidebar.hide-sidebar .side-toggle span:first-child {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .sidebar.hide-sidebar .side-toggle span:nth-child(2) {
        display: none;
    }
    .sidebar.hide-sidebar .side-toggle span:last-child {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-top: -5px;
    }
    .right-content {
        margin-left: 0 !important;
    }
    .right-content .page-title {
        display: none;
    }
    .header {
        padding: 12px 15px;
    }
    .header .title-control .side-toggle {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
    .header .side-logo {
        display: block;
        width: 160px;
    }
    .header .mobile-close-search {
        display: none;
    }
    .counter-row .col-md {
        padding-right: 5px;
        padding-left: 5px;
    }
    .page-title-sm {
        font-size: 26px;
        font-weight: 600;
        margin: -10px 0 20px;
        display: block;
        border-bottom: 1px solid var(--assest-color);
        padding-bottom: 5px;
    }
    .app-logo img {
        margin: 20px 0 10px;
    }
}
@media (max-width: 767px) {
    .btn-default {
        font-size: 14px;
    }
    .header .input-group {
        height: 45px;
        width: 45px;
        border-radius: 5px;
    }
    .header .input-group .input-group-text {
        padding: 7px;
    }
    .header .input-group .form-control {
        display: none;
    }
    .box-title {
        padding-bottom: 8px;
    }
    .box-title .title {
        font-size: 18px;
    }
    .avatar-control .avatar-img {
        height: 30px;
        width: 30px;
    }
    .table th,
    .table td {
        padding: 8px 5px;
    }
    .summary-table-card .border-card {
        padding: 10px 2px;
    }
    .summary-table-card .border-card .row .col {
        text-align: left;
    }
    .summary-table-card .border-card .row .col-12 {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .summary-table-card .avatar-control {
        margin: 0 14px 10px;
    }
    .pagination {
        margin-top: 20px;
    }
    .inline-tabs {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow: auto;
        margin-top: 0;
    }
    .inline-tabs::-webkit-scrollbar {
        display: none;
    }
    .inline-tabs .nav-link {
        padding: 8px 14px;
    }
    .app-right-btn {
        margin: 0 0 15px;
    }
    .form-group label {
        font-size: 14px;
    }
    .custom-border-card {
        padding: 16px 20px;
    }
    .custom-border-card > .card-header {
        font-size: 18px;
        padding-bottom: 12px;
    }
    .file-control {
        padding: 16px;
    }
}
@media (max-width: 567px) {
    .artist-grid-card .name {
        font-size: 16px;
    }
    .artist-grid-card .post {
        margin: 0 0 10px;
    }
    .page-search {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 15px;
    }
    .page-search .sorting {
        margin-top: 8px;
        width: 100%;
    }
    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
        padding: 0;
        overflow: auto;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 15px;
    }
}
@media (max-width: 340px) {
    .header .side-logo {
        width: 120px;
    }
}
/* Image Upload Preview */
.avatar-upload {
    position: relative;
    max-width: 205px;
}
.avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
}
.avatar-edit input {
    display: none;
}
.avatar-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}
.avatar-edit input+label:hover {
    background: var(--assest-color);
    border-color: var(--body-color);
}
.avatar-edit input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--body-color);
    position: absolute;
    top: 130px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}
.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 10%;
}
.avatar-upload .avatar-preview>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Image Upload Preview (Landscape) */
.avatar-upload-landscape {
    position: relative;
    max-width: 265px;
}
.avatar-edit-landscape {
    position: absolute;
    right: 0;
    bottom: -20px;
    z-index: 1;
}
.avatar-edit-landscape input {
    display: none;
}
.avatar-edit-landscape input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}
.avatar-edit-landscape input+label:hover {
    background: var(--assest-color);
    border-color: var(--body-color);
}
.avatar-edit-landscape input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--body-color);
    position: absolute;
    top: 130px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}
.avatar-upload-landscape .avatar-preview-landscape {
    width: 220px;
    height: 120px;
    position: relative;
    border-radius: 10%;
}
.avatar-upload-landscape .avatar-preview-landscape>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Image Upload - Drag & Drop */
.image-upload-wrapper {
    position: relative;
    width: 220px;
    max-width: 100%;
}
.image-upload-wrapper input[type="file"] {
    display: none;
}
.drop-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--r-lg);
    background: var(--bg-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    /* min-height: 170px; */
    overflow: hidden;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.drop-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-50);
}
.drop-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-50);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}
.drop-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    text-align: center;
    pointer-events: none;
    transition: opacity .2s var(--ease);
    z-index: 1;
}
.drop-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-50);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 2px;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.drop-area:hover .drop-icon,
.drop-area.dragover .drop-icon {
    background: rgba(var(--primary-rgb), .18);
    transform: scale(1.08) translateY(-2px);
}
.drop-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    margin: 0;
}
.drop-hint {
    font-size: 12px;
    color: var(--muted-color);
    margin: 0;
}
/* Preview image sits behind placeholder; shown when wrapper has .has-preview */
.image-upload-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--r-lg) - 2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    z-index: 0;
}
.image-upload-wrapper.has-preview img {
    opacity: 1;
}
.image-upload-wrapper.has-preview .drop-placeholder {
    opacity: 0;
}
/* "Change photo" bar fades in on hover when preview is set */
.image-upload-wrapper.has-preview .drop-area::before {
    content: '\f030\00a0 ' attr(data-change-label);
    font-family: 'Font Awesome 6 Free', var(--font);
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity .2s var(--ease);
    z-index: 2;
    border-radius: 0 0 calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px);
}
.image-upload-wrapper.has-preview .drop-area:hover::before {
    opacity: 1;
}
.image-upload-wrapper.image-landscape .drop-area {
    width: 115% !important;
    height: 150px;
}

/* Post Media Upload (Add Post - content cards) */
.post-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.post-media-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-animation: fadeUp .35s var(--ease) both;
    animation: fadeUp .35s var(--ease) both;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .3s var(--ease);
}
.post-media-card:hover {
    border-color: rgba(var(--primary-rgb), .4);
    box-shadow: 0 6px 18px var(--shadow-color);
}
.post-media-card.removing {
    -webkit-animation: fadeOutShrink .22s var(--ease) forwards;
    animation: fadeOutShrink .22s var(--ease) forwards;
}
@-webkit-keyframes fadeOutShrink {
    to { opacity: 0; -webkit-transform: scale(.92); transform: scale(.92); }
}
@keyframes fadeOutShrink {
    to { opacity: 0; transform: scale(.92); }
}
.post-media-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.media-type-switch {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    background: var(--assest-color);
    border-radius: 100px;
    padding: 3px;
}
.media-type-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.media-type-switch::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: var(--primary-color);
    border-radius: 100px;
    transition: -webkit-transform .28s var(--ease);
    transition: transform .28s var(--ease);
    transition: transform .28s var(--ease), -webkit-transform .28s var(--ease);
    z-index: 0;
}
.media-type-switch.is-video::before {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
.media-type-switch label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    margin: 0;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted-color);
    cursor: pointer;
    white-space: nowrap;
    transition: color .25s var(--ease);
}
.media-type-switch label i {
    font-size: .95em;
}
.media-type-switch input:checked + label {
    color: var(--white-color);
}
.post-media-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--surface-color);
    color: var(--muted-color);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.post-media-remove-btn[hidden] {
    display: none;
}
.post-media-remove-btn:hover {
    background: var(--red-50);
    border-color: var(--red-color);
    color: var(--red-color);
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
}
.post-media-card-body {
    display: flex;
    gap: 12px;
}
.post-media-tile {
    position: relative;
    flex: 1 1 0;
    min-height: 148px;
    border: 1.5px dashed var(--border-color);
    border-radius: var(--r-md);
    background: var(--surface-color);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.post-media-tile[hidden] {
    display: none;
}
.post-media-tile input[type="file"] {
    display: none;
}
.post-media-tile:hover,
.post-media-tile.dragover {
    border-color: var(--primary-color);
    background: var(--primary-50);
}
.post-media-tile.dragover {
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}
.post-media-tile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    text-align: center;
    pointer-events: none;
    transition: opacity .2s var(--ease);
    z-index: 1;
}
.post-media-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-50);
    border: 1.5px solid var(--border-color);
    color: var(--primary-color);
    font-size: 18px;
    transition: background-color .2s var(--ease), -webkit-transform .2s var(--ease);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
    transition: background-color .2s var(--ease), transform .2s var(--ease), -webkit-transform .2s var(--ease);
}
.post-media-tile:hover .post-media-tile-icon {
    background: rgba(var(--primary-rgb), .18);
    -webkit-transform: scale(1.08) translateY(-2px);
    transform: scale(1.08) translateY(-2px);
}
.post-media-tile-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--body-color);
}
.post-media-tile-hint {
    font-size: 11px;
    color: var(--muted-color);
}
.post-media-tile-preview-img,
.post-media-tile-preview-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s var(--ease);
    z-index: 0;
}
.post-media-tile.has-file .post-media-tile-inner {
    opacity: 0;
}
.post-media-tile.has-file .post-media-tile-preview-img,
.post-media-tile.has-file .post-media-tile-preview-video {
    opacity: 1;
}
.post-media-tile.has-file:hover::after {
    content: '\f021\00a0 ' attr(data-change-label);
    font-family: 'Font Awesome 6 Free', var(--font);
    font-weight: 900;
    position: absolute;
    inset: auto 0 0 0;
    padding: 7px 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
    text-align: center;
    z-index: 2;
}
.post-media-clear-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background-color .2s var(--ease), -webkit-transform .2s var(--ease);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
    transition: background-color .2s var(--ease), transform .2s var(--ease), -webkit-transform .2s var(--ease);
}
.post-media-clear-btn:hover {
    background: var(--red-color);
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
}
.post-media-clear-btn[hidden] {
    display: none;
}
.post-media-add-card {
    min-height: 100%;
    border: 1.5px dashed var(--border-color);
    border-radius: var(--r-lg);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 14px;
    color: var(--muted-color);
    cursor: pointer;
    transition: all .22s var(--ease);
}
.post-media-add-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-50);
}
.post-media-add-card:focus,
.post-media-add-card:focus-visible,
.post-media-remove-btn:focus,
.post-media-remove-btn:focus-visible,
.post-media-clear-btn:focus,
.post-media-clear-btn:focus-visible {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}
.post-media-add-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--assest-color);
    font-size: 18px;
    transition: all .22s var(--ease);
}
.post-media-add-card:hover .post-media-add-icon {
    background: var(--primary-color);
    color: var(--white-color);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.post-media-add-label {
    font-size: 13px;
    font-weight: 600;
}
@media (max-width: 575px) {
    .post-media-card-body {
        flex-direction: column;
    }
}

/* Video Ribbon */
.ribbon {
    width: 125px;
    height: 125px;
    overflow: hidden;
    position: absolute;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 200px;
    padding: 5px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}
.ribbon-top-left {
    top: -10px;
    left: -10px;
}
.ribbon-top-left::before {
    top: 0;
    right: 0;
}
.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}
.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}
/* Loader */
#dvloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    background-color: var(--white-color);
    z-index: 9999;
}
#dvloader img {
    max-width: 300px;
    max-height: 300px;
    z-index: 100;
}
/* btn Cancel */
.btn-cancel {
    background: linear-gradient(135deg, var(--red-color) 0%, var(--red-deep) 100%);
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--white-color);
    border: none;
    padding: 10px 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    -webkit-box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.30);
    box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.30);
    -webkit-transition: transform 150ms ease, box-shadow 200ms ease, background 200ms ease;
    transition: transform 150ms ease, box-shadow 200ms ease, background 200ms ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn-cancel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
    -webkit-transition: left 480ms ease;
    transition: left 480ms ease;
    pointer-events: none;
}
.btn-cancel:hover::after {
    left: 150%;
}
.btn-cancel:hover {
    color: var(--white-color);
    background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-color) 100%);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 22px rgba(var(--red-rgb), 0.40);
    box-shadow: 0 8px 22px rgba(var(--red-rgb), 0.40);
    border-color: transparent;
}
.btn-cancel:active {
    transform: scale(0.97);
    -webkit-box-shadow: 0 2px 8px rgba(var(--red-rgb), 0.25);
    box-shadow: 0 2px 8px rgba(var(--red-rgb), 0.25);
}
.btn-cancel:focus,
.btn-cancel:focus-visible {
    outline: none !important;
    -webkit-box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.30) !important;
    box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.30) !important;
    color: var(--white-color) !important;
    background: linear-gradient(135deg, var(--red-color) 0%, var(--red-deep) 100%) !important;
}
[data-theme="dark"] .btn-cancel {
    background: linear-gradient(135deg, var(--red-color) 0%, var(--red-deep) 100%);
    -webkit-box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.35);
    box-shadow: 0 4px 14px rgba(var(--red-rgb), 0.35);
}
[data-theme="dark"] .btn-cancel:hover {
    background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-color) 100%);
    -webkit-box-shadow: 0 8px 22px rgba(var(--red-rgb), 0.45);
    box-shadow: 0 8px 22px rgba(var(--red-rgb), 0.45);
    color: var(--white-color);
}
/* Edit-Delete btn */
.edit-delete-btn {
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    outline: none;
    background: var(--surface-color);
    color: var(--muted-color);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 3px;
    border-radius: var(--r-sm);
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.edit-delete-btn i {
    font-size: 15px;
}
.edit-delete-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 14px var(--shadow-color-lg);
    box-shadow: 0 6px 14px var(--shadow-color-lg);
}
.edit-delete-btn:active {
    transform: translateY(0) scale(0.94);
}
.edit-delete-btn:focus {
    outline: none;
    box-shadow: none;
}
.cart-bg {
    background-color: var(--assest-color);
}
/* Import File */
.import-file {
    background-color: var(--surface-color);
    color: var(--body-color);
}
.import-file::file-selector-button {
    border-radius: 6px;
    background-color: var(--primary-50);
    color: var(--primary-color);
    border: 1px solid var(--primary-50);
    height: 30px;
    padding: 0 14px;
    margin-right: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    -webkit-transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.import-file::file-selector-button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
/* Dashboard Category */
.category-box {
    padding: 25px;
    background: var(--assest-color);
}
.category-box .f600 {
    font-weight: 600;
}
.category-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    color: var(--white-color);
    padding-left: 25px;
}
.category-image {
    max-height: 105px;
    height: 105px;
    width: 100%;
    border-radius: 8px;
    filter: blur(1.2px);
    -webkit-filter: blur(1.2px);
}
/* Dashboard Hashtag */
.hashtag-card {
    padding-top: 10px;
    padding-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--white-color);
}
.hashtag-card>.row {
    margin: 0;
}
.hashtag-card>.row .col,
.hashtag-card>.row .col-2
.hashtag-card>.row .col-10 {
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: start;
}
/* Dashboard Artist */
.artist-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.artist-image {
    height: 100px;
    width: 100%;
    border-radius: 10px;
}

.wallet-image {
    height: 170px;
    width: 170px;
    border-radius: 15px;
}


@media (max-width: 1440px) {
    .artist-image {
        height: 70px;
        border-radius: 10px;
    }
    .wallet-image {
        height: 110px;
        border-radius: 15px;
    }
}
@media (max-width: 1260px) {
    .wallet-image {
        height: 50px;
        border-radius: 15px;
    }
    .wallet-image {
        height: 70px;
        border-radius: 10px;
    }
}
@media (max-width: 991px) {
    .wallet-image {
        height: 140px;
        border-radius: 15px;
    }
}
/* Side Menu Partition */
.partition {
    width: 100%;
    margin: 10px 0 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}
.side-menu > .partition:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}
.partition span {
    padding: 0 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.partition span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}
/* Demo Mode Box */
.demo-mode-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 6px 18px;
    margin-right: 15px;
}
.demo-mode-box:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}
/* Installation */
.list-group-item {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background-color: transparent;
}
.install-card .card {
    background-color: var(--white-color);
    border: none;
}
.install-card .form-control {
    background-color: var(--white-color);
    color: var(--title-color);
}
.install-bg-img {
    text-align: center;
}
.install-bg-img img {
    max-width: 100%;
    height: auto;
}
.install-title {
    font-size: 42px;
    font-weight: bold;
}
.install_sub_title {
    font-size: 24px;
}
.install_text {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}
.install-list li {
    font-size: 20px;
    margin-bottom: 10px;
}
.install-list li:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.install-card {
    margin-left: 100px;
    margin-right: 100px;
}
@media (max-width: 1024px) {
    .install-bg-img {
        display: none !important;
    }
}
.install-footer {
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--black-color);
    background-color: var(--primary-color);
}
.install-footer a {
    color: var(--white-color);
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}
.install-footer a:hover {
    color: var(--black-color);
}
.install-social-icons {
    margin-top: 10px;
}
.install-social-icons a {
    color: var(--white-color);
    font-size: 20px;
    text-decoration: none;
}
.install-social-icons a:hover {
    color: var(--black-color);
}
.install-footer .content {
    position: relative;
    z-index: 1;
}
/* btn Install */
.btn-install {
    background: var(--primary-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}
.btn-install:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}
/* btn Install Cancel */
.btn-install-cancel {
    background: var(--black-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}
.btn-install-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}
/* Color Picker */
.colorpicker-component {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}
.colorpicker {
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.hexcolor {
    border: none;
    padding: 10px;
    width: 100px;
    outline: none;
}
/* Hide-Show Btn */
.show-btn,
.hide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: bold;
    border: 2px solid transparent;
    color: var(--white-color);
    padding: 6px 18px;
    outline: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px !important;
    -webkit-transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.show-btn:hover,
.hide-btn:hover {
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 14px var(--shadow-color);
    box-shadow: 0 6px 14px var(--shadow-color);
}
.show-btn {
    background: var(--green-color);
}
.show-btn:hover {
    background: var(--surface-color);
    border-color: var(--green-color);
    color: var(--green-color);
}
.hide-btn {
    background: var(--red-color);
}
.hide-btn:hover {
    background: var(--surface-color);
    border-color: var(--red-color);
    color: var(--red-color);
}
.show-btn:focus,
.hide-btn:focus,
.info-btn:focus {
    outline: none;
    box-shadow: none;
}
[data-theme="dark"] .show-btn {
    background: var(--green-50);
    color: var(--green-color);
}
[data-theme="dark"] .show-btn:hover {
    background: var(--green-color);
    border-color: var(--green-color);
    color: var(--black-color);
}
[data-theme="dark"] .hide-btn {
    background: var(--red-50);
    color: var(--red-color);
}
[data-theme="dark"] .hide-btn:hover {
    background: var(--red-color);
    border-color: var(--red-color);
    color: var(--black-color);
}

/* Is Read Button (Report module) */
.is-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: bold;
    border: 2px solid transparent;
    color: var(--white-color);
    padding: 6px 18px;
    outline: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px !important;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.is-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--shadow-color);
}
.is-read-btn:focus {
    outline: none;
    box-shadow: none;
}
.is-read-btn.is-read-yes {
    background: var(--primary-color);
}
.is-read-btn.is-read-yes:hover {
    background: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.is-read-btn.is-read-no {
    background: var(--warning-color);
}
.is-read-btn.is-read-no:hover {
    background: var(--surface-color);
    border-color: var(--warning-color);
    color: var(--warning-color);
}
[data-theme="dark"] .is-read-btn.is-read-yes {
    background: var(--primary-50);
    color: var(--primary-color);
}
[data-theme="dark"] .is-read-btn.is-read-yes:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--black-color);
}
[data-theme="dark"] .is-read-btn.is-read-no {
    background: var(--warning-50);
    color: var(--warning-color);
}
[data-theme="dark"] .is-read-btn.is-read-no:hover {
    background: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--black-color);
}
/* Custom-Card */
.custom-card {
    background-color: var(--assest-color);
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}
.custom-card .card-body h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}
.custom-card .card-body span {
    font-size: 1.2rem;
    color: var(--body-color);
    font-weight: bold;
}
.custom-card .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}
.card-icon-primary {
    padding: 15px;
    border-radius: 50%;
    color: var(--white-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color) !important;
}
.card-color-primary:hover {
    border-color: var(--primary-color);
}
.card-color-primary .card-body {
    color: var(--primary-color);
}

/* Cretor Cards */
.creator-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--assest-color);
    transition: 0.3s;
    padding-bottom: 20px;
}

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px var(--black-50);
}

/* Creator Image */
.creator-photo {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.creator-photo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

/* Name */
.creator-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 12px;
}

/* Email & Number */
.creator-contact {
    color: var(--body-color);
    font-size: 14px;
    margin-top: 5px;
}

/* Card Body */
.creator-card-body {
    padding: 0px 20px 15px 20px;
    text-align: center;
}

/* Package Count */
.package-count h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.package-count p {
    color: var(--body-color);
    font-size: 14px;
    margin-bottom: 0;
}

/* Buttons */
.btn-view,
.btn-add {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
    padding: 6px 15px;
    border-radius: 50px;
}

.btn-view:hover,
.btn-add:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.custom-checkbox {
    height: 20px;
    width: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}
.custom-checkbox:disabled {
    cursor: not-allowed;
    opacity: .5;
}
/* Creator Card 2.0 */
.creator-profile-card {
    background: var(--surface-color);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 16px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.creator-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px var(--shadow-color-lg);
}

.min-w-0 {
    min-width: 0;    /* allows text-truncate to work inside flex */
}

.creator-profile-banner {
    position: relative;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-tint) 100%);
}

.creator-profile-banner-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
}

.creator-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    color: var(--white-color);
    font-size: 12px;
    transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}

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

.creator-icon-btn-danger:hover {
    color: var(--red-color);
}

.creator-profile-avatar {
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.creator-profile-body {
    padding: 48px 18px 20px;
    text-align: center;
}

.creator-profile-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.creator-profile-body .login-pill {
    margin-bottom: 10px;
}

.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--primary-50);
    color: var(--primary-color);
    border: 1px solid var(--assest-color);
}

.login-pill i {
    font-size: 0.82rem;
}

.creator-profile-contact {
    font-size: 0.78rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 14px;
    word-break: break-word;
}

.creator-profile-stats {
    display: flex;
    background: var(--assest-color);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.creator-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    min-width: 0;
}

.creator-stat + .creator-stat {
    border-left: 1px solid var(--border-color);
    padding-left: 10px;
    margin-left: 10px;
}

.creator-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.creator-stat-value {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.creator-stat-value.wallet {
    color: var(--primary-color);
}

.creator-stat-value.coins {
    color: var(--green-color);
}

.creator-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.creator-profile-actions {
    display: flex;
    gap: 8px;
}

.btn-card {
    border: 1.5px solid var(--assest-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 7px 4px;
    background: transparent;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
}

.btn-card i {
    flex-shrink: 0;
}

.btn-card-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.btn-card:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-card-primary {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-card-primary:hover {
    background: var(--primary-dark);
    color: var(--white-color);
    border-color: var(--primary-dark);
}

/* Gift Earner Card (Gift Transaction - creator earnings) */
.earner-card {
    background: var(--surface-color);
    border-radius: var(--r-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 6px var(--shadow-color);
    padding: 14px;
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.earner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--primary-color);
}

/* Staggered reveal on page load, in sync with the sidebar/header entrance */
.earner-grid > div:nth-child(1) .earner-card { animation-delay: 0s; }
.earner-grid > div:nth-child(2) .earner-card { animation-delay: .03s; }
.earner-grid > div:nth-child(3) .earner-card { animation-delay: .06s; }
.earner-grid > div:nth-child(4) .earner-card { animation-delay: .09s; }
.earner-grid > div:nth-child(5) .earner-card { animation-delay: .12s; }
.earner-grid > div:nth-child(6) .earner-card { animation-delay: .15s; }
.earner-grid > div:nth-child(7) .earner-card { animation-delay: .18s; }
.earner-grid > div:nth-child(8) .earner-card { animation-delay: .21s; }
.earner-grid > div:nth-child(9) .earner-card { animation-delay: .24s; }
.earner-grid > div:nth-child(10) .earner-card { animation-delay: .27s; }
.earner-grid > div:nth-child(11) .earner-card { animation-delay: .3s; }
.earner-grid > div:nth-child(12) .earner-card { animation-delay: .33s; }
.earner-grid > div:nth-child(13) .earner-card { animation-delay: .36s; }
.earner-grid > div:nth-child(14) .earner-card { animation-delay: .39s; }
.earner-grid > div:nth-child(15) .earner-card { animation-delay: .42s; }
.earner-grid > div:nth-child(16) .earner-card { animation-delay: .45s; }

.earner-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.earner-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--assest-color);
    flex-shrink: 0;
}

.earner-card-head-text {
    min-width: 0;
}

.earner-card-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--body-color);
    margin: 0;
}

.earner-card-contact {
    font-size: 0.7rem;
    color: var(--muted-color);
    line-height: 1.5;
    margin-top: 2px;
}

.earner-card-contact span {
    display: block;
}

.earner-card-contact i {
    width: 13px;
    color: var(--muted-color);
    margin-right: 3px;
}

.earner-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.earner-card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.earner-card-stat i {
    color: var(--warning-color);
    font-size: 13px;
    flex-shrink: 0;
}

.earner-card-stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.earner-card-stat-value {
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--body-color);
}

.earner-card-stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.earner-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.earner-card-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Package Card (Creator Package) */
.package-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    box-shadow: 0 1px 6px var(--shadow-color);
    padding: 16px;
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

/* Staggered reveal on page load, in sync with the sidebar/header entrance */
.package-grid > div:nth-child(1) .package-card { animation-delay: 0s; }
.package-grid > div:nth-child(2) .package-card { animation-delay: .03s; }
.package-grid > div:nth-child(3) .package-card { animation-delay: .06s; }
.package-grid > div:nth-child(4) .package-card { animation-delay: .09s; }
.package-grid > div:nth-child(5) .package-card { animation-delay: .12s; }
.package-grid > div:nth-child(6) .package-card { animation-delay: .15s; }
.package-grid > div:nth-child(7) .package-card { animation-delay: .18s; }
.package-grid > div:nth-child(8) .package-card { animation-delay: .21s; }
.package-grid > div:nth-child(9) .package-card { animation-delay: .24s; }
.package-grid > div:nth-child(10) .package-card { animation-delay: .27s; }
.package-grid > div:nth-child(11) .package-card { animation-delay: .3s; }
.package-grid > div:nth-child(12) .package-card { animation-delay: .33s; }
.package-grid > div:nth-child(13) .package-card { animation-delay: .36s; }
.package-grid > div:nth-child(14) .package-card { animation-delay: .39s; }
.package-grid > div:nth-child(15) .package-card { animation-delay: .42s; }
.package-grid > div:nth-child(16) .package-card { animation-delay: .45s; }

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--primary-color);
}

.package-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.package-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--assest-color);
    flex-shrink: 0;
}

.package-card-head-text {
    min-width: 0;
}

.package-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--body-color);
    margin: 0;
}

.package-card-email {
    display: block;
    font-size: 0.7rem;
    color: var(--muted-color);
    margin-top: 2px;
}

.package-card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--assest-color);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
}

.package-card-stat i {
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
}

.package-card-stat-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--body-color);
}

.package-card-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted-color);
    margin-left: auto;
}

.package-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.package-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1.5px solid var(--border-color);
    color: var(--body-color);
    background: transparent;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.package-card-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.package-card-btn-solid {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.package-card-btn-solid:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white-color);
}

[data-theme="dark"] .package-card-btn-solid {
    background: var(--primary-50);
    border-color: var(--primary-50);
    color: var(--primary-color);
}

[data-theme="dark"] .package-card-btn-solid:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--black-color);
}

/* Stat Mini Card (Gift Transaction - earnings counters) */
.stat-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    box-shadow: 0 2px 12px var(--shadow-color);
    padding: 18px;
    height: 100%;
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

/* Staggered reveal on page load, in sync with the sidebar/header entrance */
.counter-row > div:nth-child(1) .stat-mini-card { animation-delay: 0s; }
.counter-row > div:nth-child(2) .stat-mini-card { animation-delay: .05s; }
.counter-row > div:nth-child(3) .stat-mini-card { animation-delay: .1s; }

.stat-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px var(--shadow-color-lg);
}

.stat-mini-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-mini-icon-primary {
    background: var(--primary-50);
    color: var(--primary-color);
}

.stat-mini-icon-green {
    background: var(--green-50);
    color: var(--green-color);
}

.stat-mini-icon-warning {
    background: var(--warning-50);
    color: var(--warning-color);
}

.stat-mini-text {
    min-width: 0;
}

.stat-mini-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--body-color);
    line-height: 1.2;
}

.stat-mini-text span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-color);
}

/* Post Card 2.0 */
.post-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: 0 2px 16px var(--shadow-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px var(--shadow-color-lg);
}

/* Staggered reveal on page load, in sync with the sidebar/header entrance */
.post-grid > div:nth-child(1) .post-card { animation-delay: 0s; }
.post-grid > div:nth-child(2) .post-card { animation-delay: .03s; }
.post-grid > div:nth-child(3) .post-card { animation-delay: .06s; }
.post-grid > div:nth-child(4) .post-card { animation-delay: .09s; }
.post-grid > div:nth-child(5) .post-card { animation-delay: .12s; }
.post-grid > div:nth-child(6) .post-card { animation-delay: .15s; }
.post-grid > div:nth-child(7) .post-card { animation-delay: .18s; }
.post-grid > div:nth-child(8) .post-card { animation-delay: .21s; }
.post-grid > div:nth-child(9) .post-card { animation-delay: .24s; }
.post-grid > div:nth-child(10) .post-card { animation-delay: .27s; }
.post-grid > div:nth-child(11) .post-card { animation-delay: .3s; }
.post-grid > div:nth-child(12) .post-card { animation-delay: .33s; }

.post-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--assest-color);
}

.post-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.post-card:hover .post-card-media img {
    transform: scale(1.06);
}

.post-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .32) 40%, rgba(0, 0, 0, 0) 65%);
    pointer-events: none;
}

.post-card-topbar {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}

.post-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.post-type-badge,
.post-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.post-type-badge {
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
}

.post-status-pill {
    color: var(--white-color);
}

.post-status-pill.post-status-scheduled {
    background: rgba(217, 119, 6, .85);
}

.post-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.post-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
    font-size: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}

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

.post-icon-btn-danger:hover {
    color: var(--red-color);
}

.post-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s var(--ease), transform 0.15s var(--ease);
    z-index: 2;
}

.post-play-btn:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.08);
}

.post-play-btn:focus,
.post-play-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.post-card-overlay-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    z-index: 2;
}

.post-card-title {
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border-color);
}

.post-creator-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.post-creator-mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--assest-color);
    flex-shrink: 0;
}

.post-creator-mini-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--body-color);
    min-width: 0;
}

.post-toggle-btn {
    padding: 4px 14px !important;
    font-size: 0.7rem !important;
    flex-shrink: 0;
}

.post-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted-color);
    background: var(--surface-color);
    border: 1px dashed var(--border-color);
    border-radius: var(--r-lg);
    animation: fadeUp 0.4s var(--ease) both;
}

.post-empty-state i {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: inline-block;
}

.post-empty-state p {
    margin: 0;
    font-weight: 600;
}

/* Story Card 2.0 */
.story-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeUp 0.4s var(--ease) both;
}

/* Staggered reveal on page load, in sync with the sidebar/header entrance */
.story-grid > div:nth-child(1) .story-card { animation-delay: 0s; }
.story-grid > div:nth-child(2) .story-card { animation-delay: .03s; }
.story-grid > div:nth-child(3) .story-card { animation-delay: .06s; }
.story-grid > div:nth-child(4) .story-card { animation-delay: .09s; }
.story-grid > div:nth-child(5) .story-card { animation-delay: .12s; }
.story-grid > div:nth-child(6) .story-card { animation-delay: .15s; }
.story-grid > div:nth-child(7) .story-card { animation-delay: .18s; }
.story-grid > div:nth-child(8) .story-card { animation-delay: .21s; }
.story-grid > div:nth-child(9) .story-card { animation-delay: .24s; }
.story-grid > div:nth-child(10) .story-card { animation-delay: .27s; }
.story-grid > div:nth-child(11) .story-card { animation-delay: .3s; }
.story-grid > div:nth-child(12) .story-card { animation-delay: .33s; }
.story-grid > div:nth-child(13) .story-card { animation-delay: .36s; }
.story-grid > div:nth-child(14) .story-card { animation-delay: .39s; }
.story-grid > div:nth-child(15) .story-card { animation-delay: .42s; }

.story-card-ring {
    padding: 3px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-tint), var(--warning-color));
    box-shadow: 0 2px 16px var(--shadow-color);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.story-card:hover .story-card-ring {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px var(--shadow-color-lg);
}

.story-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: calc(var(--r-lg) - 3px);
    background: var(--assest-color);
}

.story-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.story-card:hover .story-card-media img {
    transform: scale(1.06);
}

.story-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .32) 45%, rgba(0, 0, 0, 0) 68%);
    pointer-events: none;
}

.story-card-topbar {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}

.story-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.story-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.story-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
    font-size: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}

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

.story-icon-btn-danger:hover {
    color: var(--red-color);
}

.story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 31, 48, .55);
    color: var(--white-color);
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s var(--ease), transform 0.15s var(--ease);
    z-index: 2;
}

.story-play-btn:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.08);
}

.story-play-btn:focus,
.story-play-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.story-card-overlay-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    z-index: 2;
}

.story-card-desc {
    margin: 0 0 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--white-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.story-card-overlay-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.story-toggle-btn {
    padding: 4px 14px !important;
    font-size: 0.7rem !important;
    flex-shrink: 0;
}

.story-card-overlay-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.story-card-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--white-color);
}

.story-card-views i {
    color: var(--white-color);
}

.story-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted-color);
    animation: fadeUp 0.4s var(--ease) both;
}

.story-empty-state i {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: inline-block;
}

.story-empty-state p {
    margin: 0;
    font-weight: 600;
}

.rotate {
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

/* Settings Copy Field (App Setting - API Path / API Token) */
.settings-copy-field {
    display: flex;
    align-items: center;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    padding: 4px;
}
.settings-copy-label {
    flex-shrink: 0;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--body-color);
    white-space: nowrap;
}
.settings-copy-field .form-control {
    background: var(--surface-color);
    border: none;
    border-radius: calc(var(--r-md) - 4px);
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.82rem;
}
.settings-copy-field .form-control[readonly] {
    background: var(--surface-color);
}
.settings-copy-field .form-control:focus {
    box-shadow: none;
}
.settings-copy-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin-left: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.settings-copy-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-1px);
}

/* Settings Row Card (App Setting - Social Links / Onboarding Screens) */
.settings-row-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}
.settings-row-card:last-of-type {
    border-bottom: none;
}
.settings-row-card .form-group {
    flex: 1 1 160px;
    min-width: 0;
    margin-bottom: 0;
}
.settings-row-card .image-upload-wrapper.image-upload-compact {
    width: 77px;
}
.image-upload-wrapper.image-upload-compact .drop-area {
    width: 77px;
    height: 77px;
    border-radius: var(--r-sm);
}
.image-upload-wrapper.image-upload-compact .drop-placeholder {
    padding: 4px;
    gap: 2px;
}
.image-upload-wrapper.image-upload-compact .drop-icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
}
.image-upload-wrapper.image-upload-compact .drop-title,
.image-upload-wrapper.image-upload-compact .drop-hint {
    display: none;
}
.image-upload-wrapper.image-upload-compact img {
    border-radius: calc(var(--r-sm) - 2px);
}
.settings-row-action-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 13px;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.settings-row-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--shadow-color);
}
.settings-row-action-btn:focus,
.settings-row-action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0;
}
.settings-row-action-add {
    background: var(--green-color);
}
.settings-row-action-remove {
    background: var(--red-color);
}

/* RTL Fixes: DataTables length/filter/info/pagination use hardcoded left/right values that don't mirror for Arabic layouts */
html[dir="rtl"] div.dataTables_wrapper div.dataTables_length label,
html[dir="rtl"] div.dataTables_wrapper div.dataTables_filter label {
    text-align: right;
}
html[dir="rtl"] div.dataTables_wrapper div.dataTables_filter label input.form-control {
    margin-left: 0;
    margin-right: 13px;
    text-align: right;
}
html[dir="rtl"] div.dataTables_wrapper div.dataTables_info {
    text-align: right;
}
html[dir="rtl"] div.dataTables_wrapper div.dataTables_paginate {
    text-align: left;
}
html[dir="rtl"] div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: flex-start;
}
html[dir="rtl"] .pagination .page-link i {
    transform: rotate(180deg);
}

/* ==================== Admin Login Page ==================== */
.login-brand {
    color: var(--primary-color);
    font-weight: 600;
}
.login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg-color);
}

/* Animated background */
.login-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    animation: loginOrbFloat 16s ease-in-out infinite;
}
.login-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle at 30% 30%, var(--primary-color), transparent 70%);
}
.login-orb-2 {
    width: 380px;
    height: 380px;
    bottom: -140px;
    right: -80px;
    background: radial-gradient(circle at 60% 60%, var(--primary-dark), transparent 70%);
    animation-delay: -5s;
    animation-duration: 20s;
}
.login-orb-3 {
    width: 260px;
    height: 260px;
    top: 45%;
    left: 55%;
    background: radial-gradient(circle, var(--primary-tint), transparent 70%);
    animation-delay: -10s;
    animation-duration: 14s;
    filter: blur(60px) hue-rotate(55deg);
}
[data-theme="dark"] .login-orb {
    opacity: .28;
}
@keyframes loginOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.08); }
    66% { transform: translate(-20px, 25px) scale(0.96); }
}
.login-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, var(--black-color) 0%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 40%, var(--black-color) 0%, transparent 75%);
}
[data-theme="dark"] .login-grid {
    opacity: .2;
}

/* Decorative floating domain icons */
.login-float {
    position: absolute;
    color: var(--primary-color);
    opacity: .14;
    animation: loginIconDrift 7s ease-in-out infinite;
}
[data-theme="dark"] .login-float {
    opacity: .16;
}
.login-float-1 { top: 12%; left: 44%; font-size: 34px; animation-duration: 8s; }
.login-float-2 { top: 66%; left: 9%; font-size: 30px; animation-duration: 9s; animation-delay: -2s; }
.login-float-3 { top: 26%; left: 5%; font-size: 40px; animation-duration: 10s; animation-delay: -4s; }
.login-float-4 { top: 82%; left: 34%; font-size: 26px; animation-duration: 7.5s; animation-delay: -1s; }
.login-float-5 { top: 48%; left: 21%; font-size: 28px; animation-duration: 8.5s; animation-delay: -3s; }
@media (max-width: 991px) {
    .login-float {
        display: none;
    }
}
@keyframes loginIconDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

/* Theme toggle */
.login-theme-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px var(--shadow-color);
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.login-theme-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px var(--shadow-color);
}
.login-theme-btn:active {
    transform: translateY(0) scale(.92);
}
.login-theme-btn:focus,
.login-theme-btn:focus-visible {
    outline: none;
}
.login-theme-btn i {
    font-size: 17px;
    color: var(--primary-color);
}

/* Version badge — mirrors the app logo's top-left position, pinned opposite (bottom-right) */
.login-version-badge {
    position: fixed;
    right: 60px;
    top: 78px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--primary-color);
    background: var(--active-nav-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px var(--shadow-color);
}
@media (max-width: 991px) {
    .login-version-badge {
        right: 16px;
        bottom: 16px;
    }
}

/* Layout */
.login-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 100vh;
}
@media (max-width: 991px) {
    .login-panel {
        grid-template-columns: 1fr;
    }
    .login-brand-panel {
        display: none;
    }
}

.login-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 60px;
}
.login-brand-inner {
    max-width: 545px;
    width: 100%;
    animation: loginFadeUp .7s var(--ease) both;
}

.login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--primary-color);
    background: var(--active-nav-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 26px;
}

.login-brand-inner h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 22px 0 12px;
    background: linear-gradient(135deg, var(--body-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.login-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-color);
    margin-bottom: 32px;
}

.login-mark-wrap {
    position: relative;
    width: 64px;
    height: 64px;
}
.login-mark-ring {
    position: absolute;
    inset: -10px;
    border-radius: var(--r-lg);
    border: 2px solid var(--primary-color);
    opacity: .4;
    animation: loginRingPulse 2.6s var(--ease) infinite;
}
.login-mark {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), .35);
}
.login-mark img {
    width: 62px;
    height: 62px;
    border-radius: var(--r-lg);
}
.login-mark i {
    font-size: 26px;
    color: var(--white-color);
}
.login-mark-sm {
    display: none;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
}
.login-mark-sm i {
    font-size: 21px;
}
@media (max-width: 991px) {
    .login-mark-sm {
        display: flex;
    }
}
@keyframes loginRingPulse {
    0% { transform: scale(.9); opacity: .5; }
    70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* Feature grid */
.login-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 1200px) {
    .login-features {
        grid-template-columns: 1fr;
    }
}
.login-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--r-md);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px var(--shadow-color);
    animation: loginFadeUp .6s var(--ease) both;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.login-feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 22px var(--shadow-color);
}
.login-feature-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}
.login-feature-icon i {
    font-size: 16px;
    color: var(--white-color);
}
.login-feature:nth-child(2) .login-feature-icon { filter: hue-rotate(-12deg); }
.login-feature:nth-child(3) .login-feature-icon { filter: hue-rotate(18deg); }
.login-feature:nth-child(4) .login-feature-icon { filter: hue-rotate(-24deg); }
.login-feature:nth-child(1) { animation-delay: 0ms; }
.login-feature:nth-child(2) { animation-delay: 90ms; }
.login-feature:nth-child(3) { animation-delay: 180ms; }
.login-feature:nth-child(4) { animation-delay: 270ms; }
.login-feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--body-color);
    margin-bottom: 4px;
}
.login-feature-text p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted-color);
    margin: 0;
}

.login-brand-footer {
    margin-top: 34px;
    font-size: 12.5px;
    color: var(--muted-color);
}

.login-card-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 44px 38px;
    border-radius: var(--r-lg);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px var(--shadow-color-lg);
    animation: loginPop .5s var(--ease) both;
    overflow: hidden;
}
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-tint), var(--primary-dark));
}

.login-head {
    text-align: center;
    margin-bottom: 30px;
}
.login-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 6px;
}
.login-head p {
    font-size: 14px;
    color: var(--muted-color);
}

/* Floating-label fields */
.login-field {
    position: relative;
    margin-bottom: 22px;
}
.login-field input {
    width: 100%;
    height: 54px;
    padding: 20px 16px 6px 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--body-color);
    font-size: 15px;
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.login-field-pw input {
    padding-right: 46px;
}
.login-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15);
}
.login-field-icon {
    position: absolute;
    left: 16px;
    top: 27px;
    font-size: 14px;
    color: var(--muted-color);
    transition: color .2s var(--ease);
    pointer-events: none;
}
.login-field input:focus ~ .login-field-icon {
    color: var(--primary-color);
}
.login-field label {
    position: absolute;
    left: 44px;
    top: 16px;
    font-size: 15px;
    color: var(--muted-color);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .18s var(--ease), top .18s var(--ease), color .18s var(--ease);
}
.login-field input:focus ~ label,
.login-field input:not(:placeholder-shown) ~ label,
.login-field input:-webkit-autofill ~ label,
.login-field input:autofill ~ label {
    top: 7px;
    transform: scale(.72);
    color: var(--primary-color);
}
.login-field input:-webkit-autofill,
.login-field input:-webkit-autofill:hover,
.login-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-color) inset;
    -webkit-text-fill-color: var(--body-color);
    caret-color: var(--body-color);
    transition: background-color 9999s ease-in-out 0s;
}

.login-pw-toggle {
    position: absolute;
    right: 12px;
    top: 0;
    height: 54px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--muted-color);
    cursor: pointer;
}
.login-pw-toggle:hover {
    color: var(--primary-color);
}
.login-pw-toggle:focus,
.login-pw-toggle:focus-visible {
    outline: none;
}

.login-submit {
    position: relative;
    width: 100%;
    height: 52px;
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), .3);
}
.login-submit:focus,
.login-submit:focus-visible {
    outline: none;
}
.login-submit-content {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .15s var(--ease);
}
.login-submit-content i {
    transition: transform .2s var(--ease);
}
.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(var(--primary-rgb), .38);
}
.login-submit:hover .login-submit-content i {
    transform: translateX(4px);
}
.login-submit:active {
    transform: translateY(0);
}
.login-submit:disabled {
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), .3) !important;
}
.login-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(var(--white-rgb), .35);
    border-top-color: var(--white-color);
    border-radius: 50%;
    opacity: 0;
    animation: loginSpin .7s linear infinite;
}
.login-submit.is-loading .login-submit-content {
    opacity: 0;
}
.login-submit.is-loading .login-spinner {
    opacity: 1;
}
@keyframes loginSpin {
    to { transform: rotate(360deg); }
}

.login-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted-color);
}
.login-secure-note i {
    color: var(--primary-color);
}

.login-demo {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: var(--muted-color);
}
.login-demo a {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes loginFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes loginPop {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== Dashboard (dash-*) ==================== */
:root {
    --green-rgb: 22, 163, 74;
    --warning-rgb: 217, 119, 6;
}
[data-theme="dark"] {
    --green-rgb: 74, 222, 128;
    --warning-rgb: 251, 191, 36;
}

.dash-accent-primary { --accent: var(--primary-color); --accent-rgb: var(--primary-rgb); }
.dash-accent-green   { --accent: var(--green-color);   --accent-rgb: var(--green-rgb); }
.dash-accent-warning { --accent: var(--warning-color); --accent-rgb: var(--warning-rgb); }
.dash-accent-red     { --accent: var(--red-color);     --accent-rgb: var(--red-rgb); }

/* Stat cards */
.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}
.dash-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: 0 1px 3px var(--shadow-color);
    overflow: hidden;
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.dash-stat-card:nth-child(2) { animation-delay: .05s; }
.dash-stat-card:nth-child(3) { animation-delay: .1s; }
.dash-stat-card:nth-child(4) { animation-delay: .15s; }
.dash-stat-card:nth-child(5) { animation-delay: .2s; }
.dash-stat-card:nth-child(6) { animation-delay: .25s; }
.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
}
.dash-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--shadow-color-lg);
    border-color: rgba(var(--accent-rgb), .4);
}
.dash-stat-icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white-color);
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(var(--accent-rgb), .35);
}
.dash-stat-info { min-width: 0; }
.dash-stat-info h3 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--body-color);
    line-height: 1.2;
}
.dash-stat-info span {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--muted-color);
}

/* Panels */
.dash-grid-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}
.dash-panel {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: 0 1px 3px var(--shadow-color);
    padding: 22px;
    animation: fadeUp 0.45s var(--ease) both;
}
/* Staged cascade: stat cards, then chart/engagement panels, then top creators */
.dash-grid-main .dash-panel:nth-child(1) {
    animation-delay: .12s;
}
.dash-grid-main .dash-panel:nth-child(2) {
    animation-delay: .18s;
}
.dash-grid-main + .dash-panel {
    animation-delay: .26s;
}
.dash-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.dash-panel-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
    color: var(--body-color);
}
.dash-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.dash-link:hover {
    border-bottom-color: var(--primary-color);
}

/* Toggle pills */
.dash-toggle-group {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--assest-color);
    border-radius: 999px;
    margin-bottom: 18px;
}
.dash-toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-color);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dash-toggle-btn:hover {
    color: var(--primary-color);
}
.dash-toggle-btn:focus,
.dash-toggle-btn:focus-visible {
    outline: none;
    box-shadow: none;
}
.dash-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .32);
}
.dash-toggle-btn.active:hover,
.dash-toggle-btn.active:focus,
.dash-toggle-btn.active:focus-visible {
    color: var(--white-color);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .32);
}
.dash-chart-wrap {
    margin: 0 -4px;
}

/* Engagement Overview */
.dash-section-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted-color);
    margin: 18px 0 10px;
}
.dash-section-label:first-child {
    margin-top: 0;
}
.dash-engage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dash-engage-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-engage-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white-color);
    background: var(--accent);
}
.dash-engage-meta {
    flex: 1;
    min-width: 0;
}
.dash-engage-meta-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 8px;
}
.dash-engage-meta-top span {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-color);
}
.dash-engage-meta-top b {
    font-size: 15px;
    font-weight: 800;
    color: var(--body-color);
}
.dash-engage-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--assest-color);
    overflow: hidden;
}
.dash-engage-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.6s var(--ease);
}

/* Top hashtags cloud */
.dash-hashtag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dash-hashtag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--assest-color);
    color: var(--primary-color);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dash-hashtag-chip:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}
.dash-hashtag-chip .count {
    background: rgba(var(--primary-rgb), .16);
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.dash-hashtag-chip.rank-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    box-shadow: 0 6px 14px rgba(var(--primary-rgb), .3);
}
.dash-hashtag-chip.rank-1 .count {
    background: rgba(255, 255, 255, .25);
    color: var(--white-color);
}

/* Compact most-viewed-post row */
.dash-mini-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    background: var(--bg-color);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.dash-mini-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color-lg);
}
.dash-mini-post-thumb {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--assest-color);
}
.dash-mini-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dash-mini-post-info {
    flex: 1;
    min-width: 0;
}
.dash-mini-post-info .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted-color);
    margin: 0 0 2px;
}
.dash-mini-post-info .title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.dash-mini-post-views {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

/* Empty state */
.dash-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 46px 16px;
    color: var(--muted-color);
}
.dash-empty i {
    font-size: 30px;
    opacity: .5;
}

/* Top creators */
.dash-creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
}
.dash-creator-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    padding: 16px;
    text-align: center;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.dash-creator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px var(--shadow-color-lg);
    border-color: var(--primary-color);
}
.dash-creator-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-50);
}
.dash-creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dash-creator-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-creator-bio {
    font-size: 12px;
    color: var(--muted-color);
    margin: 0;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .dash-grid-main {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .dash-stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .dash-panel {
        padding: 16px;
    }
}

/* ==================== Earning Dashboard (earn-*) ==================== */

/* Revenue hero cards */
.earn-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}
.earn-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    padding: 26px 28px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    animation: fadeUp 0.4s var(--ease) both;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.earn-hero-card:nth-child(2) {
    animation-delay: .08s;
}
.earn-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color-lg);
}
.earn-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-grad);
}
.earn-hero-coin {
    --accent-grad: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}
.earn-hero-creator {
    --accent-grad: linear-gradient(90deg, var(--warning-color), var(--red-color));
}
.earn-hero-decor {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
}
.earn-hero-coin .earn-hero-decor {
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), .14), transparent 70%);
}
.earn-hero-creator .earn-hero-decor {
    background: radial-gradient(circle at 30% 30%, rgba(var(--warning-rgb), .16), transparent 70%);
}
.earn-hero-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.earn-hero-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--accent-grad);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.earn-hero-coin .earn-hero-icon {
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), .35);
}
.earn-hero-creator .earn-hero-icon {
    box-shadow: 0 8px 18px rgba(var(--warning-rgb), .35);
}
.earn-hero-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted-color);
}
.earn-hero-total {
    position: relative;
    z-index: 1;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 20px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.earn-hero-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.earn-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--assest-color);
    font-size: 12.5px;
    font-weight: 600;
}
.earn-hero-coin .earn-hero-chip {
    color: var(--primary-color);
}
.earn-hero-creator .earn-hero-chip {
    color: var(--red-color);
}

/* Panels */
.earn-grid-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.earn-panel {
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: 0 1px 3px var(--shadow-color);
    padding: 22px;
    animation: fadeUp 0.45s var(--ease) both;
}
/* Staged cascade: hero cards, then leaderboard/chart panels */
.earn-grid-main .earn-panel:nth-child(1) {
    animation-delay: .16s;
}
.earn-grid-main .earn-panel:nth-child(2) {
    animation-delay: .22s;
}
.earn-panel-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}
.earn-panel-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.earn-panel-icon {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.earn-panel-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--body-color);
}
.earn-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.earn-link:hover {
    border-bottom-color: var(--primary-color);
}

/* Leaderboard */
.earn-leaderboard {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.earn-lb-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--r-md);
    animation: fadeUp 0.4s var(--ease) both;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.earn-lb-row:nth-child(1) { animation-delay: .05s; }
.earn-lb-row:nth-child(2) { animation-delay: .1s; }
.earn-lb-row:nth-child(3) { animation-delay: .15s; }
.earn-lb-row:nth-child(4) { animation-delay: .2s; }
.earn-lb-row:nth-child(5) { animation-delay: .25s; }
.earn-lb-row:nth-child(6) { animation-delay: .3s; }
.earn-lb-row:hover {
    background: var(--assest-color);
    transform: translateX(3px);
}
.earn-lb-rank {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    background: var(--assest-color);
    color: var(--muted-color);
}
.earn-lb-rank.top-1 {
    background: linear-gradient(135deg, #FFD874, #E8A93B);
    color: #5A3A00;
}
.earn-lb-rank.top-2 {
    background: linear-gradient(135deg, #E2E8F0, #B7C1CC);
    color: #334155;
}
.earn-lb-rank.top-3 {
    background: linear-gradient(135deg, #F3C08A, #C9793C);
    color: #4A2600;
}
.earn-lb-avatar {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: border-color 0.2s var(--ease);
}
.earn-lb-avatar.top-1 {
    border-color: #E8A93B;
}
.earn-lb-avatar.top-2 {
    border-color: #B7C1CC;
}
.earn-lb-avatar.top-3 {
    border-color: #C9793C;
}
.earn-lb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.earn-lb-info {
    flex: 1;
    min-width: 0;
}
.earn-lb-name {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    color: var(--body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.earn-lb-bio {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--muted-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.earn-lb-bar {
    height: 5px;
    border-radius: 999px;
    background: var(--assest-color);
    overflow: hidden;
}
.earn-lb-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transition: width 0.6s var(--ease);
}
.earn-lb-amount {
    flex: none;
    font-size: 14px;
    font-weight: 800;
    color: var(--green-color);
    padding-left: 6px;
}

/* Chart */
.earn-chart-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.earn-chart-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    padding: 12px 10px 4px;
}

/* Empty state */
.earn-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 46px 16px;
    color: var(--muted-color);
}
.earn-empty i {
    font-size: 30px;
    opacity: .5;
}

@media (max-width: 991px) {
    .earn-grid-main {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .earn-hero-total {
        font-size: 1.7rem;
    }
    .earn-panel {
        padding: 16px;
    }
}

/* # sourceMappingURL=style.css.map */