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

:root {
    --body-color: #1b1b1b;
    --white-color: #fff;
    --black-color: #000;
    --primary-color: #ff7a1a;
    --assest-color: #e9ecef;
    --dark-color: rgba(0, 0, 0, 0.06);
    --black-50: rgba(0, 0, 0, 0.6);
    --light-color: #f5f5f5;
    --green-color: #058f00;
    --red-color: #e3000b;
    --artist-card-color: rgba(1, 1, 1, 0.05);
    --primary-light: rgba(255, 122, 26, 0.1);
    --light-gray: #818181;
    --logo-color: #ff9e00;
    --header-height: 64px;
    --light-green: rgba(5, 143, 0, 0.16);
    --light-red: rgba(227, 0, 11, 0.16);
    --light-warning: rgba(255, 158, 0, 0.12);
    --blue-color: #0064c8;
    --light-blue: rgba(0, 100, 200, 0.1);

    /* White transparency — soft / mid / strong */
    --white-alpha-1: rgba(255, 255, 255, 0.12);
    --white-alpha-2: rgba(255, 255, 255, 0.4);
    --white-alpha-3: rgba(255, 255, 255, 0.72);
    /* Black transparency — soft / mid / strong */
    --black-alpha-1: rgba(0, 0, 0, 0.1);
    /* Primary transparency — soft / mid / strong */
    --primary-alpha-1: rgba(255, 122, 26, 0.15);
    --primary-alpha-2: rgba(255, 122, 26, 0.36);
    --primary-alpha-3: #ffe8d5;
    --primary-alpha-4: #ffd0aa;

    /* Typography & shadows */
    --font: "Poppins", sans-serif;
    --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.12);

    /* Login Page Variables */
    --login-btn-end: #ff5500;
    --login-border: rgba(255, 255, 255, 0.08);
    --login-input-bg: rgba(0, 0, 0, 0.4);
    --login-card-bg: rgba(12, 12, 12, 0.75);
    --login-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html,
body {
    height: 100%;
    overflow: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--body-color);
    font-size: 14px;
    overflow-x: hidden;
    background-color: var(--assest-color);
}

.logo {
    font-weight: bold;
    font-size: 60px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

.defaultfont {
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none !important;
}

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

.text-gray {
    color: var(--body-color);
    opacity: 0.6;
}

.logo-color {
    color: var(--logo-color) !important;
}

.rounded-10 {
    border-radius: 10px !important;
}

.breadcrumb-item a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.checkbox {
    height: 20px;
    width: 20px;
    accent-color: var(--primary-color);
}

/* Hide-Show Btn */
.show-btn,
.hide-btn,
.warning-btn,
.primary-btn {
    font-weight: bold;
    border: none;
    padding: 4px 10px;
    outline: none;
    border-radius: 50px;
    box-sizing: border-box;
    font-size: 12px !important;
}

.show-btn {
    background-color: var(--light-green);
    color: var(--green-color);
}

.primary-btn {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.hide-btn {
    background-color: var(--light-red);
    color: var(--red-color);
}

.warning-btn {
    background-color: var(--light-warning);
    color: var(--logo-color);
}

.show-btn:focus,
.hide-btn:focus,
.warning-btn:focus,
.primary-btn:focus {
    outline: none;
    box-shadow: none;
}

.list-btn {
    color: var(--white-color);
    background-color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.list-btn:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.list-btn:focus {
    outline: none;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 10px;
}

.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: var(--primary-color);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 7px 18px;
}

.btn-default:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.btn-default:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.btn-default.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    background-color: var(--white-color);
    color: var(--light-gray);
    border: 1px solid var(--light-gray);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-default.btn-sm:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-default.btn-sm.active {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* btn Cancel */
.btn-cancel {
    background: var(--black-color);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 7px 18px;
}

.btn-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}

.listitemClass {
    cursor: grab;
}

.size-55 {
    height: 55px;
    width: 55px;
}

.social-link-img {
    height: 90px;
    width: 120px;
}

.onboarding-img {
    height: 90px;
    width: 90px;
}

.color-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.color-box span {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

/* Custom-Card */

.counter-row {
    margin-bottom: 5px;
}

.custom-card {
    background-color: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 12px;
    -webkit-box-shadow: 0 1px 4px var(--dark-color);
    box-shadow: 0 1px 4px var(--dark-color);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    overflow: hidden;
    margin-bottom: 16px;
}

.custom-card .card-body h3 {
    margin: 0 0 4px;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--body-color);
}

.custom-card .card-body span {
    font-size: 12px;
    color: var(--light-gray);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
}

.custom-card .card-body {
    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;
    padding: 18px;
    gap: 12px;
}

.card-icon-primary {
    padding: 0;
    border-radius: 10px;
    color: var(--primary-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--primary-light);
    width: 52px;
    height: 52px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.card-color-primary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-transform-origin: left;
    transform-origin: left;
}

.card-icon-primary i {
    font-size: 20px !important;
}

.card-color-primary:hover {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 4px 20px var(--primary-alpha-1);
    box-shadow: 0 4px 20px var(--primary-alpha-1);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.card-color-primary:hover:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

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

.card-color-primary .card-body {
    color: var(--body-color);
}

.box-title {
    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;
    border-bottom: 1px solid var(--assest-color);
    padding-bottom: 14px;
    margin-top: 0;
    margin-bottom: 4px;
    gap: 8px;
}

.box-title .title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: var(--body-color);
    letter-spacing: 0.01em;
}

.mw-120 {
    min-width: 120px;
}

.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 1rem;
}

.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 {
    -webkit-box-shadow: 0 15px 35px var(--dark-color);
    box-shadow: 0 15px 35px var(--dark-color);
    padding: 4px;
    border: 0;
    border-radius: 12px;
}

.dropdown-menu .dropdown-item {
    font-weight: 500;
    border-bottom: 1px solid var(--light-color);
    padding: 7px 11px;
    font-size: 14px;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}

.bg-primary-color {
    background-color: var(--primary-color) !important;
}

.W-100 {
    width: 100% !important;
}

.bg-green {
    background: var(--green-color) !important;
}

.db-imgs {
    height: 150px;
    width: 100%;
    border-radius: 5px;
}

.db-title {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.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;
}

.side-toggle span {
    background: var(--primary-color);
    width: 22px;
    height: 3px;
    margin: 2px;
    border-radius: 50px;
}

.side-toggle span:nth-child(2) {
    width: 26px;
}

.sidebar .side-head .side-toggle span {
    background: var(--white-alpha-3);
}

.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(--black-color);
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 260px;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition:
        width 0.3s ease,
        -webkit-transform 0.3s ease;
    transition:
        width 0.3s ease,
        transform 0.3s ease;
    border-right: 1px solid var(--white-alpha-1);
    z-index: 100;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

@media (min-width: 1680px) {
    .sidebar {
        width: 280px;
    }
}

.sidebar.hide-sidebar {
    width: 72px;
    padding: 0;
}

@media (min-width: 1024px) {
    .sidebar.hide-sidebar .side-menu .side-submenu a.dropdown-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        margin: 4px 10px;
        border-left: none;
        border-radius: 10px;
    }

    .hide-sidebar .side-menu .side-submenu a.dropdown-item {
        height: 35px;
        margin-left: 15px !important;
    }

    .sidebar.hide-sidebar .side-menu .partition {
        display: none;
    }

    .sidebar.hide-sidebar .side-head {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 15px 12px;
    }

    .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: 2px auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 7px;
        height: 44px;
        width: 44px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-left: none !important;
        border-radius: 10px;
    }

    .sidebar.hide-sidebar .side-menu a .menu-icon {
        margin-right: 0;
        width: 30px;
        height: 30px;
        font-size: 14px !important;
    }

    .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;
    }

    .sidebar.hide-sidebar .side-menu .side-submenu .submenu-icon {
        margin: 0;
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

@media (min-width: 1680px) {
    .sidebar.hide-sidebar .side-head {
        padding: 0 12px;
    }
}

.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 20px;
    height: 64px;
    border-bottom: 1px solid var(--white-alpha-1);
    position: sticky;
    top: 0;
    background: var(--black-color);
    z-index: 10000;
}

.sidebar .side-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    width: auto;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--white-color);
}

.sidebar .side-logo:hover {
    color: var(--white-alpha-3);
}

.side-logo:hover{
    color: var(--primary-alpha-4);
}

.sidebar .side-menu {
    padding: 8px 0 28px;
    list-style: none;
    margin: 0;
}

.sidebar .side-menu a {
    color: var(--white-alpha-3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 9px 12px;
    margin: 2px 10px;
    position: relative;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 10px;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

.sidebar.hide-sidebar .side-menu .side_line.active a:after {
    display: none;
}

.sidebar .side-menu .side_line.active a:after {
    content: none;
}

.sidebar .side-menu a i {
    font-size: 15px !important;
}

.sidebar .side-menu a .menu-icon {
    margin-right: 11px;
    width: 30px;
    height: 30px;
    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;
    border-radius: 8px;
    background: var(--white-alpha-1);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: var(--white-alpha-3);
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.sidebar .side-menu .dropdown-menu a i {
    font-size: 13px !important;
}

.sidebar .side-menu .dropdown-menu a .submenu-icon {
    margin-right: 10px;
    width: 26px;
    height: 26px;
    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;
    border-radius: 7px;
    background: var(--white-alpha-1);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: var(--white-alpha-3);
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.sidebar .side-menu a:hover {
    background: var(--white-alpha-1);
    color: var(--white-color);
}

.sidebar .side-menu a:hover .menu-icon,
.sidebar .side-menu a:hover .submenu-icon {
    background: var(--white-alpha-1);
    color: var(--white-color);
}

.sidebar .side-menu .active a {
    background: var(--primary-color);
    color: var(--black-color);
    border-left: 3px solid transparent;
    font-weight: 600;
}

.sidebar .side-menu .active a .menu-icon {
    -webkit-filter: none;
    filter: none;
    background: var(--white-alpha-2);
    color: var(--black-color);
}

.sidebar .side-menu .active .dropdown-menu .active .submenu-icon {
    -webkit-filter: none;
    filter: none;
    background: var(--white-alpha-2);
    color: var(--black-color);
}

.sidebar .side-menu .dropdown-toggle::after {
    position: absolute;
    right: 14px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
}

.sidebar .side-menu .dropdown-menu {
    position: relative !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    float: none;
    background: transparent;
    margin-left: 20px;
    padding: 2px 0;
    border-left: none;
    border-radius: 0;
}

.sidebar .side-menu .dropdown-menu .dropdown-item {
    padding: 7px 12px;
    background: transparent;
    color: var(--white-alpha-3);
    font-size: 13px;
    border-bottom: none;
    border-radius: 8px;
    margin: 1px 10px 1px 4px;
    width: auto;
}

.right-content {
    margin-left: 260px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.sidebar .side-menu .side-submenu a {
    color: var(--white-alpha-3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 7px 12px;
    position: relative;
    margin: 2px 4px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 8px;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.sidebar .side-menu .side-submenu .active {
    background: transparent;
    border-radius: 0;
    color: inherit;
}

.sidebar .side-menu .side-submenu a:hover {
    background: var(--white-alpha-1);
}

.sidebar .side-menu .side-submenu .active a {
    color: var(--black-color);
    background: var(--primary-color);
    font-weight: 600;
    border-left: 3px solid transparent;
    -webkit-box-shadow: 0 1px 6px var(--black-alpha-1);
    box-shadow: 0 1px 6px var(--black-alpha-1);
}

@media (min-width: 1680px) {
    .right-content {
        margin-left: 280px;
    }
}

.right-content.right-content-0 {
    margin-left: 72px;
}

.right-content.right-content-0 .header .title-control .side-toggle {
    display: none;
}

.header {
    position: sticky;
    -webkit-position: -webkit-sticky;
    top: 0;
    background: var(--white-color);
    z-index: 22;
    padding: 0 24px;
    height: var(--header-height);
    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;
    border-bottom: 1px solid var(--assest-color);
    -webkit-box-shadow: var(--dark-color);
    box-shadow: var(--dark-color);
}

.header .title-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
}

.header .title-control .side-toggle {
    margin-right: 0;
    display: none;
}

.header .page-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--body-color);
    letter-spacing: -0.2px;
}

.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;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.header .head-control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.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;
    box-sizing: border-box;
    padding: 8px 12px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 0;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition:
        background 0.18s ease,
        border-color 0.18s ease;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.header .head-control .head-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.avatar-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.body-content {
    padding: 25px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: var(--primary-alpha-3);
}

.table {
    border-color: var(--light-color);
    min-width: 650px;
}

.table thead th {
    font-size: 14px;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid var(--light-color);
}

.table td {
    font-size: 14px;
    border-bottom: 1px solid var(--light-color);
    border-top: 0;
    vertical-align: middle;
}

.table .avatar-img {
    margin-right: 10px;
}

.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;
}

.table .btn img {
    width: 16px;
}

.dot {
    height: 8px;
    width: 8px;
    background: var(--red-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.chart-summary {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.chart-summary li {
    font-size: 16px;
    font-weight: 600;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px 0;
}

.chart-summary li:last-child {
    border-bottom: 0;
}

.chart-summary li p {
    margin: 0;
}

.chart-summary li .percentage {
    opacity: 0.7;
}

.custom-tabs {
    border-radius: 100px;
}

.custom-tabs li.nav-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.custom-tabs .nav-link {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white-color);
    padding: 10px;
}

.custom-tabs .nav-link:hover {
    background-color: var(--white-alpha-1);
}

.custom-tabs .nav-link.active {
    background: var(--white-color);
    color: var(--primary-color);
}

.summary-table-card .border-card {
    padding: 10px;
    border: 1px solid var(--light-color);
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.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;
}

.pagination {
    padding: 5px;
    border: 1px solid var(--light-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;
}

.modal .close {
    font-size: 34px;
    color: var(--white-color);
    opacity: 1;
    position: absolute;
    right: 5px;
    top: 0px;
    font-weight: 200;
    z-index: 22;
    outline: none;
}

.modal-content {
    overflow: hidden;
}

.modal-header {
    background: var(--primary-light);
    border-bottom: 1px solid var(--primary-alpha-4);
    padding: 14px 20px;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--body-color);
    letter-spacing: 0.01em;
}

.modal-header i {
    color: var(--primary-color);
    font-size: 13px;
}

.inline-tabs {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    z-index: 2;
    gap: 10px;
}

.inline-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.inline-tabs .nav-link {
    padding: 8px 16px;
}

.app-right-btn {
    text-align: right;
    margin-top: -60px;
    margin-bottom: 30px;
}

.custom-border-card {
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: 0 2px 10px var(--dark-color);
    box-shadow: 0 2px 10px var(--dark-color);
    padding: 22px 26px;
    border-radius: 16px;
    margin-bottom: 22px;
    background: var(--white-color);
}

.custom-border-card .card-header {
    font-size: 15px;
    background: var(--primary-light);
    margin: -22px -26px 20px;
    padding: 14px 26px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-alpha-4);
    letter-spacing: 0.01em;
    color: var(--body-color);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-border-card .card-header i {
    color: var(--primary-color);
    font-size: 13px;
}

.custom-border-card .card-body {
    padding: 20px 0 4px;
}

/* ---- Reference images grid (poster detail) ---- */
.ref-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ref-image-item {
    flex: 1 1 calc(20% - 12px);
    min-width: 120px;
    max-width: calc(20% - 10px);
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--assest-color);
    display: block;
    aspect-ratio: 1 / 1;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.ref-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--black-alpha-1);
}

.ref-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .ref-image-item {
        flex: 1 1 calc(33.33% - 10px);
        max-width: calc(33.33% - 9px);
    }
}

@media (max-width: 480px) {
    .ref-image-item {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 7px);
    }
}

.form-group label {
    font-weight: 500;
    color: var(--body-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.form-control,
.custom-select {
    border: 1px solid var(--light-color);
    background: var(--white-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);
}

.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(--light-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(--primary-light);
    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(--light-gray);
}

.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(--light-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;
}

.install-bg {
    background: var(--white-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;
}

@media (min-width: 1600px) {
    .table thead th,
    .table td {
        font-size: 16px;
    }

    .custom-tabs .nav-link,
    .summary-table-card .border-card {
        font-size: 14px;
    }

    .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: 15px;
    }

    .header .title-control .side-toggle {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header .side-logo {
        display: block;
    }

    .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(--light-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: 10px;
    }

    .box-title .title {
        font-size: 14px;
    }

    .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;
        margin: -16px -20px 16px;
        padding: 12px 20px;
    }

    .file-control {
        padding: 16px;
    }
}

@media (max-width: 567px) {
    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;
    }
}

/* Loader */
#dvloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    background-color: var(--black-50);
    z-index: 9999;
    text-align: center;
}

#dvloader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    height: 150px;
}

/* 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);
}

/* Edit-Delete btn */
.edit-delete-btn {
    cursor: pointer;
    outline: none;
    background: var(--primary-light) !important;
    color: var(--primary-color);
    padding: 7px 8px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.edit-delete-btn:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white-color);
}

.edit-delete-btn:focus {
    outline: none;
    box-shadow: none;
}

.light-gray {
    color: var(--light-gray);
}

.cart-bg {
    padding: 24px;
    background-color: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 16px;
    -webkit-box-shadow: 0 2px 10px var(--dark-color);
    box-shadow: 0 2px 10px var(--dark-color);
}

.cart-bg .box-title {
    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;
}

/* Side Menu Partition */
.partition {
    width: 100%;
    border-bottom: none;
    line-height: 1;
    margin: 18px 0 4px;
    padding: 0 22px;
}

.partition span {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white-alpha-2);
}

/* / 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;
}

/* Demo Mode Box */
.demo-mode-box {
    background: var(--primary-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 6px 18px;
}

.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;
}

.dropdown-menu,
.card {
    background-color: var(--white-color);
    border: none;
}

.form-control {
    background-color: var(--white-color);
    color: var(--body-color);
}

.install-bg-img {
    text-align: center;
}

.install-bg-img img {
    max-width: 100%;
    height: auto;
}

.install-title {
    font-size: 50px;
    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;
}

/* ============================================================
   TOGGLE — Enhanced Premium Switch
   ============================================================ */
.switch {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch label {
    position: relative;
    width: 38px;
    height: 21px;
    border-radius: 21px;
    background: var(--red-color);
    cursor: pointer;
    margin: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-shadow:
        inset 0 1px 3px var(--black-alpha-1),
        0 1px 2px var(--dark-color);
    box-shadow:
        inset 0 1px 3px var(--black-alpha-1),
        0 1px 2px var(--dark-color);
    -webkit-transition:
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition:
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch:hover label {
    background: var(--red-color);
}

.switch label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--white-color);
    -webkit-box-shadow:
        0 1px 4px var(--black-alpha-1),
        0 0 0 0.5px var(--dark-color);
    box-shadow:
        0 1px 4px var(--black-alpha-1),
        0 0 0 0.5px var(--dark-color);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition:
        -webkit-transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.12s ease;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.12s ease;
    will-change: transform;
}

.switch label:active:after {
    width: 18px;
}

.switch input[type="checkbox"]:checked + label {
    background: var(--green-color);
    -webkit-box-shadow:
        inset 0 1px 3px var(--black-alpha-1),
        0 0 0 3px var(--light-green);
    box-shadow:
        inset 0 1px 3px var(--black-alpha-1),
        0 0 0 3px var(--light-green);
}

.switch:hover input[type="checkbox"]:checked + label {
    background: var(--green-color);
}

.switch input[type="checkbox"]:checked + label:after {
    -webkit-transform: translateY(-50%) translateX(17px);
    transform: translateY(-50%) translateX(17px);
}

.status-checkbox {
    display: none;
}

.switch input:not(:checked) ~ .toggle-text::after {
    content: attr(data-off);
    color: var(--red-color);
}

.switch input:checked ~ .toggle-text::after {
    content: attr(data-on);
    color: var(--green-color);
}

.toggle-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 1;
}

.toggle-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--black-color);
}

/* user dropdown in section module  */
.user-filter + .select2-container .select2-selection--single {
    background: var(--white-color) !important;
    padding: 5px;
}

.user-filter
    + .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    color: var(--primary-color) !important;
}

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

/* new table design  */
.table-card {
    background: var(--white-color);
    border-radius: 14px;
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    overflow: hidden;
    padding: 10px 16px 16px;
}

.table-card .table-responsive {
    border-radius: 0;
}

.table-card .table {
    margin-bottom: 0;
}

.table-card .table thead th {
    background: var(--primary-alpha-3);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--body-color);
    padding: 13px 16px;
    border-bottom: 2px solid var(--light-color);
    border-top: 0;
    white-space: nowrap;
    vertical-align: middle;
}

.table-card .table td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--light-color);
    border-top: 0;
    font-size: 13.5px;
}

.table-card tbody tr:last-child td {
    border-bottom: none;
}

.table-card tbody tr:hover td {
    background: var(--primary-alpha-4);
}

.table-card .dataTables_wrapper {
    padding: 0;
}

.table-card .dataTables_wrapper > .row {
    margin: 0;
    padding: 8px 0px 0px 0px;
    border-top: 1px solid var(--assest-color);
}

.table-card .dataTables_info {
    color: var(--light-gray);
}

.table-card .dataTables_length label {
    margin: 0;
    font-size: 12px;
    color: var(--light-gray);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.table-card .dataTables_length select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border: 1px solid var(--assest-color);
    border-radius: 6px;
    padding: 4px 24px 4px 8px;
    font-size: 12px;
    color: var(--black-color);
    height: auto;
    margin: 0;
    cursor: pointer;
    min-width: 56px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.table-card .dataTables_length select.form-control:focus {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 2px var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary-light);
    outline: none;
}

.table-card .dataTables_paginate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.table-card .pagination {
    margin: 0;
    border-radius: 10px;
    background: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 3px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 5px;
    border: 1px solid var(--assest-color);
}

.table-card .pagination .page-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-card .pagination .page-item .page-link {
    border: 1px solid var(--assest-color);
    border-radius: 50%;
    font-size: 12px;
    padding: 5px 10px;
    color: var(--body-color, var(--black-color));
    background: var(--white-color);
    font-weight: 500;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    height: 30px;
    width: 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;
}

.table-card .pagination .page-item.active .page-link {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: var(--white-color);
    -webkit-box-shadow: 0 2px 6px var(--primary-light);
    box-shadow: 0 2px 6px var(--primary-light);
}

.table-card .pagination .page-item .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.table-card .pagination .page-item.active .page-link:hover {
    background: var(--primary-color) !important;
    color: var(--white-color);
}

.table-card .pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* START: IMAGE UPLOAD COMPONENT */
.image-upload-wrapper {
    max-width: 220px;
}

.image-upload-wrapper.small {
    max-width: 100px;
    display: flex;
    align-items: center;
}

.image-upload-wrapper input[type="file"] {
    display: none;
}

.drop-area {
    position: relative;
    width: 85%;
    height: 170px;
    border: 2px dashed var(--assest-color);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-area {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.drop-area img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0;
    transition: 0.3s;
}

.drop-prompt,
.drop-change-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.drop-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 20px;
    margin-bottom: 4px;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-icon {
    width: 30px;
    height: 30px;
}

.drop-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    margin-bottom: 0px !important;
}

.drop-change-hint {
    bottom: 0;
    top: auto;
    height: auto;
    padding: 8px;
    flex-direction: row;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: 0.25s;
}

.image-upload-wrapper.small .drop-change-hint {
    font-size: 9px;
    padding: 4px;
}

.drop-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.drop-area:hover .drop-icon {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.drop-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.image-upload-wrapper.has-preview img {
    opacity: 1;
}

.image-upload-wrapper.has-preview .drop-prompt {
    opacity: 0;
    pointer-events: none;
}

.image-upload-wrapper.has-preview .drop-area:hover .drop-change-hint {
    opacity: 1;
}

/* =============================================================
   Dashboard – Most Played Radio Station & Most Played Podcast
   Premium SaaS-style media card grid
   ============================================================= */

/* Responsive CSS grid container for the media play cards */
.media-play-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: repeat(6, 1fr);
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 20px 0 4px;
}

/* Individual media card – white surface with subtle elevation */
.play-media-card {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    overflow: hidden;
    -webkit-transition:
        -webkit-transform 0.25s ease,
        -webkit-box-shadow 0.25s ease;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    -webkit-box-shadow: 0 2px 8px var(--dark-color);
    box-shadow: 0 2px 8px var(--dark-color);
    cursor: pointer;
}

/* Lift + deeper shadow on hover */
.play-media-card:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 16px 36px var(--dark-color);
    box-shadow: 0 16px 36px var(--dark-color);
}

/* Cover art wrapper – square aspect ratio via padding trick */
.play-media-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--primary-light);
}

/* Cover image – fills the padded square, zooms subtly on hover */
.play-media-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    -webkit-transition: -webkit-transform 0.35s ease;
    transition: transform 0.35s ease;
}

.play-media-card:hover .play-media-img {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

/* Rank number badge pinned to top-left of the cover */
.play-rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 11px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    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;
    line-height: 1;
    letter-spacing: 0;
    -webkit-box-shadow: 0 2px 6px var(--dark-color);
    box-shadow: 0 2px 6px var(--dark-color);
}

/* Dark gradient overlay that fades in on hover, with centred play icon */
.play-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(
        bottom,
        var(--primary-color) 0%,
        transparent 65%
    );
    background: linear-gradient(
        to top,
        var(--primary-color) 0%,
        transparent 65%
    );
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 14px;
    z-index: 1;
}

/* Show the overlay only on card hover */
.play-media-card:hover .play-media-overlay {
    opacity: 0.9;
}

/* Play icon rendered inside the hover overlay */
.play-overlay-icon {
    color: var(--white-color);
    font-size: 22px;
}

/* Info area below the cover art */
.play-media-info {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--assest-color);
}

/* Track / podcast title – inherits db-title for ellipsis truncation */
.play-media-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    margin: 0 0 7px;
    line-height: 1.4;
}

/* Row containing the headphones icon and play count number */
.play-count-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

/* Headphones icon size inside the play count row */
.play-count-wrap i {
    font-size: 12px;
}

/* Numeric play count – bold and matches body colour */
.play-count-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--body-color);
}

/* ── Responsive breakpoints for media-play-grid ── */

/* 5-column grid on large desktops */
@media (max-width: 1399px) {
    .media-play-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 4-column grid on standard desktops / large tablets */
@media (max-width: 1199px) {
    .media-play-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3-column grid on tablets */
@media (max-width: 767px) {
    .media-play-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* 2-column grid on small mobile */
@media (max-width: 479px) {
    .media-play-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* =====================================================
   GLOBAL MODULE UI — Toolbar, Table, Cards, Forms
   ===================================================== */

/* --- Page Header Bar (breadcrumb + CTA row) --- */

.ph {
    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: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 12px;
}

.ph .breadcrumb {
    margin: 0;
    padding: 7px 16px;
    background: var(--white-color);
    border-radius: 10px;
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: 0 1px 6px var(--dark-color);
    box-shadow: 0 1px 6px var(--dark-color);
    font-size: 13px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Each breadcrumb item: plain flex row container */
.ph .breadcrumb-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    background: transparent;
}

/* Reset Bootstrap's li+li left padding */
.ph .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

/* Hide Bootstrap's default slash separator */
.ph .breadcrumb-item + .breadcrumb-item::before {
    display: none;
}

/* Chevron separator after each non-last item */
.ph .breadcrumb-item:not(:last-child)::after {
    content: "\203A";
    margin-left: 6px;
    color: var(--light-gray);
    font-size: 18px;
    margin-top: -2px;
}

/* Inactive link — plain text, no pill */
.ph .breadcrumb-item a {
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: var(--light-gray) !important;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.ph .breadcrumb-item a:hover {
    color: var(--body-color) !important;
}

/* Active (current page) — bold, primary color */
.ph .breadcrumb-item.active {
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: var(--body-color);
    font-size: 12.5px;
    font-weight: 600;
}

.action-bar {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 12px;
    -webkit-box-shadow: 0 1px 4px var(--dark-color);
    box-shadow: 0 1px 4px var(--dark-color);
    overflow: hidden;
    margin-bottom: 16px;
    padding: 10px 16px;
}

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

.export-note {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--body-color);
}

.export-note > i {
    font-size: 15px;
    color: var(--primary-color);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.export-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.exp-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    -webkit-transition: all 0.15s;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
    background: var(--white-color);
    color: var(--body-color);
    border: 1px solid var(--assest-color);
}

.exp-btn:hover {
    background: var(--primary-light);
    border-color: var(--assest-color);
    color: var(--black-color);
}

.exp-btn > i {
    font-size: 14px;
}

.search-filter-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.searchbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--assest-color);
    border-radius: 9px;
    padding: 4px 14px;
    height: 40px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 200px;
    -webkit-transition:
        border-color 0.18s,
        background 0.18s,
        -webkit-box-shadow 0.18s;
    transition:
        border-color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}

.searchbox:focus-within {
    border-color: var(--primary-color);
    background: var(--white-color);
    -webkit-box-shadow: 0 0 0 3px var(--primary-alpha-1);
    box-shadow: 0 0 0 3px var(--primary-alpha-1);
}

.searchbox-icon {
    color: var(--light-gray);
    font-size: 14px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.searchbox .form-control {
    border: none;
    background: transparent;
    padding: 5px 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-color);
    height: auto !important;
    line-height: 1.5;
    border-radius: 0;
}

.filter-group {
    display: flex;
}

.filter-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
    gap: 6px;
    border-radius: 10px;
    min-width: 180px;
    height: 40px;
    overflow: hidden !important;
    border: 1.5px solid var(--assest-color);
    background-color: var(--assest-color);
    -webkit-transition:
        border-color 0.15s,
        -webkit-box-shadow 0.15s;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.filter-item:focus-within,
.filter-item.filter-item-focus {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 3px var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.sort-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 8px 0 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--light-gray);
    background-color: var(--assest-color);
    white-space: nowrap;
    border-right: 1px solid var(--assest-color);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 100%;
    letter-spacing: 0.04em;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.filter-item .form-control {
    border: none;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-color);
    background-color: var(--white-color);
    height: 100% !important;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* --------------------------------------------------------------------------
   Sortable list items — drag-and-drop reorder rows
   -------------------------------------------------------------------------- */

/* Row item replacing inline style="background-color…" */
.sort-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    background: var(--primary-light);
    border: 1px solid var(--assest-color);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: -webkit-grab;
    cursor: grab;
    -webkit-transition:
        -webkit-box-shadow 0.15s ease,
        color 0.15s ease,
        background 0.15s ease;
    transition:
        box-shadow 0.15s ease,
        color 0.15s ease,
        background 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sort-item:hover {
    background: var(--primary-color);
    color: var(--white-color);
    -webkit-box-shadow: 0 4px 12px var(--dark-color);
    box-shadow: 0 4px 12px var(--dark-color);
}

.sort-item:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
    -webkit-box-shadow: 0 4px 12px var(--dark-color);
    box-shadow: 0 4px 12px var(--dark-color);
}

/* Grip icon — visual drag affordance */
.sort-handle {
    color: var(--light-gray);
    font-size: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
}

.sort-item:hover .sort-handle {
    color: var(--white-color);
}

/* =====================================================
   Settings Module — Premium SaaS Split-Layout
   ===================================================== */

/* Outer shell — one unified card that holds nav + content */
.settings-shell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 16px;
    border: 1px solid var(--assest-color);
    -webkit-box-shadow: 0 2px 20px var(--dark-color);
    box-shadow: 0 2px 20px var(--dark-color);
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 560px;
}

/* ---- Left navigation panel ---- */
.settings-nav {
    width: 220px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: var(--white-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 16px 0 0 16px;
    border-right: 1px solid var(--assest-color);
}

/* Brand header inside the nav */
.settings-nav-brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--assest-color);
}

.settings-nav-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 9px;
    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;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.settings-nav-brand-icon i {
    font-size: 14px;
    color: var(--primary-color);
}

.settings-nav-brand-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--body-color);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Nav pills list */
.settings-nav-pills {
    padding: 15px;
    gap: 2px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    list-style: none;
}

.settings-nav-pills .nav-item {
    width: 100%;
    margin-bottom: 5px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.settings-nav-pills .nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    height: 48px;
    border: none;
    border-radius: 10px;
    color: var(--light-gray);
    font-size: 12px;
    font-weight: 500;
    -webkit-transition:
        background 0.18s ease,
        color 0.18s ease;
    transition:
        background 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
    width: 100%;
    background: transparent;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.settings-nav-pills .nav-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.settings-nav-pills .nav-link.active {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
    -webkit-box-shadow: 0 2px 10px var(--primary-alpha-1);
    box-shadow: 0 2px 10px var(--primary-alpha-1);
}

/* Icon badge inside each nav link */
.settings-nav-link-icon {
    width: 30px;
    height: 30px;
    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;
    border-radius: 8px;
    background: var(--light-color);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: background 0.18s ease;
    transition: background 0.18s ease;
}

.settings-nav-link-icon i {
    font-size: 12px;
    color: var(--light-gray);
    -webkit-transition: color 0.18s ease;
    transition: color 0.18s ease;
}

.settings-nav-pills .nav-link:hover .settings-nav-link-icon {
    background: var(--primary-light);
}

.settings-nav-pills .nav-link:hover .settings-nav-link-icon i {
    color: var(--primary-color);
}

.settings-nav-pills .nav-link.active .settings-nav-link-icon {
    background: var(--white-alpha-1);
}

.settings-nav-pills .nav-link.active .settings-nav-link-icon i {
    color: var(--white-color);
}

.settings-nav-link-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Right content area ---- */
.settings-content-area {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    background: var(--white-color);
    padding: 15px 28px 25px;
    border-radius: 0 16px 16px 0;
}

/* Pane header — icon + title at top of each section */
.settings-pane-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--assest-color);
}

.settings-pane-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border-radius: 11px;
    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;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.settings-pane-icon i {
    font-size: 17px;
    color: var(--primary-color);
}

.settings-pane-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--body-color);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

/* Half-width card (used for Test SMTP) */
.settings-half-card {
    max-width: 560px;
}

.credential-card {
    border: 1px solid var(--assest-color);
    border-radius: 12px;
    background: var(--primary-light);
    -webkit-transition: -webkit-box-shadow 0.2s;
    transition: -webkit-box-shadow 0.2s;
    -o-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.credential-card:hover {
    -webkit-box-shadow: 0 4px 16px var(--dark-color);
    box-shadow: 0 4px 16px var(--dark-color);
}

.credential-card-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

/* Colored icon box inside credential card */
.credential-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--white-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;
    font-size: 15px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* ---- Shared flex body: credential, toggle meta, auth body ---- */
.credential-info,
.settings-toggle-meta,
.login-auth-body {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.credential-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--light-gray);
    margin-bottom: 4px;
}

/* Readonly text input styled as plain text display */
.credential-value {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 0;
    font-family: "Courier New", monospace;
}

.credential-copy-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--white-color);
    color: var(--primary-color);
    border: none;
    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;
    font-size: 14px;
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    border: 1px solid var(--primary-color);
}

.credential-copy-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.credential-copy-btn:focus {
    outline: none;
}

/* ---- Responsive: tablet ---- */
@media (max-width: 991px) {
    .settings-shell {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-height: auto;
    }

    .settings-nav {
        width: 100%;
        border-radius: 16px 16px 0 0;
        border-right: none;
        border-bottom: 1px solid var(--assest-color);
    }

    .settings-nav-pills {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        overflow-x: auto;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        padding: 8px 12px 12px;
        gap: 4px;
    }

    .settings-nav-pills::-webkit-scrollbar {
        display: none;
    }

    .settings-nav-pills .nav-item {
        width: auto;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .settings-nav-pills .nav-link {
        white-space: nowrap;
        padding: 8px 14px;
    }

    .settings-content-area {
        border-radius: 0 0 16px 16px;
        padding: 20px 16px 24px;
    }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 767px) {
    .settings-nav-brand {
        padding: 16px 14px;
    }

    .settings-pane-header {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .settings-pane-icon {
        width: 36px;
        height: 36px;
    }

    .settings-pane-icon i {
        font-size: 14px;
    }

    .settings-pane-title {
        font-size: 15px;
    }

    .settings-card-row > [class*="col"] {
        padding-left: 0;
        padding-right: 0;
    }

    .settings-half-card {
        max-width: 100%;
    }
}

/* new content upload design  */

.repeater-item {
    background-color: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--dark-color);
    transition: box-shadow 0.2s ease;
    margin-bottom: 12px;
}

.repeater-item:hover {
    box-shadow: 0 4px 16px var(--dark-color);
}

.repeater-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: var(--assest-color);
    border-bottom: 1px solid var(--assest-color);
}

.repeater-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.repeater-item-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    flex: 1;
}

.repeater-item-body {
    padding: 16px;
}

.repeater-item-body .form-group {
    margin-bottom: 0;
}

.repeater-add-row {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

.btn-repeater-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.1s ease;
    box-shadow: 0 3px 10px var(--primary-light);
    font-family: var(--font);
}

.btn-repeater-add:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--white-color);
}

.btn-repeater-add:active {
    transform: translateY(0);
    opacity: 1;
}

.btn-repeater-add:focus,
.btn-repeater-remove:focus {
    outline: none;
    box-shadow: none;
}

.btn-repeater-add i {
    font-size: 11px;
}

.btn-repeater-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--red-color);
    background: transparent;
    color: var(--red-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
    padding: 0;
}

.btn-repeater-remove:hover {
    background: var(--red-color);
    color: var(--white-color);
}

@media (max-width: 767px) {
    .repeater-item-body .form-row > [class*="col-"] {
        margin-bottom: 12px;
    }

    .repeater-item-body .form-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* new section bar  */
.section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 10px 16px;
}

.selected-language {
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.dropdown-item.active {
    background: var(--primary-alpha-1);
    color: var(--primary-color);
    border-radius: 8px;
}

/* =====================================================
   LOGIN PAGE — Dark Premium Design
   ===================================================== */

/*
 * Base font grows faster — no max cap.
 * 13px at 768px → 24px at 1920px → 31px at 2560px
 */
.login-container {
    --login-root: clamp(14px, 1.0vw + 4px, 24px);
    font-size: var(--login-root);
    min-height: 100dvh;
    height: 100dvh;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    font-family: var(--font);
    background-color: var(--black-color);
    overflow: hidden;
}

.login-bg-image-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Left-side black overlay for text readability */
.login-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        var(--black-color) 0%,
        var(--black-50) 30%,
        var(--black-alpha-1) 55%,
        transparent 70%
    );
    pointer-events: none;
}

/*
 * Wrapper stretches full height (align-items:stretch above).
 * This lets top:50% on the absolute left panel resolve to
 * true viewport center, not card height.
 */
.login-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: clamp(1em, 2.5vh, 3em) clamp(1.5em, 2vw, 3em);
    box-sizing: border-box;
}

/* ── Left Section — grows with viewport ── */
.login-left {
    position: absolute;
    left: max(1.5em, 3vw);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(280px, 28vw, 660px);
    display: flex;
    flex-direction: column;
    color: var(--white-color);
    pointer-events: none;
}

.left-logo {
    display: flex;
    align-items: center;
    gap: clamp(0.6em, 1vw, 1em);
    margin-bottom: clamp(2em, 10vh, 8em);
}

.logo-img {
    width: clamp(2.5em, 3.2vw, 4em);
    height: auto;
    object-fit: contain;
    border-radius: 20%;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.logo-name {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.72em;
    color: var(--light-gray);
    font-weight: 400;
}

.left-middle {
    margin-bottom: 0;
}

.left-heading {
    font-size: max(2.2em, 3.8vw);
    font-weight: 800;
    color: var(--white-color);
    line-height: 1.1;
    margin: 0 0 clamp(0.5em, 3vh, 2em);
    letter-spacing: -0.025em;
}

.accent-text {
    background: linear-gradient(90deg, var(--primary-color), var(--login-btn-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.left-description {
    font-size: clamp(0.85em, 1vw, 1.05em);
    color: var(--light-gray);
    line-height: 1.65;
    margin: 0 0 clamp(1.5em, 9vh, 7em);
    font-weight: 400;
}

/* ── Feature Icons ──────────────────────────────────── */
.feature-icons-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: clamp(1.2em, 2.5vw, 2.4em);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4em;
    background: none;
    padding: 0;
}

.feature-icon {
    width: clamp(2em, 2.6vw, 3.2em);
    height: clamp(2em, 2.6vw, 3.2em);
    border-radius: 0.5em;
    background: transparent;
    border: 1px solid var(--primary-alpha-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.85em;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.feature-text {
    font-size: 0.65em;
    color: var(--light-gray);
    line-height: 1.3;
    font-weight: 400;
}

/*
 * Card width tracks the root font-size so its em-proportions stay
 * consistent across all large screens. 34vw keeps the card at
 * roughly 22-25em wide from 1300px to 2560px.
 */
.login-right {
    flex: 0 0 auto;
    width: clamp(390px, 30vw, 580px);
}

.login-card {
    width: 100%;
    background: var(--login-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.4em;
    /*
     * vh-based padding: naturally compresses on short screens
     * and expands on tall ones without media queries.
     * 4vh at 768px = 30.7px (above the 1.2em = 22px floor → vh wins).
     */
    padding: clamp(1.2em, 4vh, 3em);
    box-shadow: var(--login-shadow);
    border: 1px solid var(--primary-alpha-1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.card-logo {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1em, 3.5vh, 3em);
}

.card-logo-img {
    width: clamp(2.8em, 3.2vw, 3.8em);
    height: auto;
    border-radius: 20%;
}

.card-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--white-color);
    text-align: center;
    margin: 0 0 0.4em;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 0.85em;
    color: var(--light-gray);
    text-align: center;
    /* 2.8vh at 768px = 21.5px > 0.8em floor ≈ 15px → responsive */
    margin: 0 0 clamp(1.5em, 5vh, 3.5em);
    line-height: 1.6;
}

.form-group {
    /* 1.5vh at 768px = 11.5px > 0.6em floor ≈ 11.4px → just enough */
    margin-bottom: clamp(0.6em, 1.5vh, 1.2em);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-left {
    position: absolute;
    left: 1em;
    color: var(--light-gray);
    font-size: 0.85em;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper .form-control {
    width: 100% !important;
    height: 3.1em !important;
    padding: 0 2.8em 0 2.8em !important;
    font-size: 0.78em !important;
    border: 1px solid var(--login-border) !important;
    border-radius: 0.75em !important;
    background: var(--login-input-bg) !important;
    color: var(--white-color) !important;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font-family: var(--font) !important;
}

.input-wrapper .form-control::placeholder {
    color: var(--light-gray);
}

.input-wrapper .form-control:focus {
    border-color: var(--primary-color) !important;
    background: var(--black-50) !important;
    box-shadow: 0 0 0 3px var(--primary-alpha-1) !important;
}

.input-wrapper .password-toggle {
    position: absolute;
    right: 0.9em;
    background: none;
    border: none;
    padding: 0.4em;
    cursor: pointer;
    color: var(--light-gray);
    font-size: 0.85em;
    outline: none;
    line-height: 1;
    transition: color 0.2s ease;
}

.input-wrapper .password-toggle:hover {
    color: var(--assest-color);
}

.btn-login {
    width: 100%;
    height: 2.7em;
    border-radius: 0.75em;
    border: none;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--login-btn-end)
    );
    color: var(--white-color);
    font-size: 0.82em;
    font-weight: 600;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 1.8em;
    transition:
        opacity 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 4px 18px var(--primary-alpha-2);
    letter-spacing: 0.01em;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px var(--primary-alpha-2);
}

.btn-login:active {
    transform: translateY(0);
    opacity: 1;
}
.btn-login:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.card-footer-text {
    text-align: center;
    font-size: 0.72em;
    color: var(--light-gray);
    /* 1.8vh at 768px = 13.8px > 0.6em floor ≈ 11px → responsive */
    margin-top: clamp(1em, 3.5vh, 2.5em);
}

/* =====================================================
   RESPONSIVE — LOGIN PAGE
   ===================================================== */

/*
 * 992px–1100px: left panel visible but narrowed so it doesn't
 * collide with the centered card. Card stays at floor width.
 */
@media (min-width: 992px) and (max-width: 1100px) {
    .login-left {
        width: clamp(200px, 24vw, 260px);
    }
    .login-right {
        width: 360px;
    }
}

/* ≤991px: hide left panel entirely */
@media (max-width: 991px) {
    .login-left {
        display: none;
    }
    .login-right {
        width: 420px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .login-right {
        width: 380px;
    }
}

/* Large mobile */
@media (max-width: 540px) {
    .login-right {
        width: 330px;
    }
}

/* Small mobile — full width */
@media (max-width: 400px) {
    .login-wrapper {
        padding: 1em;
    }
    .login-right {
        width: 100%;
    }
    .login-card {
        border-radius: 1em;
        padding: 1.2em;
    }
    .card-title {
        font-size: 1.4em;
    }
}

/*
 * Landscape phones / very short browser windows.
 * The vh-based spacing above already handles most compression.
 * Only compress the input/button heights here — those are em-fixed.
 */
@media (max-height: 560px) {
    .input-wrapper .form-control {
        height: 3em !important;
    }
    .btn-login {
        height: 3em;
    }
}

/* =====================================================
   System Settings — Card Layout
   ===================================================== */

/* ── Page Hero ───────────────────────────────────────── */
.sys-hero {
    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;
    gap: 16px;
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 16px;
    -webkit-box-shadow: var(--shadow-sm);
    box-shadow: var(--shadow-sm);
}

.sys-hero-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.sys-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--primary-color);
    color: var(--white-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;
    font-size: 20px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sys-hero-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--body-color);
    margin: 0 0 3px;
    line-height: 1.2;
}

.sys-hero-sub {
    font-size: 12.5px;
    color: var(--light-gray);
    margin: 0;
}

.sys-hero-badges {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Status pills */
.sys-status-pill {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.sys-status-pill--green {
    background: var(--light-green);
    color: var(--green-color);
    border: 1px solid var(--light-green);
}

.sys-status-pill--orange {
    background: var(--primary-alpha-1);
    color: var(--primary-color);
    border: 1px solid var(--primary-alpha-2);
}

/* ── Warning Banner ──────────────────────────────────── */
.sys-warn-banner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--light-warning);
    border: 1px solid var(--light-warning);
    border-radius: 10px;
    font-size: 13px;
    color: var(--body-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sys-warn-icon {
    color: var(--logo-color);
    font-size: 15px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* ── Operation Cards ─────────────────────────────────── */
.sys-op-card {
    background: var(--white-color);
    border: 1px solid var(--assest-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 14px;
    padding: 24px 24px 0;
    -webkit-box-shadow: var(--shadow-sm);
    box-shadow: var(--shadow-sm);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    -webkit-transition:
        border-color 0.2s ease,
        -webkit-box-shadow 0.2s ease,
        -webkit-transform 0.2s ease;
    transition:
        border-color 0.2s ease,
        -webkit-box-shadow 0.2s ease,
        -webkit-transform 0.2s ease;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        -webkit-box-shadow 0.2s ease,
        -webkit-transform 0.2s ease;
    overflow: hidden;
}

.sys-op-card:hover {
    -webkit-box-shadow: var(--shadow-md);
    box-shadow: var(--shadow-md);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    border-color: var(--primary-alpha-4);
    border-top-color: var(--primary-color);
}

.sys-op-card--danger {
    border-top-color: var(--red-color);
}

.sys-op-card--danger:hover {
    border-color: var(--light-red);
    border-top-color: var(--red-color);
}

/* Card head: icon + badge */
.sys-op-card-head {
    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;
    margin-bottom: 18px;
}

/* Operation icon */
.sys-op-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    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;
    font-size: 20px;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.sys-op-card:hover .sys-op-icon {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

.sys-op-icon--orange {
    background: var(--primary-alpha-3);
    color: var(--primary-color);
    border: 1.5px solid var(--primary-alpha-4);
}

.sys-op-icon--blue {
    background: var(--light-blue);
    color: var(--blue-color);
    border: 1.5px solid var(--light-blue);
}

.sys-op-icon--red {
    background: var(--light-red);
    color: var(--red-color);
    border: 1.5px solid var(--light-red);
}

/* Status badge (top-right of card) */
.sys-op-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.sys-op-badge--safe {
    background: var(--light-green);
    color: var(--green-color);
    border-color: var(--light-green);
}

.sys-op-badge--recommended {
    background: var(--light-green);
    color: var(--green-color);
    border-color: var(--light-green);
}

.sys-op-badge--destructive {
    background: var(--light-red);
    color: var(--red-color);
    border-color: var(--light-red);
}

/* Title */
.sys-op-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--body-color);
    margin: 0 0 8px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Description */
.sys-op-desc {
    font-size: 13px;
    color: var(--light-gray);
    line-height: 1.7;
    margin: 0 0 18px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Inline tag/chip in card body */
.sys-op-tag {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--light-color);
    border: 1px solid var(--assest-color);
    color: var(--light-gray);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.sys-op-tag--danger {
    background: var(--light-red);
    border-color: var(--light-red);
    color: var(--red-color);
}

/* Card footer — full-width action button */
.sys-op-footer {
    margin: 0 -24px;
    border-top: 1px solid var(--assest-color);
    background: var(--light-color);
}

.sys-op-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;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: background 0.18s ease, color 0.18s ease, letter-spacing 0.18s ease;
    transition: background 0.18s ease, color 0.18s ease, letter-spacing 0.18s ease;
    font-family: var(--font);
    letter-spacing: 0.01em;
}
.sys-op-btn:focus {
    outline: none;
}

.sys-op-btn:hover {
    background: var(--primary-alpha-4);
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.sys-op-btn--danger {
    color: var(--red-color);
}

.sys-op-btn--danger:hover {
    background: var(--light-red);
    color: var(--red-color);
    letter-spacing: 0.03em;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 991px) {
    .sys-hero {
        padding: 18px 20px;
    }

    .sys-hero-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .sys-hero-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .sys-hero {
        padding: 16px 18px;
        gap: 14px;
    }

    .sys-hero-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
        border-radius: 11px;
    }

    .sys-hero-title {
        font-size: 15px;
    }

    .sys-op-card:hover {
        -webkit-transform: none;
        transform: none;
    }
}

@media (max-width: 575px) {
    .sys-hero {
        padding: 14px 16px;
    }

    .sys-hero-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .sys-hero-title {
        font-size: 14px;
    }

    .sys-hero-sub {
        font-size: 11.5px;
    }

    .sys-warn-banner {
        font-size: 12.5px;
        padding: 11px 14px;
    }

    .sys-op-card {
        padding: 18px 18px 0;
    }

    .sys-op-footer {
        margin: 0 -18px;
    }

    .sys-op-card:hover {
        -webkit-transform: none;
        transform: none;
    }
}

/* ====================================================
   END: Music/Audio Upload Component
   ==================================================== */

/* ====================================================
   Credit Module — Tabs
   ==================================================== */
.credit-tabs-wrapper {
    background: var(--primary-color);
    padding: 6px;
    border-radius: 14px;
    display: inline-flex;
}

.credit-tabs-wrapper .custom-tabs {
    margin: 0;
    padding: 0;
    gap: 4px;
}

.credit-tabs-wrapper .custom-tabs .nav-item {
    flex: none;
}

/* =====================================================
   Select2 DropDown & Native Select Customizations
   ===================================================== */

/* Select 2 DropDown */
.select2-container .select2-selection--single {
    border: 1px solid var(--assest-color);
    background: var(--white-color);
    border-radius: 8px !important;
    padding: 8px;
    font-size: 14px;
    height: auto !important;
}

.filter-item .select2-container {
    height: 100%;
}

.filter-item .select2-container .select2-selection--single {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    padding: 5px 8px !important;
    height: 100% !important;
}
.filter-item .select2-container .select2-selection--multiple {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

/* Select2 — vertically centered FA sort-down arrow */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: auto;
    color: var(--light-gray);
    font-size: 14px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    display: none !important;
}

/* fa-sort-down glyph sits at the bottom of the em-box.
   top:-3px shifts it UP so the triangle is visually centred.
   On open, triangle is inverted so we shift +3px to re-centre. */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0dd";
    position: relative;
    -webkit-transition:
        transform 0.2s ease,
        top 0.2s ease;
    transition:
        transform 0.2s ease,
        top 0.2s ease;
    top: -3px;
}

.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow::before {
    transform: rotate(180deg);
    top: 3px;
}

.select2-container .select2-selection--multiple {
    border: 1px solid var(--assest-color);
    background: var(--white-color);
    border-radius: 10px !important;
    padding: 8px;
    font-size: 14px;
    height: auto !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open
    .select2-selection--multiple {
    border-color: var(--primary-color) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

/* Prevent double border when inside filter-item */
.filter-item .select2-container .select2-selection--single,
.filter-item .select2-container .select2-selection--multiple,
.filter-item
    .select2-container--default.select2-container--focus
    .select2-selection--single,
.filter-item
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
.filter-item
    .select2-container--default.select2-container--open
    .select2-selection--single,
.filter-item
    .select2-container--default.select2-container--open
    .select2-selection--multiple {
    border: none !important;
    box-shadow: none !important;
}

/* Native select wrapper */
.select-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.select-wrapper select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
    cursor: pointer;
}

/* Span full select height so rotation is always around the true centre */
.select-wrapper .select-fa-arrow {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    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;
    color: var(--light-gray);
    font-size: 14px;
    pointer-events: none;
}

.select-wrapper .select-fa-arrow::before {
    position: relative;
    -webkit-transition:
        transform 0.2s ease,
        top 0.2s ease;
    transition:
        transform 0.2s ease,
        top 0.2s ease;
    top: -3px;
}

.select-wrapper.open .select-fa-arrow::before {
    transform: rotate(180deg);
    top: 3px;
}

.select-wrapper select.form-control:focus,
.select-wrapper.open select.form-control {
    border-color: var(--primary-color) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

/* Select2 dropdown option styling */
.select2-results__option[aria-selected="true"] {
    background-color: var(--primary-alpha-3) !important;
    color: var(--black-color) !important;
}

.select2-results__option--highlighted,
.select2-results__option:hover {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
}
