:root {
    --primary-font: 'Manrope', sans-serif;
    --primary: #7a32d1;
    --primary-hover: #541cab;
    --secondary: #212121;
    --primary-rgb: rgb(122 50 209 / 17%);
    --color-gradient: linear-gradient(45deg, var(--color-primary) 13.72%, var(--color-primary-2) 100%);
}

body {
    font-family: var(--primary-font);
    font-weight: 500;
}

body.authentication-bg {
    background-color: var(--primary);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font);
    font-weight: 600;
}

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

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

b,
strong {
    font-weight: 600;
}

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

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

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

.required:after {
    content: ' *';
    color: red;
}

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

.text-body[href]:hover {
    color: var(--primary) !important;
}

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

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-primary {
    color: #fff;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-primary:hover:not(.disabled):not(:disabled) {
    box-shadow: 0 8px 25px -8px var(--primary);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-primary.active,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    border: 1px solid var(--primary) !important;
    background-color: transparent;
    color: var(--primary);
}

.btn-outline-primary:hover {
    color: var(--primary) !important;
    background-color: var(--primary-rgb) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary:hover:not(.disabled):not(:disabled) {
    background-color: rgba(115, 103, 240, .04);
    color: var(--primary);
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled):focus,
.show>.btn-outline-primary.dropdown-toggle {
    background-color: var(--primary);
    color: #fff;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 1024px) {
    .hv-wrapper {
        display: flex;
    }
}

/* Genealogy */
@media (max-width: 767.98px) {
    .hv-wrapper {
        display: flex;
    }

    .hv-wrapper .hv-item .hv-item-children {
        justify-content: flex-start;
    }

    .inbox-widget .inbox-item .inbox-item-date {
        top: 35px;
    }

    .user-card .table td {
        padding: 5px 0;
    }
}

.hv-wrapper .hv-item {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.hv-wrapper .hv-item .hv-item-parent {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-parent:after {
    position: absolute;
    content: '';
    width: 2px;
    height: 25px;
    bottom: 0;
    left: 50%;
    background-color: rgba(171, 171, 171, 0.7);
    transform: translateY(100%);
}

.hv-wrapper .hv-item .hv-item-children {
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child {
    padding: 0 5px;
    position: relative;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before,
.hv-wrapper .hv-item .hv-item-children .hv-item-child:not(:only-child):after {
    content: '';
    position: absolute;
    background-color: rgba(171, 171, 171, 0.7);
    left: 0;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before {
    left: 50%;
    top: 0;
    transform: translateY(-100%);
    width: 2px;
    height: 25px;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
    top: -25px;
    transform: translateY(-100%);
    height: 2px;
    width: 100%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:first-child:after {
    left: 50%;
    width: 50%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:last-child:after {
    width: calc(50% + 1px);
}

.management-hierarchy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0;
    position: relative;
}

.hv-container {
    flex-grow: 1;
    overflow: auto;
    justify-content: center;
}

.hv-item-parent p {
    font-weight: bold;
    color: #DE5454;
}

.management-hierarchy .person {
    text-align: center;
}

.management-hierarchy .person a img {
    height: 70px;
    width: 70px;
    border: 5px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
}

.management-hierarchy .person img {
    height: 70px;
    width: 70px;
    border: 5px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
}

.management-hierarchy .person .name {
    background-color: #fff;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: .875rem;
    font-weight: normal;
    color: #323232;
    margin: 0;
    position: relative;
    max-width: 175px;
    min-width: 155px;
    height: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.management-hierarchy .person .name span {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.management-hierarchy .person p.name .btn {
    vertical-align: baseline;
    font-weight: 600;
}

.management-hierarchy .person p.name:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    /*background-color: #fff;*/
    left: 50%;
    top: 0;
    transform: translateY(-100%);
}

.goog-te-gadget {
    color: #fff;
    font-weight: 600;
}

table.dataTable {
    margin-bottom: 15px !important;
    width: 100%;
    white-space: nowrap;
}

.table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dataTablesPageSelect {
    text-align: end;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff8a;
    z-index: 9999
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px
}

.spinner {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid #dee2e6;
    border-right: 5px solid #dee2e6;
    border-bottom: 5px solid #dee2e6;
    border-left: 5px solid var(--primary);
    transform: translateZ(0);
    animation: SpinnerAnimation 1.1s infinite linear
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px
}

@keyframes SpinnerAnimation {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.card-widgets .btn-group {
    margin: -10px 10px 0 0;
}

.select2-container--default .select2-results__group {
    color: var(--primary);
}


.text-normal {
    white-space: normal !important;
    word-break: break-all;
}

.card .card-header .card-title-wrap {
    margin-left: -1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid #E9ECEF;
    border-color: var(--primary) !important;
}

.readonly {
    background-color: #EFEFEF;
    opacity: 1;
}

.error {
    color: #F44336;
}

@media print {

    .footer,
    .main-menu,
    .navbar-custom,
    .content-header,
    .right-bar {
        display: none
    }

    .card-body,
    .content,
    .content-page,
    .right-bar,
    body {
        padding: 0;
        margin: 0
    }

    .invoice-preview {
        width: 100%;
    }
}

.social {
    display: flex;
    align-items: center;
}

.social ul {
    display: flex;
    padding-inline-start: 10px;
    margin-top: 10px;
}

.social ul li a {
    font-weight: 600;
    font-size: 16px;
}

.social ul li a span {
    font-size: 20px;
    margin-right: 15px;
    font-weight: 500;
    line-height: 28px;
}

.social ul li::marker {
    content: "";
}

.social ul li a span.fa-facebook-square {
    color: #136ab7;
}

.social ul li a span.fa-whatsapp {
    color: #28c76f;
}

.news-item {
    padding: 4px 4px;
    margin: 0px;
    border-bottom: 1px dotted #555;
    font-size: 12px;
    line-height: 20px;
}

@media (min-width: 992px) and (max-width: 1366px) {
    .hv-wrapper {
        display: flex;
    }
}

.badge-primary {
    color: #FFF;
    background-color: var(--primary);
}

.popover {
    max-width: 350px;
    font-family: var(--primary-font);
}

.popover .popover-header {
    border: 1px solid var(--primary);
    color: #fff;
}

.popover-header {
    background-color: var(--primary);
    border-bottom: 0 solid var(--primary);
}

.custom-control-input:checked~.custom-control-label::before {
    color: #FFF;
    border-color: var(--primary);
    background-color: var(--primary);
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--primary);
    background-color: var(--primary);
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #b1bbc4
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary)
}

.custom-control-input:disabled~.custom-control-label,
.custom-control-input[disabled]~.custom-control-label {
    color: #98a6ad
}

.radio-primary input[type=radio]:checked+label::before {
    border-color: var(--primary);
}

.radio-primary input[type=radio]:checked+label::after {
    background-color: var(--primary);
}

.droplist .dropdown-item:focus {
    color: #fff;
    background: var(--primary);
}

.droplist .dropdown-item:hover {
    color: #fff;
    background: var(--primary);
}

.droplist .dropdown-item.active {
    color: #FFF;
    background-color: var(--primary);
}

.droplist .dropdown-item:active {
    color: #FFF;
    background-color: var(--primary);
}

@media (max-width: 360px) {
    .form-control {
        font-size: 0.875rem;
    }
}

.note-insert {
    display: none
}

.text-break {
    white-space: normal;
    word-break: break-all;
}

#social-links ul {
    display: flex;
    padding-left: 0;
    font-size: 20px;
    list-style-type: none;
}

#social-links ul li {
    margin-left: 10px;
}

#social-links ul li span.fab.fa-facebook-square {
    color: #3f78e0;
}

#social-links ul li span.fab.fa-whatsapp {
    color: #73c553;
}

#social-links ul li::marker {
    content: '';
}

.match-height>[class*=col] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column
}

.match-height>[class*=col]>.card {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

.form-group {
    margin-bottom: 1rem;
}

.heading-elements>a.collapsed i:before {
    content: '\e98c';
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-sm {
    display: block;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-lg {
    display: none;
}

.app-brand .logo-sm {
    display: none;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-lg {
    display: none;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--primary) !important;
}

.btn-toggle.dropdown-toggle::after {
    content: none;
}

/*.btn-toggle:focus, .btn-toggle:active, .btn:first-child:active {*/
/*    border: 0;*/
/*}*/

.note-btn-group .note-btn {
    border-color: transparent !important;
}

.note-btn-group.btn-group .btn[class*=btn-]:not([class*=btn-label-]):not([class*=btn-outline-]):not([class*=btn-text-]):not(.btn-icon) {
    box-shadow: none !important;
}

@media (max-width: 767.98px) {

    .layout-navbar-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar,
    .layout-menu-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar,
    .layout-menu-fixed-offcanvas body:not(.modal-open) .layout-content-navbar .layout-navbar {
        z-index: 1075;
    }
}

.page-title-box .page-title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 75px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.page-title-box .page-title-right {
    float: right;
    margin-top: 20px
}

.page-title-box .breadcrumb {
    padding-top: 8px
}

.page-title-box-sm .page-title {
    line-height: 1 !important;
    margin-bottom: 25px
}

.page-title-box-sm .page-title-right {
    float: right;
    margin-top: 0
}

.page-title-box-sm .breadcrumb {
    padding-top: 0;
    margin-top: -3px !important
}

@media (max-width: 767.98px) {
    .page-title-box .page-title {
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        line-height: 70px
    }

    .page-title-box .breadcrumb {
        display: none
    }

    .page-title-box .page-title-right {
        display: none
    }
}

@media (max-width: 419px) {
    .page-title-box .breadcrumb {
        display: none
    }
}

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-heading {
    position: absolute;
    background: var(--primary);
    display: block;
    left: 0;
    top: 0;
    height: 2.5rem;
    padding: 11px 10px;
    z-index: 2;
    color: white;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.ticker-wrap .ticker__item:before {
    content: "";
    height: 11px;
    width: 11px;
    display: inline-block;
    background-color: var(--primary);
    border-radius: 100%;
    position: relative;
    margin-right: 15px;
}

.ticker-heading:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid var(--primary);
    position: absolute;
    margin-left: 10px;
}

.ticker-wrap {
    position: relative;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    height: 2.5rem;
    background-color: transparent;
    padding-left: 100%;
    box-sizing: content-box;
}

.ticker-wrap .ticker:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -ms-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.ticker-wrap .ticker {
    display: inline-block;
    height: 2.5rem;
    line-height: 2.5rem;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 60s;
    animation-duration: 60s;
}

.ticker-wrap .ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.875rem;
}

.gallery {
    position: relative;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    height: 200px;
    text-decoration: none;
}

.gallery img {
    display: block;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
}

.gallery img.gallery-img {
    -o-object-fit: contain;
    object-fit: contain;
}


.statics i {
    font-size: 2rem;
}

.user-profile-header .user-profile-img {
    border: 5px solid;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* outer card look */

/* BLUE GRADIENT */
.gradient-blue {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

/* PURPLE GRADIENT */
.gradient-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* ORANGE GRADIENT */
.gradient-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

/* PINK GRADIENT */
.gradient-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.gradient-orange-text {
    color: #f97316;
}


/* outer card look */
.metric-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: 1px solid #eaeaec;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.metric-card .card-header {
    padding: 20px 25px 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.metric-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.metric-card:hover .card-header::before {
    transform: scale(1.3);
}

.metric-card .card-body {
    padding: 20px;
    flex: 1;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

/* header gradients (customize as desired) */
.hdr-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.hdr-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.hdr-green {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.hdr-gradient-1 {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.hdr-blue-txt {
    color: #3b82f6;
}

.hdr-gradient-2 {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.hdr-txt {
    color: #10b981;
}

.hdr-purple-txt {
    color: #8b5cf6;
}

.hdr-title {
    font-weight: 700;
    font-size: 1.35rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

.hdr-sub {
    font-size: 0.875rem;
    opacity: 0.92;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* small metric tiles inside card body */
.mini-tile {
    border-radius: 12px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mini-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mini-tile:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
    background: #fafbfc;
}

.mini-tile:hover::before {
    opacity: 1;
}

.mini-tile a {
    text-decoration: none;
    color: inherit;
}

.mini-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-value {
    font-weight: 700;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}

/* small green arrow badge */
.trend-up {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* spacing similar to the image */
.body-grid {
    margin-top: -50px;
    --bs-gutter-x: 0.75rem;
}

/* Icon styling within mini-tiles */
.mini-label i,
.hdr-title i {
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.mini-tile:hover .mini-label i {
    transform: scale(1.15);
}

/* Smooth number animations */
.mini-value {
    position: relative;
}

/* Add subtle pulse animation to cards */
@keyframes subtle-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.005);
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .metric-card .card-header {
        padding: 18px 20px 45px;
    }

    .hdr-title {
        font-size: 1.15rem;
    }

    .mini-tile {
        padding: 14px;
        min-height: 70px;
    }

    .mini-value {
        font-size: 1.3rem;
    }

    .mini-label {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .metric-card .card-header {
        padding: 18px 22px 48px;
    }

    .hdr-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .metric-card {
        min-height: 380px;
    }
}

@media (min-width: 1400px) {
    .metric-card {
        min-height: 400px;
    }

    .mini-value {
        font-size: 1.75rem;
    }
}

.badge-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.badge-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: #222;
}

/* badge item container */
.badge-item {
    text-align: center;
    margin-bottom: 18px;
}

.badge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc93c, #ff7b54);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    margin: 0 auto 6px;
}

.badge-label {
    font-size: .85rem;
    color: #555;
}

/* OPACITY STATES  ---------------------- */
.opacity-01 {
    opacity: 0.1;
}

/* locked  */
.opacity-1 {
    opacity: 1;
}

/* achieved */

/* Top 50 Users Leaderboard Styles */
#vertical-example::-webkit-scrollbar {
    width: 6px;
}

#vertical-example::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#vertical-example::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 10px;
}

#vertical-example::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

#vertical-example li {
    cursor: pointer;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

#vertical-example li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
    border-color: #dddddd !important;
}

#vertical-example li:active {
    transform: translateX(3px);
}

.menu-icon {
    font-size: 1rem;
}

.dark-style #vertical-example li {
    border: 1px solid #f7e9e93b;
}

/* Dark Mode Styles for Metric Cards */
.dark-style .metric-card {
    background: #2b2c40;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark-style .metric-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.dark-style .metric-card .card-body {
    background: linear-gradient(to bottom, #10101c 0%, #1a1a24 100%);
}

.dark-style .mini-tile {
    background: #25232c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-style .mini-tile:hover {
    background: #212121;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(var(--primary-rgb), 0.5);
}

.dark-style .mini-label {
    color: #a8aaae;
}

.dark-style .mini-value {
    color: #e7e7ff;
}

.dark-style .badge-section {
    background: #2b2c40;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-style .badge-label {
    color: #a8aaae;
}

.stat-card {
    border-radius: 14px;
    border: 1px solid #eaeaec;
    transition: transform .18s, box-shadow .18s;
    margin-bottom: 0;
}

.dark-style .stat-card {
    border: 1px solid #303030;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .11) !important;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.stat-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #9aa0ac;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-sub {
    font-size: .78rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 1rem;
}

.progress-sm {
    height: 6px;
    border-radius: 4px;
}

.ga-error {
    font-size: .82rem;
}

/* ── Skeleton Shimmer ─────────────────────── */
@keyframes skeleton-shimmer {
    0% {
        background-position: -700px 0;
    }

    100% {
        background-position: 700px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 700px 100%;
    animation: skeleton-shimmer 1.4s infinite linear;
    border-radius: 6px;
}

.dark-style .skeleton {
    background: linear-gradient(90deg, #2e2e3a 25%, #3a3a4d 50%, #2e2e3a 75%);
    background-size: 700px 100%;
}

.skeleton-value {
    height: 36px;
    width: 80px;
    display: inline-block;
}

.skeleton-sub {
    height: 12px;
    width: 120px;
    display: block;
    margin-top: 4px;
}

.skeleton-chart {
    width: 100%;
    border-radius: 10px;
}

.skeleton-row {
    height: 40px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* hide/show */
.ga-skeleton {
    display: block;
}

.ga-content {
    display: none;
}

#ga-status-badge {
    font-size: .75rem;
}

#ga-status-badge.loading {
    animation: pulse-badge 1.2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

#ga-cache-notice {
    font-size: .7rem;
}

.platform-option-card {
    border: 1px solid #eaeaec;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    min-width: 180px;
    user-select: none;
    cursor: pointer;
}

.platform-option-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(105, 108, 255, 0.12);
}

.platform-option-card:has(.form-check-input:checked) {
    border-color: var(--primary);
    background-color: rgba(105, 108, 255, 0.05);
    box-shadow: 0 2px 6px rgba(105, 108, 255, 0.08);
}

.platform-option-card .form-check-input {
    margin-top: 0;
    cursor: pointer;
}

/* ==========================================================================
   Social Media Management Module Styles
   ========================================================================== */
.hero-banner-gradient {
    background: linear-gradient(135deg, rgba(122, 50, 209, 0.08) 0%, rgba(105, 108, 255, 0.03) 100%);
    border: 1px solid rgba(122, 50, 209, 0.15);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}
.hero-banner-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(122, 50, 209, 0.1) 0%, rgba(122, 50, 209, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.stat-card-v2 {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    transition: all 0.25s ease-in-out;
    background: #ffffff;
}
.stat-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}
.stat-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.stat-icon-circle i {
    line-height: 1;
    margin: 0;
    padding: 0;
}
.platform-card-v2 {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #ffffff;
    transition: all 0.25s ease;
}
.platform-card-v2:hover {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
    border-color: var(--primary, #7c3aed);
}
.pulse-live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
.activity-stream-item {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #f1f5f9;
}
.activity-stream-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}
.activity-stream-item.success::before { background: #10b981; }
.activity-stream-item.failed::before { background: #ef4444; }
.activity-stream-item.processing::before { background: #f59e0b; }
.media-progress-bar {
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    background: #f1f5f9;
}

/* Account Credentials Page Styles */
.platform-hero-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d5bbb 100%);
}
.platform-hero-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.platform-hero-linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}
.account-card-v2 {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
    overflow: hidden;
}
.account-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}
.token-input-group {
    position: relative;
}
.token-input-group .toggle-password-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    z-index: 5;
}
.token-input-group .toggle-password-btn:hover {
    color: #1e293b;
}
.platform-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Font Size Utility Classes */
.fs-7 {
    font-size: 0.8125rem !important; /* ~13px */
}
.fs-8 {
    font-size: 0.75rem !important;   /* ~12px */
}
.fs-9 {
    font-size: 0.6875rem !important; /* ~11px */
}