/* ==========================================================================
   Landessware's Vedic Astrology Platform — app.css
   Ported from Skote Angular v4.6.0 admin theme (plain CSS, no SCSS)
   ========================================================================== */

/* Subscription upgrade button pulse animation */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(241, 180, 76, 0.5); }
    50% { box-shadow: 0 0 12px 4px rgba(241, 180, 76, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(241, 180, 76, 0.5); }
}

/* --------------------------------------------------------------------------
   a) CSS Custom Properties — Light mode defaults
   -------------------------------------------------------------------------- */

:root {
    /* Breadcrumb divider fix (overrides themesbrand placeholder in bootstrap-skote) */
    --bs-breadcrumb-divider: "/";

    /* Theme colours */
    --bs-primary: #556ee6;
    --bs-primary-rgb: 85, 110, 230;
    --bs-secondary: #74788d;
    --bs-secondary-rgb: 116, 120, 141;
    --bs-success: #34c38f;
    --bs-success-rgb: 52, 195, 143;
    --bs-danger: #f46a6a;
    --bs-danger-rgb: 244, 106, 106;
    --bs-warning: #f1b44c;
    --bs-warning-rgb: 241, 180, 76;
    --bs-info: #50a5f1;
    --bs-info-rgb: 80, 165, 241;
    --bs-light: #f5f6f8;
    --bs-light-rgb: 245, 246, 248;
    --bs-dark: #343a40;
    --bs-dark-rgb: 52, 58, 64;

    /* Header / topbar */
    --bs-header-bg: #ffffff;
    --bs-header-item-color: #555b6d;
    --bs-header-dark-bg: #2a3042;
    --bs-header-dark-item-color: #e9ecef;
    --bs-topbar-search-bg: #f3f3f9;

    /* Sidebar */
    --bs-sidebar-bg: #ffffff;
    --bs-sidebar-menu-item-color: #545a6d;
    --bs-sidebar-menu-sub-item-color: #545a6d;
    --bs-sidebar-menu-item-icon-color: #7f8387;
    --bs-sidebar-menu-item-hover-color: #383c40;
    --bs-sidebar-menu-item-active-color: #556ee6;

    /* Footer */
    --bs-footer-bg: #f2f2f5;
    --bs-footer-color: #74788d;

    /* Body */
    --bs-body-bg: #f8f8fb;
    --bs-body-color: #495057;
    --bs-secondary-color: #74788d;
    --bs-secondary-bg: #ffffff;
    --bs-tertiary-bg: #f3f3f9;
    --bs-emphasis-color: #343a40;
    --bs-border-color: #eff2f7;

    /* Topnav (horizontal) */
    --bs-topnav-bg: #fff;
    --bs-menu-item-color: #545a6d;
    --bs-menu-item-active-color: #556ee6;

    /* Boxed */
    --bs-boxed-body-bg: #ebebf4;

    /* Display toggles (used by auth logo switching) */
    --bs-display-none: none;
    --bs-display-block: block;
}

/* Dark mode -------------------------------------------------------------- */

[data-bs-theme="dark"] {
    --bs-body-bg: #222736;
    --bs-body-color: #a6b0cf;
    --bs-secondary-color: #c3cbe4;
    --bs-secondary-bg: #2a3042;
    --bs-tertiary-bg: #32394e;
    --bs-emphasis-color: #f6f6f6;
    --bs-border-color: #353d55;
    --bs-light: #32394e;
    --bs-light-rgb: 50, 57, 78;
    --bs-dark: #f6f6f6;
    --bs-dark-rgb: 246, 246, 246;

    --bs-header-bg: #262b3c;
    --bs-header-item-color: #a6b0cf;
    --bs-header-dark-bg: #556ee6;
    --bs-header-dark-item-color: #e9ecef;
    --bs-topbar-search-bg: #2a3042;

    --bs-sidebar-bg: #2a3042;
    --bs-sidebar-menu-item-color: #a6b0cf;
    --bs-sidebar-menu-sub-item-color: #79829c;
    --bs-sidebar-menu-item-icon-color: #6a7187;
    --bs-sidebar-menu-item-hover-color: #ffffff;
    --bs-sidebar-menu-item-active-color: #ffffff;

    --bs-footer-bg: #262b3c;
    --bs-footer-color: #a6b0cf;

    --bs-topnav-bg: #282e3f;
    --bs-menu-item-color: #a6b0cf;
    --bs-menu-item-active-color: #556ee6;

    --bs-boxed-body-bg: #32394f;

    --bs-display-none: block;
    --bs-display-block: none;
}


/* --------------------------------------------------------------------------
   b) Body and general resets
   -------------------------------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    margin: 0;
    overflow-x: hidden;
}

/* Indic language font stacks */
:lang(ta) { font-family: 'Noto Sans Tamil', 'Poppins', sans-serif; }
:lang(te) { font-family: 'Noto Sans Telugu', 'Poppins', sans-serif; }
:lang(hi) { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }
:lang(kn) { font-family: 'Noto Sans Kannada', 'Poppins', sans-serif; }

a {
    text-decoration: none !important;
    color: var(--bs-primary);
}

a:hover {
    color: var(--bs-primary);
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

button,
a {
    outline: none !important;
}

.blockquote {
    padding: 10px 20px;
    border-left: 4px solid var(--bs-border-color);
}

.blockquote-reverse {
    border-left: 0;
    border-right: 4px solid var(--bs-border-color);
    text-align: right;
}

.row > * {
    position: relative;
}


/* --------------------------------------------------------------------------
   c) Layout structure
   -------------------------------------------------------------------------- */

#layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Vertical sidebar -------------------------------------------------------- */

.vertical-menu {
    width: 250px;
    z-index: 1001;
    background: var(--bs-sidebar-bg);
    bottom: 0;
    margin-top: 0;
    position: fixed;
    top: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.vertical-collpsed .vertical-menu {
    width: 70px !important;
    position: absolute;
    z-index: 5;
}

.vertical-collpsed .vertical-menu .simplebar-mask,
.vertical-collpsed .vertical-menu .simplebar-content-wrapper {
    overflow: visible !important;
}

.vertical-collpsed .vertical-menu .simplebar-scrollbar {
    display: none !important;
}

.vertical-collpsed .vertical-menu .simplebar-offset {
    bottom: 0 !important;
}

.vertical-collpsed #sidebar-menu .menu-title,
.vertical-collpsed #sidebar-menu .badge,
.vertical-collpsed #sidebar-menu .collapse.in {
    display: none !important;
}

.vertical-collpsed #sidebar-menu .has-arrow::after {
    display: none;
}

.vertical-collpsed #sidebar-menu > ul > li {
    position: relative;
    white-space: nowrap;
}

.vertical-collpsed #sidebar-menu > ul > li > a {
    padding: 15px 20px;
    min-height: 55px;
    transition: none;
}

.vertical-collpsed #sidebar-menu > ul > li > a i {
    font-size: 1.45rem;
    margin-left: 4px;
}

.vertical-collpsed #sidebar-menu > ul > li > a span {
    display: none;
    padding-left: 25px;
}

.vertical-collpsed #sidebar-menu > ul > li:hover > a {
    position: relative;
    width: calc(190px + 70px);
    color: var(--bs-primary);
    background-color: var(--bs-sidebar-bg);
    transition: none;
}

.vertical-collpsed #sidebar-menu > ul > li:hover > a i {
    color: var(--bs-primary);
}

.vertical-collpsed #sidebar-menu > ul > li:hover > a span {
    display: inline;
}

.vertical-collpsed #sidebar-menu > ul > li:hover > ul {
    display: block;
    left: 70px;
    position: absolute;
    width: 190px;
    height: auto !important;
    box-shadow: 3px 5px 10px 0 rgba(54, 61, 71, 0.1);
}

.vertical-collpsed #sidebar-menu > ul > li:hover > ul a {
    box-shadow: none;
    padding: 8px 20px;
    position: relative;
    width: 190px;
    z-index: 6;
    color: var(--bs-sidebar-menu-sub-item-color);
}

.vertical-collpsed #sidebar-menu > ul > li:hover > ul a:hover {
    color: var(--bs-sidebar-menu-item-hover-color);
}

.vertical-collpsed #sidebar-menu > ul ul {
    padding: 5px 0;
    z-index: 9999;
    display: none;
    background-color: var(--bs-sidebar-bg);
}

.vertical-collpsed .main-content {
    margin-left: 70px;
}

.vertical-collpsed .footer {
    /* inherits from .footer — no left offset needed with flex layout */
}

/* Page topbar / header ---------------------------------------------------- */

#page-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1002;
    height: 70px;
    background-color: var(--bs-header-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Main content ------------------------------------------------------------ */

.main-content {
    margin-left: 250px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content .content {
    padding: 0 15px 10px 15px;
    margin-top: 70px;
}

.page-content {
    padding: calc(70px + 24px) 18px 0 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content > .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content > .container-fluid > .row:last-of-type {
    flex: 1;
}

.page-content > .container-fluid > .row:last-of-type > .col-12 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page-content > .container-fluid > .row:last-of-type > .col-12 > .card {
    flex: 1;
    margin-bottom: 0;
}

/* Footer ------------------------------------------------------------------ */

.footer {
    padding: 20px 18px;
    height: 60px;
    color: var(--bs-footer-color);
    background-color: var(--bs-footer-bg);
    position: static;
    margin-top: auto;
}


/* --------------------------------------------------------------------------
   d) Sidebar menu (MetisMenu)
   -------------------------------------------------------------------------- */

.metismenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.metismenu li {
    display: block;
    width: 100%;
}

.metismenu .mm-collapse {
    display: none;
}

.metismenu .mm-collapse:not(.mm-show) {
    display: none;
}

.metismenu .mm-collapse.mm-show {
    display: block;
}

.metismenu .mm-collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition-timing-function: ease;
    transition-duration: 0.35s;
    transition-property: height, visibility;
}

#sidebar-menu {
    padding: 10px 0 30px 0;
}

#sidebar-menu .mm-active > .has-arrow::after {
    transform: rotate(-180deg);
}

#sidebar-menu .has-arrow::after {
    content: "\F0140";
    font-family: 'Material Design Icons';
    display: block;
    float: right;
    transition: transform 0.2s;
    font-size: 1rem;
}

#sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar-menu ul li a {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    color: var(--bs-sidebar-menu-item-color);
    position: relative;
    font-size: 13px;
    transition: all 0.4s;
}

#sidebar-menu ul li a i {
    display: inline-block;
    min-width: 1.75rem;
    padding-bottom: 0.125em;
    font-size: 1.25rem;
    line-height: 1.40625rem;
    vertical-align: middle;
    color: var(--bs-sidebar-menu-item-icon-color);
    transition: all 0.4s;
}

#sidebar-menu ul li a:hover {
    color: var(--bs-sidebar-menu-item-hover-color);
}

#sidebar-menu ul li a:hover i {
    color: var(--bs-sidebar-menu-item-hover-color);
}

#sidebar-menu ul li .badge {
    margin-top: 4px;
}

#sidebar-menu ul li ul.sub-menu {
    padding: 0;
    list-style: none;
}

#sidebar-menu ul li ul.sub-menu li a {
    padding: 0.4rem 1.5rem 0.4rem 3.5rem;
    font-size: 13px;
    color: var(--bs-sidebar-menu-sub-item-color);
}

#sidebar-menu ul li ul.sub-menu li a:hover {
    color: var(--bs-sidebar-menu-item-hover-color);
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
    padding: 0.4rem 1.5rem 0.4rem 4.5rem;
    font-size: 13px;
}

.menu-title {
    padding: 12px 20px !important;
    letter-spacing: 0.05em;
    pointer-events: none;
    cursor: default;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--bs-sidebar-menu-item-icon-color);
    font-weight: 600;
}

/* MetisMenu active states */
.mm-active {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}

.mm-active > a {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}

.mm-active > a i {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}

.mm-active .active {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}

.mm-active .active i {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}

.mm-active > i {
    color: var(--bs-sidebar-menu-item-active-color) !important;
}


/* --------------------------------------------------------------------------
   e) Sidebar dark variant
   -------------------------------------------------------------------------- */

body[data-sidebar="dark"] .vertical-menu {
    background: #2a3042;
}

body[data-sidebar="dark"] .navbar-brand-box {
    background: #2a3042;
}

body[data-sidebar="dark"] .logo-dark {
    display: none;
}

body[data-sidebar="dark"] .logo-light {
    display: block;
}

body[data-sidebar="dark"] #sidebar-menu ul li a {
    color: #a6b0cf;
}

body[data-sidebar="dark"] #sidebar-menu ul li a i {
    color: #6a7187;
}

body[data-sidebar="dark"] #sidebar-menu ul li a:hover {
    color: #ffffff;
}

body[data-sidebar="dark"] #sidebar-menu ul li a:hover i {
    color: #ffffff;
}

body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a {
    color: #79829c;
}

body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a:hover {
    color: #ffffff;
}

body[data-sidebar="dark"] .mm-active {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .mm-active > a {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .mm-active > a i {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .mm-active > i {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .mm-active .active {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .mm-active .active i {
    color: #ffffff !important;
}

body[data-sidebar="dark"] .menu-title {
    color: #6a7187;
}

/* Sidebar dark — collapsed hover states */
body[data-sidebar="dark"].vertical-collpsed #sidebar-menu > ul > li:hover > a {
    background: #2c3249;
    color: #ffffff;
}

body[data-sidebar="dark"].vertical-collpsed #sidebar-menu > ul > li:hover > a i {
    color: #ffffff;
}

body[data-sidebar="dark"].vertical-collpsed #sidebar-menu > ul > li:hover > ul a {
    color: #79829c;
}

body[data-sidebar="dark"].vertical-collpsed #sidebar-menu > ul > li:hover > ul a:hover {
    color: #ffffff;
}

body[data-sidebar="dark"].vertical-collpsed #sidebar-menu > ul ul {
    background-color: #2a3042;
}

/* Sidebar — colored variant */
body[data-sidebar="colored"] .vertical-menu {
    background-color: #556ee6;
}

body[data-sidebar="colored"] .navbar-brand-box {
    background-color: #556ee6;
}

body[data-sidebar="colored"] .navbar-brand-box .logo-dark {
    display: none;
}

body[data-sidebar="colored"] .navbar-brand-box .logo-light {
    display: block;
}

body[data-sidebar="colored"] #sidebar-menu ul li a {
    color: rgba(255, 255, 255, 0.6);
}

body[data-sidebar="colored"] #sidebar-menu ul li a i {
    color: rgba(255, 255, 255, 0.6);
}

body[data-sidebar="colored"] #sidebar-menu ul li a:hover {
    color: #ffffff;
}

body[data-sidebar="colored"] #sidebar-menu ul li a:hover i {
    color: #ffffff;
}

body[data-sidebar="colored"] #sidebar-menu ul li ul.sub-menu li a {
    color: rgba(255, 255, 255, 0.5);
}

body[data-sidebar="colored"] #sidebar-menu ul li ul.sub-menu li a:hover {
    color: #ffffff;
}

body[data-sidebar="colored"] #sidebar-menu ul li.menu-title {
    color: rgba(255, 255, 255, 0.6);
}

body[data-sidebar="colored"] .mm-active {
    color: #ffffff !important;
}

body[data-sidebar="colored"] .mm-active > a,
body[data-sidebar="colored"] .mm-active > i,
body[data-sidebar="colored"] .mm-active .active {
    color: #ffffff !important;
}


/* --------------------------------------------------------------------------
   f) Topbar / header styles
   -------------------------------------------------------------------------- */

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 70px;
    padding: 0 12px 0 0;
}

.navbar-header .dropdown .show.header-item {
    background-color: var(--bs-tertiary-bg);
}

.navbar-brand-box {
    padding: 0 1.5rem;
    text-align: center;
    width: 250px;
}

.logo {
    line-height: 70px;
}

.logo .logo-sm {
    display: none;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

/* Search */
.app-search {
    padding: 16px 0;
}

.app-search .form-control {
    border: none;
    height: 38px;
    padding-left: 40px;
    padding-right: 20px;
    background-color: var(--bs-topbar-search-bg);
    box-shadow: none;
    border-radius: 30px;
}

.app-search span {
    position: absolute;
    z-index: 10;
    font-size: 16px;
    line-height: 38px;
    left: 13px;
    top: 0;
    color: var(--bs-secondary-color);
}

.header-item {
    height: 70px;
    box-shadow: none !important;
    color: var(--bs-header-item-color);
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.header-item:hover {
    color: var(--bs-header-item-color);
}

.header-profile-user {
    height: 36px;
    width: 36px;
    background-color: var(--bs-tertiary-bg);
    padding: 3px;
}

.noti-icon i {
    font-size: 22px;
    color: var(--bs-header-item-color);
}

.noti-icon .badge {
    position: absolute;
    top: 12px;
}

.notification-item .d-flex {
    padding: 0.75rem 1rem;
}

.notification-item .d-flex:hover {
    background-color: var(--bs-tertiary-bg);
}

/* Dropdown icon items */
.dropdown-icon-item {
    display: block;
    border-radius: 3px;
    line-height: 34px;
    text-align: center;
    padding: 15px 0 9px;
    border: 1px solid transparent;
    color: var(--bs-secondary-color);
}

.dropdown-icon-item img {
    height: 24px;
}

.dropdown-icon-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-icon-item:hover {
    border-color: var(--bs-border-color);
}

/* Dark topbar */
body[data-topbar="dark"] #page-topbar {
    background-color: var(--bs-header-dark-bg);
}

body[data-topbar="dark"] .header-item {
    color: var(--bs-header-dark-item-color);
}

body[data-topbar="dark"] .header-item:hover {
    color: var(--bs-header-dark-item-color);
}

body[data-topbar="dark"] .header-profile-user {
    background-color: rgba(255, 255, 255, 0.25);
}

body[data-topbar="dark"] .noti-icon i {
    color: var(--bs-header-dark-item-color);
}

body[data-topbar="dark"] .logo-dark {
    display: none;
}

body[data-topbar="dark"] .logo-light {
    display: block;
}

body[data-topbar="dark"] .app-search .form-control {
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
}

body[data-topbar="dark"] .app-search span,
body[data-topbar="dark"] .app-search input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Fullscreen toggle */
.fullscreen-enable [data-bs-toggle="fullscreen"] .bx-fullscreen::before {
    content: "\ea3f";
}


/* --------------------------------------------------------------------------
   g) Cards (Skote)
   -------------------------------------------------------------------------- */

.card {
    margin-bottom: 24px;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.08);
    border: 0;
    border-radius: 0.25rem;
    background-color: #fff;
}

/* Auth page card — more prominent shadow */
.account-pages .card {
    box-shadow: 0 2px 10px rgba(18, 38, 63, 0.12);
}

.card-drop {
    color: var(--bs-body-color);
}

.card-title {
    font-size: 15px;
    margin: 0 0 7px 0;
    font-weight: 600;
    color: var(--bs-emphasis-color);
}

.card-title-desc {
    color: var(--bs-secondary-color);
    margin-bottom: 24px;
}


/* --------------------------------------------------------------------------
   h) KPI stat cards (mini-stats-wid)
   -------------------------------------------------------------------------- */

.mini-stats-wid .card-body {
    padding: 20px;
}

.mini-stats-wid .mini-stat-icon {
    overflow: hidden;
    position: relative;
}

.mini-stats-wid .mini-stat-icon::before,
.mini-stats-wid .mini-stat-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.1);
    left: 16px;
    transform: rotate(32deg);
    top: -5px;
    transition: all 0.4s;
}

.mini-stats-wid .mini-stat-icon::after {
    left: -12px;
    width: 12px;
    transition: all 0.2s;
}

.mini-stats-wid:hover .mini-stat-icon::after {
    left: 60px;
}

.mini-stat-icon .avatar-title {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}


/* --------------------------------------------------------------------------
   i) Soft buttons (.btn-soft-*)
   -------------------------------------------------------------------------- */

.btn-soft-primary {
    color: #556ee6;
    background-color: rgba(85, 110, 230, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-primary:hover,
.btn-soft-primary:focus,
.btn-soft-primary:active {
    color: #fff;
    background-color: #556ee6;
    border-color: transparent;
}

.btn-soft-secondary {
    color: #74788d;
    background-color: rgba(116, 120, 141, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-secondary:hover,
.btn-soft-secondary:focus,
.btn-soft-secondary:active {
    color: #fff;
    background-color: #74788d;
    border-color: transparent;
}

.btn-soft-success {
    color: #34c38f;
    background-color: rgba(52, 195, 143, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-success:hover,
.btn-soft-success:focus,
.btn-soft-success:active {
    color: #fff;
    background-color: #34c38f;
    border-color: transparent;
}

.btn-soft-danger {
    color: #f46a6a;
    background-color: rgba(244, 106, 106, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-danger:hover,
.btn-soft-danger:focus,
.btn-soft-danger:active {
    color: #fff;
    background-color: #f46a6a;
    border-color: transparent;
}

.btn-soft-warning {
    color: #f1b44c;
    background-color: rgba(241, 180, 76, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-warning:hover,
.btn-soft-warning:focus,
.btn-soft-warning:active {
    color: #fff;
    background-color: #f1b44c;
    border-color: transparent;
}

.btn-soft-info {
    color: #50a5f1;
    background-color: rgba(80, 165, 241, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-info:hover,
.btn-soft-info:focus,
.btn-soft-info:active {
    color: #fff;
    background-color: #50a5f1;
    border-color: transparent;
}

.btn-soft-dark {
    color: #343a40;
    background-color: rgba(52, 58, 64, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-dark:hover,
.btn-soft-dark:focus,
.btn-soft-dark:active {
    color: #fff;
    background-color: #343a40;
    border-color: transparent;
}

.btn-soft-light {
    color: #74788d;
    background-color: rgba(245, 246, 248, 0.1);
    border-color: transparent;
    transition: all 0.5s ease;
}

.btn-soft-light:hover,
.btn-soft-light:focus,
.btn-soft-light:active {
    color: #fff;
    background-color: #f5f6f8;
    border-color: transparent;
}

/* Rounded buttons */
.btn-rounded {
    border-radius: 30px;
}

/* Button label */
.btn-label {
    position: relative;
    padding-left: 44px;
}

.btn-label .label-icon {
    position: absolute;
    width: 32px;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-label.btn-light .label-icon {
    background-color: rgba(52, 58, 64, 0.1);
    border-right: 1px solid rgba(52, 58, 64, 0.2);
}

/* Button group vertical */
.btn-group-vertical label {
    margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   j) Soft badges (.badge-soft-*)
   -------------------------------------------------------------------------- */

.badge-soft-primary {
    color: #556ee6;
    background-color: rgba(85, 110, 230, 0.18);
}

.badge-soft-primary[href]:hover,
.badge-soft-primary[href]:focus {
    color: #556ee6;
    text-decoration: none;
    background-color: rgba(85, 110, 230, 0.4);
}

.badge-soft-secondary {
    color: #74788d;
    background-color: rgba(116, 120, 141, 0.18);
}

.badge-soft-secondary[href]:hover,
.badge-soft-secondary[href]:focus {
    color: #74788d;
    text-decoration: none;
    background-color: rgba(116, 120, 141, 0.4);
}

.badge-soft-success {
    color: #34c38f;
    background-color: rgba(52, 195, 143, 0.18);
}

.badge-soft-success[href]:hover,
.badge-soft-success[href]:focus {
    color: #34c38f;
    text-decoration: none;
    background-color: rgba(52, 195, 143, 0.4);
}

.badge-soft-danger {
    color: #f46a6a;
    background-color: rgba(244, 106, 106, 0.18);
}

.badge-soft-danger[href]:hover,
.badge-soft-danger[href]:focus {
    color: #f46a6a;
    text-decoration: none;
    background-color: rgba(244, 106, 106, 0.4);
}

.badge-soft-warning {
    color: #f1b44c;
    background-color: rgba(241, 180, 76, 0.18);
}

.badge-soft-warning[href]:hover,
.badge-soft-warning[href]:focus {
    color: #f1b44c;
    text-decoration: none;
    background-color: rgba(241, 180, 76, 0.4);
}

.badge-soft-info {
    color: #50a5f1;
    background-color: rgba(80, 165, 241, 0.18);
}

.badge-soft-info[href]:hover,
.badge-soft-info[href]:focus {
    color: #50a5f1;
    text-decoration: none;
    background-color: rgba(80, 165, 241, 0.4);
}

.badge-soft-dark {
    color: #343a40;
    background-color: rgba(52, 58, 64, 0.18);
}

.badge-soft-dark[href]:hover,
.badge-soft-dark[href]:focus {
    color: #343a40;
    text-decoration: none;
    background-color: rgba(52, 58, 64, 0.4);
}

/* Badge general */
.badge[href]:hover,
.badge[href]:focus {
    color: var(--bs-secondary-bg);
}

.badge.bg-light {
    color: var(--bs-body-color);
}

.badge.bg-light[href]:hover,
.badge.bg-light[href]:focus {
    color: var(--bs-body-color);
}

.badge.bg-dark {
    color: var(--bs-light);
}

.rounded-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
}


/* --------------------------------------------------------------------------
   k) Custom nav tabs
   -------------------------------------------------------------------------- */

.nav-tabs .nav-link,
.nav-pills .nav-link,
.nav-tabs > li > a,
.nav-pills > li > a {
    color: var(--bs-emphasis-color);
    font-weight: 500;
}

.nav-pills > a {
    color: var(--bs-emphasis-color);
    font-weight: 500;
}

.nav-tabs-custom {
    border-bottom: 2px solid var(--bs-border-color);
}

.nav-tabs-custom .nav-item {
    position: relative;
    color: var(--bs-body-color);
}

.nav-tabs-custom .nav-item .nav-link {
    border: none;
}

.nav-tabs-custom .nav-item .nav-link::after {
    content: "";
    background: var(--bs-primary);
    height: 2px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -1px;
    transition: all 250ms ease 0s;
    transform: scale(0);
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: var(--bs-primary);
}

.nav-tabs-custom .nav-item .nav-link.active::after {
    transform: scale(1);
}

/* Vertical nav */
.vertical-nav .nav .nav-link {
    padding: 24px 16px;
    text-align: center;
    margin-bottom: 8px;
}

.vertical-nav .nav .nav-link .nav-icon {
    font-size: 24px;
}


/* --------------------------------------------------------------------------
   l) Avatars
   -------------------------------------------------------------------------- */

.avatar-xs {
    height: 2rem;
    width: 2rem;
}

.avatar-sm {
    height: 3rem;
    width: 3rem;
}

.avatar-md {
    height: 4.5rem;
    width: 4.5rem;
}

.avatar-lg {
    height: 6rem;
    width: 6rem;
}

.avatar-xl {
    height: 7.5rem;
    width: 7.5rem;
}

.avatar-title {
    align-items: center;
    background-color: var(--bs-primary);
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}

/* Avatar group */
.avatar-group {
    padding-left: 12px;
    display: flex;
    flex-wrap: wrap;
}

.avatar-group .avatar-group-item {
    margin-left: -12px;
    border: 2px solid var(--bs-secondary-bg);
    border-radius: 50%;
    transition: all 0.2s;
}

.avatar-group .avatar-group-item:hover {
    position: relative;
    transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   m) Authentication pages
   -------------------------------------------------------------------------- */

.account-pages {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f8fb;
}

.account-pages .card .bg-primary-subtle {
    background-color: rgba(85, 110, 230, 0.1) !important;
}

.account-pages .text-primary {
    color: #556ee6 !important;
}

.account-pages .card-body {
    padding: 1.25rem;
}

.account-pages .card-body .p-2 {
    padding: 0.75rem !important;
}

.auth-logo {
    text-align: center;
    margin-top: -34px;
}

.auth-logo .avatar-md {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.auth-logo .avatar-title.bg-light {
    background-color: #fff !important;
}

/* Password show/hide button */
.auth-pass-inputgroup .btn-light {
    background-color: #eff2f7;
    border-color: #ced4da;
    border-left: 0;
}

/* Form labels */
.account-pages .form-label {
    font-weight: 500;
    font-size: 13px;
    color: #495057;
}

/* Form controls */
.account-pages .form-control {
    font-size: 13px;
    padding: 0.47rem 0.75rem;
    border-color: #ced4da;
}

.account-pages .form-control:focus {
    border-color: #556ee6;
    box-shadow: 0 0 0 0.15rem rgba(85, 110, 230, 0.25);
}

.auth-logo .auth-logo-dark {
    display: var(--bs-display-block);
}

.auth-logo .auth-logo-light {
    display: var(--bs-display-none);
}

.auth-body-bg {
    background-color: var(--bs-secondary-bg);
}

.home-btn {
    position: absolute;
    top: 15px;
    right: 25px;
}

/* Auth full page */
.auth-full-bg {
    background-color: rgba(85, 110, 230, 0.25);
    display: flex;
}

.auth-full-bg .bg-overlay {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.auth-full-page-content {
    display: flex;
}

/* Auth password toggle */
.auth-pass-inputgroup input[type="input"] + .btn .mdi-eye-outline::before {
    content: "\F06D1";
}

.social-list-item {
    height: 2rem;
    width: 2rem;
    line-height: calc(2rem - 4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    color: #adb5bd;
    text-align: center;
    transition: all 0.4s;
}

.social-list-item:hover {
    color: var(--bs-secondary-color);
    background-color: #e9ecef;
}

@media (min-width: 1200px) {
    .auth-full-bg {
        height: 100vh;
    }

    .auth-full-page-content {
        min-height: 100vh;
    }
}


/* --------------------------------------------------------------------------
   n) Progress bar sizes
   -------------------------------------------------------------------------- */

.progress-sm {
    height: 5px;
}

.progress-md {
    height: 8px;
}

.progress-lg {
    height: 12px;
}

.progress-xl {
    height: 16px;
}

.custom-progess {
    position: relative;
}

.custom-progess .progress-icon {
    position: absolute;
    top: -12px;
}

.custom-progess .progress-icon .avatar-title {
    background: var(--bs-secondary-bg);
}

/* Animated progress */
.animated-progess {
    position: relative;
}

.animated-progess .progress-bar {
    position: relative;
    border-radius: 6px;
    animation: animate-positive 2s;
}

@keyframes animate-positive {
    0% {
        width: 0;
    }
}


/* --------------------------------------------------------------------------
   o) Font size helpers
   -------------------------------------------------------------------------- */

.font-size-10 { font-size: 10px !important; }
.font-size-11 { font-size: 11px !important; }
.font-size-12 { font-size: 12px !important; }
.font-size-13 { font-size: 13px !important; }
.font-size-14 { font-size: 14px !important; }
.font-size-15 { font-size: 15px !important; }
.font-size-16 { font-size: 16px !important; }
.font-size-17 { font-size: 17px !important; }
.font-size-18 { font-size: 18px !important; }
.font-size-20 { font-size: 20px !important; }
.font-size-22 { font-size: 22px !important; }
.font-size-24 { font-size: 24px !important; }


/* --------------------------------------------------------------------------
   p) Width helpers
   -------------------------------------------------------------------------- */

.w-xs { min-width: 80px; }
.w-sm { min-width: 95px; }
.w-md { min-width: 110px; }
.w-lg { min-width: 140px; }
.w-xl { min-width: 160px; }


/* --------------------------------------------------------------------------
   q) Page head
   -------------------------------------------------------------------------- */

.page-title-box {
    padding-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title-box .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, "/");
}

.page-title-box h4 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px !important;
}


/* --------------------------------------------------------------------------
   r) Dropdown animation
   -------------------------------------------------------------------------- */

.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    animation-name: DropDownSlide;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    margin: 0;
    position: absolute;
    z-index: 1000;
}

.dropdown-menu.show {
    top: 100% !important;
}

.dropdown-menu-end[style] {
    left: auto !important;
    right: 0 !important;
}

.dropdown-menu[data-popper-placement^="right"],
.dropdown-menu[data-popper-placement^="top"],
.dropdown-menu[data-popper-placement^="left"] {
    top: auto !important;
    animation: none !important;
}

@keyframes DropDownSlide {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Dropdown sizes */
@media (min-width: 600px) {
    .dropdown-menu-lg {
        width: 320px;
    }

    .dropdown-menu-md {
        width: 240px;
    }
}

/* Dropdown mega */
.dropdown-mega {
    position: static !important;
}

.dropdown-megamenu[style] {
    padding: 20px;
    left: 20px !important;
    right: 20px !important;
}

.dropdown-mega-menu-xl {
    width: 40rem;
}

.dropdown-mega-menu-lg {
    width: 26rem;
}


/* --------------------------------------------------------------------------
   s) Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .vertical-menu {
        display: none;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .footer {
        /* flex layout handles positioning */
    }

    body.sidebar-enable .vertical-menu {
        display: block;
        position: fixed;
        z-index: 1003;
    }

    .navbar-brand-box {
        width: auto;
    }

    .logo span.logo-lg {
        display: none;
    }

    .logo span.logo-sm {
        display: inline-block;
    }
}

@media (max-width: 600px) {
    .navbar-header .dropdown {
        position: static;
    }

    .navbar-header .dropdown .dropdown-menu {
        left: 10px !important;
        right: 10px !important;
    }
}

@media (max-width: 380px) {
    .navbar-brand-box {
        display: none;
    }
}

/* Container max-width override */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}


/* --------------------------------------------------------------------------
   Additional: Horizontal layout
   -------------------------------------------------------------------------- */

body[data-layout="horizontal"] .main-content {
    margin-left: 0 !important;
}

body[data-layout="horizontal"] .navbar-brand-box {
    width: auto;
}

body[data-layout="horizontal"] .page-content {
    margin-top: 70px;
    padding: calc(55px + 24px) 12px 60px 12px;
}

body[data-layout="horizontal"] .footer {
    left: 0 !important;
}

@media (max-width: 992px) {
    body[data-layout="horizontal"] .page-content {
        margin-top: 15px;
    }
}


/* --------------------------------------------------------------------------
   Additional: Boxed layout
   -------------------------------------------------------------------------- */

body[data-layout-size="boxed"] {
    background-color: var(--bs-boxed-body-bg);
}

body[data-layout-size="boxed"] #layout-wrapper {
    background-color: var(--bs-body-bg);
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    min-height: 1760px;
}

body[data-layout-size="boxed"] #page-topbar {
    max-width: 1300px;
    margin: 0 auto;
}

body[data-layout-size="boxed"] .footer {
    margin: 0 auto;
    max-width: calc(1300px - 250px);
}

body[data-layout-size="boxed"].vertical-collpsed .footer {
    max-width: calc(1300px - 70px);
}


/* --------------------------------------------------------------------------
   Additional: Scrollable layout
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
    body[data-layout-scrollable="true"] #page-topbar,
    body[data-layout-scrollable="true"] .vertical-menu {
        position: absolute;
    }

    body[data-layout-scrollable="true"][data-layout="horizontal"] #page-topbar,
    body[data-layout-scrollable="true"][data-layout="horizontal"] .topnav {
        position: absolute;
    }
}


/* --------------------------------------------------------------------------
   Additional: Dark mode table overrides
   -------------------------------------------------------------------------- */

[data-bs-theme="dark"] .table-light {
    --bs-table-color: #a6b0cf;
    --bs-table-bg: #32394e;
    --bs-table-border-color: #32394e;
}

[data-bs-theme="dark"] .table-dark {
    --bs-table-color: #a6b0cf;
    --bs-table-bg: #32394e;
    --bs-table-border-color: #3a425a;
}

[data-bs-theme="dark"] .btn-light {
    --bs-btn-color: #c3cbe4;
    --bs-btn-bg: #32394e;
    --bs-btn-border-color: #32394e;
    --bs-btn-hover-color: #c3cbe4;
    --bs-btn-hover-bg: #32394e;
    --bs-btn-hover-border-color: #32394e;
    --bs-btn-active-color: #c3cbe4;
    --bs-btn-active-bg: #32394e;
    --bs-btn-active-border-color: #32394e;
}

[data-bs-theme="dark"] .btn-outline-light {
    --bs-btn-color: #c3cbe4;
    --bs-btn-border-color: #32394e;
    --bs-btn-hover-color: #c3cbe4;
    --bs-btn-hover-bg: #32394e;
    --bs-btn-hover-border-color: #32394e;
    --bs-btn-active-color: #c3cbe4;
    --bs-btn-active-bg: #32394e;
    --bs-btn-active-border-color: #32394e;
}

[data-bs-theme="dark"] .btn-dark {
    --bs-btn-bg: #a6b0cf;
    --bs-btn-border-color: #a6b0cf;
    --bs-btn-hover-bg: #a6b0cf;
}

[data-bs-theme="dark"] .btn-outline-dark {
    --bs-btn-color: #a6b0cf;
    --bs-btn-border-color: #a6b0cf;
}

[data-bs-theme="dark"] .dropdown-menu {
    --bs-dropdown-border-width: 1px;
}


/* --------------------------------------------------------------------------
   Additional: Chartjs max height
   -------------------------------------------------------------------------- */

.chartjs-chart {
    max-height: 300px;
}


/* --------------------------------------------------------------------------
   Additional: Alert close button
   -------------------------------------------------------------------------- */

.alert-dismissible .btn-close {
    font-size: 10px;
}


/* --------------------------------------------------------------------------
   Additional: Megamenu list
   -------------------------------------------------------------------------- */

.megamenu-list li {
    position: relative;
    padding: 5px 0;
}

.megamenu-list li a {
    color: var(--bs-body-color);
}


/* --------------------------------------------------------------------------
   Additional: Preloader (optional)
   -------------------------------------------------------------------------- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bs-body-bg);
    z-index: 9999;
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

/* --------------------------------------------------------------------------
   Global Search Dropdown
   -------------------------------------------------------------------------- */

#global-search-results {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--bs-border-color, #eff2f7);
    border-radius: 0.25rem;
}

#global-search-results .dropdown-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-secondary);
    border-bottom: 1px solid var(--bs-border-color, #eff2f7);
}

#global-search-results .dropdown-item:hover {
    background-color: var(--bs-light, #f5f6f8);
}

#global-search-results .notification-item + .dropdown-header {
    border-top: 1px solid var(--bs-border-color, #eff2f7);
}

/* --------------------------------------------------------------------------
   Astrology Learning Popovers
   -------------------------------------------------------------------------- */

.astro-learning-popover {
    max-width: 320px;
}

.astro-learning-popover .popover-body {
    font-size: 12px;
    padding: 8px 12px;
}

.house-hover-target:hover {
    fill: rgba(85, 110, 230, 0.08);
}
