/* Responsive wrapper for downlines table */
.umw_dashboard_my_downlines_wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 0;
    margin: 0 auto 0 auto;
}

@media (max-width: 600px) {
    .umw-affiliate{
        margin-bottom: 1rem !important;
    }
    .umw_dashboard_my_downlines_wrapper {
        padding: 0;
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .umw_dashboard_my_downlines_wrapper .table {
        min-width: 600px;
        width: 100%;
        display: block;
    }
}
/* Utility badge styles for downlines table */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.35rem;
}
.bg-success {
    background-color: #28a745 !important;
}
.bg-danger {
    background-color: #dc3545 !important;
}
/* --- UMW Downlines Custom Design --- */
.my-downlines {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.08);
    margin: 30px auto;
    padding: 24px 18px 32px 18px;
    max-width: 1000px;
    border: 1px solid #e6e6e6;
}
.umw-downliners-shortcode {
    padding: 0;
}
.my-downlines .table {
    background: #f9fbfd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 24px;
    padding-top: 4px;
    box-shadow: 0 1px 4px rgba(44, 62, 80, 0.04);
}
@media (max-width:600px) {
    .dataTables_wrapper .dataTables_filter {
       margin-top:0px !important;
    }
    .dataTables_length{
        float: left !important;
        width: 50%;
    }
    .dataTables_filter{
        float: right !important;
        width: 50%;
    }
    .my-downlines .table{
        margin-top: 12px !important;
        padding-top: 16px !important;
        font-size: 0.95rem;
    }
    
}
/* @media (max-width: 600px) {
    .my-downlines .table {
        margin-top: 12px;
        padding-top: 8px;
        font-size: 0.95rem;
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .my-downlines .table thead, .my-downlines .table tbody, .my-downlines .table tr {
        display: block;
        width: 100%;
    }
    .my-downlines .table th, .my-downlines .table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        padding-left: 8px;
        padding-right: 8px;
    }
    .my-downlines .table tr.text-center {
        text-align: left !important;
    }
} */
.my-downlines .table thead {
    background: linear-gradient(90deg, #154b5b 60%, #1abc9c 100%);
}
.my-downlines .table thead tr {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}
.my-downlines .table tbody tr {
    transition: background 0.2s;
}
.my-downlines .table tbody tr:hover {
    background: #eaf6f6;
}
.my-downlines .table td, .my-downlines .table th {
    vertical-align: middle;
    padding: 10px 8px;
}
.my-downlines .export-csv-btn-form {
    text-align: right;
    margin-top: 18px;
}
.my-downlines .btn-success {
    background: linear-gradient(90deg, #1abc9c 60%, #154b5b 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 7px 18px;
    transition: background 0.2s;
}
.my-downlines .btn-success:hover {
    background: linear-gradient(90deg, #154b5b 60%, #1abc9c 100%);
    color: #fff;
}
.my-downlines .text-center.py-3.fs-5 {
    border-radius: 8px 8px 0 0;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #154b5b 60%, #1abc9c 100%);
    color: #fff !important;
    margin-bottom: 0;
    padding: 18px 0;
}
@media (max-width: 600px) {
    .my-downlines {
        padding: 10px 2px 18px 2px;
    }
    .my-downlines .table thead tr {
        font-size: 0.95rem;
    }
    .my-downlines .table td, .my-downlines .table th {
        padding: 7px 3px;
        font-size: 0.95rem;
    }
    .my-downlines .text-center.py-3.fs-5 {
        font-size: 1.05rem;
        padding: 12px 0;
    }
}
legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: none;
    appearance: none;
    padding: 0px !important;
    border: 1px solid darkgray !important;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}


mark,
.mark {
    padding: 0.2em;
    background-color: #fcf8e3;
}



code {
    font-size: 87.5%;
    color: #e83e8c;
    word-wrap: break-word;
}

a>code {
    color: inherit;
}

kbd {
    padding: 0.2rem 0.4rem;
    font-size: 87.5%;
    color: #fff;
    background-color: #3a3b45;
    border-radius: 0.2rem;
}

kbd kbd {
    padding: 0;
    font-size: 100%;
    font-weight: 700;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #3a3b45;
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

.pre-scrollable {
    max-height: 340px;
    overflow-y: scroll;
}


#wrapper {
    display: flex;
}

#wrapper #content-wrapper {
    background: none;
    background-color: transparent;
    width: 100%;
    overflow-x: hidden;
}

#wrapper #content-wrapper #content {
    flex: 1 0 auto;
    background-color: transparent;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}





/* .fade:not(.show) {
  opacity: 0;
} */

.collapse:not(.show) {
    display: none;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition: none;
    }
}

.dropup,
.dropright,
.dropdown,
.dropleft {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.85rem;
    color: #858796;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

@media (min-width: 576px) {
    .dropdown-menu-sm-left {
        right: auto;
        left: 0;
    }

    .dropdown-menu-sm-right {
        right: 0;
        left: auto;
    }
}

@media (min-width: 768px) {
    .dropdown-menu-md-left {
        right: auto;
        left: 0;
    }

    .dropdown-menu-md-right {
        right: 0;
        left: auto;
    }
}

@media (min-width: 992px) {
    .dropdown-menu-lg-left {
        right: auto;
        left: 0;
    }

    .dropdown-menu-lg-right {
        right: 0;
        left: auto;
    }
}

@media (min-width: 1200px) {
    .dropdown-menu-xl-left {
        right: auto;
        left: 0;
    }

    .dropdown-menu-xl-right {
        right: 0;
        left: auto;
    }
}

.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.125rem;
}

.dropup .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}

.dropup .dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropright .dropdown-menu {
    top: 0;
    right: auto;
    left: 100%;
    margin-top: 0;
    margin-left: 0.125rem;
}

.dropright .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}

.dropright .dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropright .dropdown-toggle::after {
    vertical-align: 0;
}

.dropleft .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: 0.125rem;
}

.dropleft .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
}

.dropleft .dropdown-toggle::after {
    display: none;
}

.dropleft .dropdown-toggle::before {
    display: inline-block;
    margin-right: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid;
    border-bottom: 0.3em solid transparent;
}

.dropleft .dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropleft .dropdown-toggle::before {
    vertical-align: 0;
}

.dropdown-menu[x-placement^="top"],
.dropdown-menu[x-placement^="right"],
.dropdown-menu[x-placement^="bottom"],
.dropdown-menu[x-placement^="left"] {
    right: auto;
    bottom: auto;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #eaecf4;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #3a3b45;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #2e2f37;
    text-decoration: none;
    background-color: #eaecf4;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #4e73df;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #b7b9cc;
    pointer-events: none;
    background-color: transparent;
}

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

.dropdown-header {
    display: block;
    padding: 0.5rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #858796;
    white-space: nowrap;
}

.dropdown-item-text {
    display: block;
    padding: 0.25rem 1.5rem;
    color: #3a3b45;
}


.dropdown-toggle-split {
    padding-right: 0.5625rem;
    padding-left: 0.5625rem;
}

.dropdown-toggle-split::after,
.dropup .dropdown-toggle-split::after,
.dropright .dropdown-toggle-split::after {
    margin-left: 0;
}

.dropleft .dropdown-toggle-split::before {
    margin-right: 0;
}

.btn-sm+.dropdown-toggle-split,
.btn-group-sm>.btn+.dropdown-toggle-split {
    padding-right: 0.375rem;
    padding-left: 0.375rem;
}

.btn-lg+.dropdown-toggle-split,
.btn-group-lg>.btn+.dropdown-toggle-split {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}


.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link:focus {
    text-decoration: none;
}

.nav-link.disabled {
    color: #858796;
    pointer-events: none;
    cursor: default;
}

.nav-tabs {
    border-bottom: 1px solid #dddfeb;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 0.35rem;
    border-top-right-radius: 0.35rem;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    border-color: #eaecf4 #eaecf4 #dddfeb;
}

.nav-tabs .nav-link.disabled {
    color: #858796;
    background-color: transparent;
    border-color: transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #6e707e;
    background-color: #fff;
    border-color: #dddfeb #dddfeb #fff;
}

.nav-tabs .dropdown-menu {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-pills .nav-link {
    border-radius: 0.35rem;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #4e73df;
}

.nav-fill>.nav-link,
.nav-fill .nav-item {
    flex: 1 1 auto;
    text-align: center;
}

.nav-justified>.nav-link,
.nav-justified .nav-item {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}

.tab-content>.tab-pane {
    display: none;
}

.tab-content>.active {
    display: block;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.navbar .container,
.navbar .container-fluid,
.navbar .container-sm,
.navbar .container-md,
.navbar .container-lg,
.navbar .container-xl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-brand:hover,
.navbar-brand:focus {
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}

.navbar-nav .dropdown-menu {
    position: static;
    float: none;
}

.navbar-text {
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.35rem;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    text-decoration: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: 50% / 100% 100% no-repeat;
}

.navbar-nav-scroll {
    max-height: 75vh;
    overflow-y: auto;
}

@media (max-width: 575.98px) {

    .navbar-expand-sm>.container,
    .navbar-expand-sm>.container-fluid,
    .navbar-expand-sm>.container-sm,
    .navbar-expand-sm>.container-md,
    .navbar-expand-sm>.container-lg,
    .navbar-expand-sm>.container-xl {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 576px) {
    .navbar-expand-sm {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-sm .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-sm .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-sm>.container,
    .navbar-expand-sm>.container-fluid,
    .navbar-expand-sm>.container-sm,
    .navbar-expand-sm>.container-md,
    .navbar-expand-sm>.container-lg,
    .navbar-expand-sm>.container-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-sm .navbar-nav-scroll {
        overflow: visible;
    }

    .navbar-expand-sm .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-sm .navbar-toggler {
        display: none;
    }
}

@media (max-width: 767.98px) {

    .navbar-expand-md>.container,
    .navbar-expand-md>.container-fluid,
    .navbar-expand-md>.container-sm,
    .navbar-expand-md>.container-md,
    .navbar-expand-md>.container-lg,
    .navbar-expand-md>.container-xl {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 768px) {
    .navbar-expand-md {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-md .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-md>.container,
    .navbar-expand-md>.container-fluid,
    .navbar-expand-md>.container-sm,
    .navbar-expand-md>.container-md,
    .navbar-expand-md>.container-lg,
    .navbar-expand-md>.container-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-md .navbar-nav-scroll {
        overflow: visible;
    }

    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-md .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {

    .navbar-expand-lg>.container,
    .navbar-expand-lg>.container-fluid,
    .navbar-expand-lg>.container-sm,
    .navbar-expand-lg>.container-md,
    .navbar-expand-lg>.container-lg,
    .navbar-expand-lg>.container-xl {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-lg>.container,
    .navbar-expand-lg>.container-fluid,
    .navbar-expand-lg>.container-sm,
    .navbar-expand-lg>.container-md,
    .navbar-expand-lg>.container-lg,
    .navbar-expand-lg>.container-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-lg .navbar-nav-scroll {
        overflow: visible;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

@media (max-width: 1199.98px) {

    .navbar-expand-xl>.container,
    .navbar-expand-xl>.container-fluid,
    .navbar-expand-xl>.container-sm,
    .navbar-expand-xl>.container-md,
    .navbar-expand-xl>.container-lg,
    .navbar-expand-xl>.container-xl {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-xl {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-xl .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-xl .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-expand-xl>.container,
    .navbar-expand-xl>.container-fluid,
    .navbar-expand-xl>.container-sm,
    .navbar-expand-xl>.container-md,
    .navbar-expand-xl>.container-lg,
    .navbar-expand-xl>.container-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-xl .navbar-nav-scroll {
        overflow: visible;
    }

    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
}

.navbar-expand {
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.navbar-expand>.container,
.navbar-expand>.container-fluid,
.navbar-expand>.container-sm,
.navbar-expand>.container-md,
.navbar-expand>.container-lg,
.navbar-expand>.container-xl {
    padding-right: 0;
    padding-left: 0;
}

.navbar-expand .navbar-nav {
    flex-direction: row;
}

.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.navbar-expand>.container,
.navbar-expand>.container-fluid,
.navbar-expand>.container-sm,
.navbar-expand>.container-md,
.navbar-expand>.container-lg,
.navbar-expand>.container-xl {
    flex-wrap: nowrap;
}

.navbar-expand .navbar-nav-scroll {
    overflow: visible;
}

.navbar-expand .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
}

.navbar-expand .navbar-toggler {
    display: none;
}

.navbar-light .navbar-brand {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.5);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: rgba(0, 0, 0, 0.7);
}

.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3);
}

.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-text {
    color: rgba(0, 0, 0, 0.5);
}

.navbar-light .navbar-text a {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-text a:hover,
.navbar-light .navbar-text a:focus {
    color: rgba(0, 0, 0, 0.9);
}

.navbar-dark .navbar-brand {
    color: #fff;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-nav .nav-link.disabled {
    color: rgba(255, 255, 255, 0.25);
}

.navbar-dark .navbar-nav .show>.nav-link,
.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-text {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-text a {
    color: #fff;
}

.navbar-dark .navbar-text a:hover,
.navbar-dark .navbar-text a:focus {
    color: #fff;
}


.accordion {
    overflow-anchor: none;
}

.accordion>.card {
    overflow: hidden;
}

.accordion>.card:not(:last-of-type) {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion>.card:not(:first-of-type) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion>.card>.card-header {
    border-radius: 0;
    margin-bottom: -1px;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
}

.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
    box-shadow: none !important;
}

.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: #fff;
    /*background: rgba(90, 92, 105, 0.5);*/
    line-height: 46px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 1;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
    color: white;
}

.scroll-to-top:hover {
    background: #5a5c69;
}

.scroll-to-top i {
    font-weight: 800;
    display: block;
    line-height: 0;
    position: absolute;
    top: 25px;
    left: 20px;
}

@-webkit-keyframes growIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes growIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animated--grow-in,
.sidebar .nav-item .collapse {
    -webkit-animation-name: growIn;
    animation-name: growIn;
    -webkit-animation-duration: 200ms;
    animation-duration: 200ms;
    -webkit-animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
    animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.animated--fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 200ms;
    animation-duration: 200ms;
    -webkit-animation-timing-function: cubic-bezier(0, 1, 0.4, 1);
    animation-timing-function: cubic-bezier(0, 1, 0.4, 1);
}

.progress-sm {
    height: .5rem;
}

.rotate-15 {
    transform: rotate(15deg);
}

.rotate-n-15 {
    transform: rotate(-15deg);
}

.dropdown .dropdown-menu {
    font-size: 0.85rem;
}

.dropdown .dropdown-menu .dropdown-header {
    font-weight: 800;
    font-size: 0.65rem;
    color: #b7b9cc;
}

.dropdown.no-arrow .dropdown-toggle::after {
    display: none;
}

.sidebar .nav-item.dropdown .dropdown-toggle::after,
.topbar .nav-item.dropdown .dropdown-toggle::after {
    width: 1rem;
    text-align: center;
    float: right;
    vertical-align: 0;
    border: 0;
    font-weight: 900;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
}

.sidebar .nav-item.dropdown.show .dropdown-toggle::after,
.topbar .nav-item.dropdown.show .dropdown-toggle::after {
    content: '\f107';
}

.sidebar .nav-item .nav-link,
.topbar .nav-item .nav-link {
    position: relative;
}

.sidebar .nav-item .nav-link .badge-counter,
.topbar .nav-item .nav-link .badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    right: .25rem;
    margin-top: -.25rem;
}

.sidebar .nav-item .nav-link .img-profile,
.topbar .nav-item .nav-link .img-profile {
    height: 2rem;
    width: 2rem;
}

.topbar {
    height: 4.375rem;
}

.topbar #sidebarToggleTop {
    height: 2.5rem;
    width: 2.5rem;
}

.topbar #sidebarToggleTop:hover {
    background-color: #eaecf4;
}

.topbar #sidebarToggleTop:active {
    background-color: #dddfeb;
}

.topbar .navbar-search {
    width: 25rem;
}

.topbar .navbar-search input {
    font-size: 0.85rem;
    height: auto;
}

.topbar .topbar-divider {
    width: 0;
    border-right: 1px solid #e3e6f0;
    height: calc(4.375rem - 2rem);
    margin: auto 1rem;
}

.topbar .nav-item .nav-link {
    display: flex;
    align-items: center;
}

.topbar .nav-item .nav-link:focus {
    outline: none;
}

.topbar .nav-item:focus {
    outline: none;
}

.topbar .dropdown {
    position: static;
}

.topbar .dropdown .dropdown-menu {
    width: calc(100% - 1.5rem);
    right: 0.75rem;
}

.topbar .dropdown-list {
    padding: 0;
    border: none;
    overflow: hidden;
}

.topbar .dropdown-list .dropdown-header {
    background-color: #4e73df;
    border: 1px solid #4e73df;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #fff;
}

.topbar .dropdown-list .dropdown-item {
    white-space: normal;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-left: 1px solid #e3e6f0;
    border-right: 1px solid #e3e6f0;
    border-bottom: 1px solid #e3e6f0;
    line-height: 1.3rem;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image {
    position: relative;
    height: 2.5rem;
    width: 2.5rem;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image img {
    height: 2.5rem;
    width: 2.5rem;
}

.topbar .dropdown-list .dropdown-item .dropdown-list-image .status-indicator {
    background-color: #eaecf4;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 0.125rem solid #fff;
}

.topbar .dropdown-list .dropdown-item .text-truncate {
    max-width: 10rem;
}

.topbar .dropdown-list .dropdown-item:active {
    background-color: #eaecf4;
    color: #3a3b45;
}

@media (min-width: 576px) {
    .topbar .dropdown {
        position: relative;
    }

    .topbar .dropdown .dropdown-menu {
        width: auto;
        right: 0;
    }

    .topbar .dropdown-list {
        width: 20rem !important;
    }

    .topbar .dropdown-list .dropdown-item .text-truncate {
        max-width: 13.375rem;
    }
}

.topbar.navbar-dark .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.topbar.navbar-dark .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
}

.topbar.navbar-dark .navbar-nav .nav-item .nav-link:active {
    color: #fff;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: #d1d3e2;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
    color: #b7b9cc;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link:active {
    color: #858796;
}

.sidebar {
    width: 6.5rem;
    min-height: 100vh;
}

.sidebar .nav-item {
    position: relative;
}

.sidebar .nav-item:last-child {
    margin-bottom: 1rem;
}

.sidebar .nav-item .nav-link {
    text-align: center;
    padding: 0.75rem 1rem;
    width: 6.5rem;
}

.sidebar .nav-item .nav-link span {
    font-size: 1rem;
    display: block;
}

.sidebar .nav-item.active .nav-link {
    font-weight: 700;
}

.sidebar .nav-item .collapse {
    position: absolute;
    left: calc(6.5rem + 1.5rem / 2);
    z-index: 1;
    top: 2px;
}

.sidebar .nav-item .collapse .collapse-inner {
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.sidebar .nav-item .collapsing {
    display: none;
    transition: none;
}

.sidebar .nav-item .collapse .collapse-inner,
.sidebar .nav-item .collapsing .collapse-inner {
    padding: .5rem 0;
    min-width: 10rem;
    font-size: 0.85rem;
    margin: 0 0 1rem 0;

}

.sidebar .nav-item .collapse .collapse-inner .collapse-header,
.sidebar .nav-item .collapsing .collapse-inner .collapse-header {
    margin: 0;
    white-space: nowrap;
    padding: .5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.65rem;
    color: #b7b9cc;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    display: block;
    color: #3a3b45;
    text-decoration: none;
    border-radius: 0.35rem;
    white-space: nowrap;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
    background-color: #eaecf4;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:active {
    background-color: #dddfeb;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
    color: #4e73df;
    font-weight: 700;
}

.sidebar #sidebarToggle {
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    box-shadow: none;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.2);
}


.sidebar #sidebarToggle::after {
    font-weight: 900;
    /* content: '\f104'; */
    content: '';
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.1rem;

}

.sidebar #sidebarToggle:hover {
    text-decoration: none;
}

.sidebar #sidebarToggle:focus {
    outline: none;
}

.sidebar.toggled {
    width: 0 !important;
    overflow: hidden;
    padding: 0 !important;
}

.sidebar.toggled #sidebarToggle::after {
    /* content: '\f105'; */
    content: '';
    font-family: 'Font Awesome 5 Free';
    margin-left: 0.25rem;
}

.sidebar.toggled .sidebar-card {
    display: none;
}

.sidebar .sidebar-brand {
    height: 4.375rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    padding: 1.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    z-index: 1;
}

.sidebar .sidebar-brand .sidebar-brand-icon i {
    font-size: 2rem;
}

.sidebar .sidebar-brand .sidebar-brand-text {
    display: none;
}

.sidebar hr.sidebar-divider {
    margin: 0 1rem 1rem;
}

.sidebar .sidebar-heading {
    text-align: center;
    padding: 0 1rem;
    font-weight: 800;
    font-size: 0.65rem;
}

.sidebar .sidebar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    border-radius: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.sidebar .sidebar-card .sidebar-card-illustration {
    height: 3rem;
    display: block;
}

.sidebar .sidebar-card .sidebar-card-title {
    font-weight: bold;
}

.sidebar .sidebar-card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .sidebar {
        width: 20rem !important;
    }

    .sidebar .nav-item .collapse {
        position: relative;
        left: 0;
        z-index: 1;
        top: 0;
        -webkit-animation: none;
        animation: none;
    }

    .sidebar .nav-item .collapse .collapse-inner {
        border-radius: 0;
        box-shadow: none;
    }

    .sidebar .nav-item .collapsing {
        display: block;
        transition: height 0.15s ease;
    }

    .sidebar .nav-item .collapse,
    .sidebar .nav-item .collapsing {
        margin: 0 1rem;
    }

    .sidebar .nav-item .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.90rem;
        text-decoration: unset !important;

    }

    .sidebar .nav-item .nav-link i {
        font-size: 1rem;
        margin-right: 0.25rem;
    }

    .sidebar .nav-item .nav-link span {
        font-size: 1rem;
        display: inline;
    }

    .sidebar .nav-item .nav-link[data-bs-toggle="collapse"]::after {
        width: 1rem;
        text-align: center;
        float: right;
        vertical-align: 0;
        border: 0;
        font-weight: 900;
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
    }

    .sidebar .nav-item .nav-link[data-bs-toggle="collapse"].collapsed::after {
        content: '\f105';
    }

    .sidebar .sidebar-brand .sidebar-brand-icon i {
        font-size: 2rem;
    }

    .sidebar .sidebar-brand .sidebar-brand-text {
        display: inline;
    }

    .sidebar .sidebar-heading {
        text-align: left;
    }

    .sidebar.toggled {
        overflow: visible;
        width: 6.5rem !important;
    }

    .sidebar.toggled .nav-item .collapse {
        position: absolute;
        left: calc(6.5rem + 1.5rem / 2);
        z-index: 1;
        top: 2px;
        -webkit-animation-name: growIn;
        animation-name: growIn;
        -webkit-animation-duration: 200ms;
        animation-duration: 200ms;
        -webkit-animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
        animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
    }

    .sidebar.toggled .nav-item .collapse .collapse-inner {
        box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
        border-radius: 0.35rem;
    }

    .sidebar.toggled .nav-item .collapsing {
        display: none;
        transition: none;
    }

    .sidebar.toggled .nav-item .collapse,
    .sidebar.toggled .nav-item .collapsing {
        margin: 0;
    }

    .sidebar.toggled .nav-item:last-child {
        margin-bottom: 1rem;
    }

    .sidebar.toggled .nav-item .nav-link {
        text-align: center;
        padding: 0.75rem 1rem;
        width: 6.5rem;
    }

    .sidebar.toggled .nav-item .nav-link span {
        font-size: 0.85rem;
        display: block;
    }

    .sidebar.toggled .nav-item .nav-link i {
        margin-right: 0;
    }

    .sidebar.toggled .nav-item .nav-link[data-bs-toggle="collapse"]::after {
        display: none;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-icon i {
        font-size: 2rem;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-text {
        display: none;
    }

    .sidebar.toggled .sidebar-heading {
        text-align: center;
    }
}

.sidebar-light .sidebar-brand {
    color: #6e707e;
}

.sidebar-light hr.sidebar-divider {
    border-top: 1px solid #eaecf4;
}

.sidebar-light .sidebar-heading {
    color: #b7b9cc;
}

.sidebar-light .nav-item .nav-link {
    color: #858796;
}

.sidebar-light .nav-item .nav-link i {
    color: #d1d3e2;
}

.sidebar-light .nav-item .nav-link:active,
.sidebar-light .nav-item .nav-link:focus,
.sidebar-light .nav-item .nav-link:hover {
    color: #6e707e;
}

.sidebar-light .nav-item .nav-link:active i,
.sidebar-light .nav-item .nav-link:focus i,
.sidebar-light .nav-item .nav-link:hover i {
    color: #6e707e;
}

.sidebar-light .nav-item .nav-link[data-bs-toggle="collapse"]::after {
    color: #b7b9cc;
}

.sidebar-light .nav-item.active .nav-link {
    color: #6e707e;
}

.sidebar-light .nav-item.active .nav-link i {
    color: #6e707e;
}

.sidebar-light #sidebarToggle {
    background-color: #eaecf4;
}

.sidebar-light #sidebarToggle::after {
    color: #b7b9cc;
}

.sidebar-light #sidebarToggle:hover {
    background-color: #dddfeb;
}

.sidebar-dark .sidebar-brand {
    color: #fff;
}

.sidebar-dark hr.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-dark .sidebar-heading {
    color: rgba(255, 255, 255, 0.4);
}

.sidebar-dark .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.8);

}

.sidebar-dark .nav-item .nav-link i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

.sidebar-dark .nav-item .nav-link span {
    font-size: 16px;
}

.sidebar-dark .nav-item .nav-link:active,
.sidebar-dark .nav-item .nav-link:focus,
.sidebar-dark .nav-item .nav-link:hover {
    color: #fff;
    background: none !important;
}

.sidebar-dark .nav-item .nav-link:active i,
.sidebar-dark .nav-item .nav-link:focus i,
.sidebar-dark .nav-item .nav-link:hover i {
    color: #fff;

}

.sidebar-dark .nav-item .nav-link[data-bs-toggle="collapse"]::after {
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-dark .nav-item.active .nav-link {
    color: #fff;

}

.sidebar-dark .nav-item.active .nav-link i {
    color: #fff;
    font-size: 16px;
}

/* .sidebar-dark .nav-item.active .nav-link span {
    font-size: 18px;
} */

.sidebar-dark #sidebarToggle {
    /* background-color: rgba(255, 255, 255, 0.2); */
    background-color: transparent;
}

.sidebar-dark #sidebarToggle i {
    font-size: 30px;
}

.sidebar-dark #sidebarToggle::after {
    color: rgba(255, 255, 255, 0.5);
}

/* .sidebar-dark #sidebarToggle:hover {
    background-color: rgba(255, 255, 255, 0.25);
} */

/* .sidebar-dark.toggled #sidebarToggle::after {
    color: rgba(255, 255, 255, 0.5);
} */



.card .card-header[data-bs-toggle="collapse"].collapsed {
    border-radius: 0.35rem;
}

.card .card-header[data-bs-toggle="collapse"].collapsed::after {
    content: '\f105';
}

.chart-area {
    position: relative;
    height: 10rem;
    width: 100%;
}

@media (min-width: 768px) {
    .chart-area {
        height: 20rem;
    }
}

.chart-bar {
    position: relative;
    height: 10rem;
    width: 100%;
}

@media (min-width: 768px) {
    .chart-bar {
        height: 20rem;
    }
}

.chart-pie {
    position: relative;
    height: 15rem;
    width: 100%;
}

@media (min-width: 768px) {
    .chart-pie {
        height: calc(20rem - 43px) !important;
    }
}


.error:before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 #4e73df;
    top: 0;
    color: #5a5c69;
    background: #f8f9fc;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}

footer.sticky-footer {
    padding: 2rem 0;
    flex-shrink: 0;
}

footer.sticky-footer .copyright {
    line-height: 1;
    font-size: 0.8rem;
}

body.sidebar-toggled footer.sticky-footer {
    width: 100%;
}

.form-group {
    padding: 0px 0px 20px 0px;
}

.form-control {
    padding: 5px !important;
}

/* form#umw_register_form padding intentionally removed */

.umw_page_title {
    width: 100%;
    font-size: xx-large;
}

@media (max-width: 468px) {
    .umw_page_title {
        width: 100%;
        font-size: large;
    }
}

#wpadminbar {
    display: none;
}

.user_update_image {
    margin-top: -60px;
    height: 125px;
    width: 125px;
}

.loader {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

.img-round {
    border-radius: 50%;
}

input:focus {
    outline: none !important;
}

select:focus {
    outline: none !important;
}

@media (max-width: 558px) {
    .umw_page_title {
        font-size: large !important;
    }
}

#wrapper>ul {
    margin: 0px;
}

.no-arrow {
    width: 96px;
}


.sign-in {
    position: relative;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    transition: transform 1s;
    opacity: 0;
    box-shadow: 2px 2px 10px #cbc5c5;
    z-index: 0;
    transform: translateX(100%);
}

.form-layer {
    position: absolute;
    transition: transform 1s;
    background: linear-gradient(135deg, #D97D37, white);
    width: 50% !important;
    height: 100% !important;
    z-index: 1;
    transform: translateX(0px);
    top: 0;
    left: 0;
    padding: 0 !important;
}

@media (width<768px) {
    .form-layer {
        display: none;
    }

    .sign-in {
        display: none;
    }
}

.sign-up {
    position: relative;
    z-index: 1;
    background: white;
    margin: auto;
    opacity: 0.9;

}

.sign-up-border {
    border-radius: 15px;
}

@media(width>768px) {
    .sign-up {
        margin-left: 15%;
    }
}

.sign-up-btn {
    display: none;
    background-color: transparent !important;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(to right, #D97D37, #ffffff) border-box !important;
    border-radius: 50em !important;
    border: 3px solid transparent !important;
    color: black !important;
    padding: auto;
    transition: padding 0.5s ease-out !important;
}

.sign-in-btn {
    background-color: transparent !important;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(to right, #D97D37, #ffffff) border-box !important;
    border-radius: 50em !important;
    border: 3px solid transparent !important;
    color: black !important;
    padding: auto;
    transition: padding 0.5s ease-out !important;
}



.box {
    position: relative;
}

.umw-login-form-input {
    width: 80%;
    margin: auto;
}

.umw-login-form-input input {
    height: 45px !important;

}

.umw-registration-form-data input,
select {
    height: 45px !important;
}

.login-btn {
    width: 80% !important;

}

.login-default-btn {
    border-radius: 10px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: auto !important;
    width: 100%;
    color: #fff !important;
}

.login-default-btn:hover {
    background: #ce770f !important;
}

.sign-up-submit-btn {
    padding: 0px !important;
    height: 50px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* .login-btn:hover {
    padding-left: 50px !important;
    padding-right: 50px !important;
    transition: padding 0.7s ease-in;
} */

/* .sign-up-btn:hover {
    padding-left: 40px !important;
    padding-right: 40px !important;
    transition: padding 0.5s ease-in;
} */

.sign-in-btn:hover {
    padding-left: 50px !important;
    padding-right: 50px !important;
    transition: padding 0.5s ease-in;
}

.form-layer img {
    width: 100%;
}

.form-content-data-image {
    position: relative;
    width: 400px;
    height: 400px;
    margin: auto;
    padding-top: 20px;
}

.form-content-data {
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 40px 0px 10px 0px;

}

.sign-in-img {
    display: none;
}


.orange-gradient {
    background: linear-gradient(to right, #fe9365, #feb798);
}

.primary-gradient {
    background: linear-gradient(135deg, #072da0, #2451da, white);
}

.left-border-primary {
    border-left: 7px solid #4e73df !important;
}

.success-gradient {
    background: linear-gradient(to right, #0ac282, #0df3a3);
}

.pinc-gradient {
    background: linear-gradient(to right, #fe5d70, #fe909d);
}

.success-orange {
    box-shadow: 2px 2px 10px -1px #D97D37;
    background: linear-gradient(to bottom, #D97D37 90%, white 10%);
    border: none !important;
}

.bg-simple-c-blue {
    background: #01a9ac !important;
}

.left-border-success {
    border-left: 7px solid #1cc88a !important;
}

.info-gradient {
    background: linear-gradient(to right, #01a9ac, #01dbdf);
}

.left-border-info {
    border-left: 7px solid #36b9cc !important;
}

.warning-gradient {
    box-shadow: 2px 2px 10px -1px #d4a328;
    background: linear-gradient(to bottom, #d4a328 90%, white 10%);
    border: none !important;
}

.left-border-warning {
    border-left: 7px solid #f6c23e !important;
}

.card-shadow {
    box-shadow: 2px 2px 10px rgb(201, 200, 200);
    /* transform: scale(1); */
    transition: transform 0.5s ease-out;
    border-radius: 15px !important;
    border: none !important;
}

.card-shadow:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease-in;
    z-index: 11;
}

.graph-shadow {
    box-shadow: 2px 2px 10px rgb(201, 200, 200);
    border-radius: 15px !important;
}



.erning-box {
    padding: 20px 5px 20px 5px;
}

.erning-card-shadow {
    /* transform: scale(1); */
    transition: transform 0.5s ease-out;
    border-radius: 15px !important;
}

.erning-card-shadow:hover {
    transform: translateY(-10px);
    transition: transform 0.5s ease-in;
    z-index: 11;
}

.earning-card {
    border-radius: 15px !important;
}

.earning-card .card-icon {
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    padding: 25px 25px;
    font-size: 40px !important;
}

.text-c-blue {
    color: #01a9ac;
}

.feateher {
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

.earning-card:hover .download-icon {
    right: -60px;
}

.earning-card .download-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    height: 135px;
    width: 135px;
    right: -136px;
    font-size: 35px;
    padding: 40px 22px;
    border-radius: 50%;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    top: 0;
}

.bg-simple-c-pink {
    background: #fe5d70 !important;
}

.text-c-pink {
    color: #fe5d70 !important;
}

.text-c-orange {
    color: #fe9365 !important;
}

.text-c-dark-blue {
    color: #404e67 !important;
}

.bg-dark-blue {
    background-color: #404e67;
}

.bg-simple-c-green {
    background: #0ac282 !important;
}

.text-c-green {
    color: #0ac282 !important;
}

.comm-shadow {
    box-shadow: 2px 2px 10px rgba(201, 200, 200, 0.4);
    border-radius: 5px !important;
    transition: transform 0.5s;
    background: #d5d5d5;
}

.comm-shadow .card-icons {
    font-size: 40px !important;
}

.bonus-shadow {
    box-shadow: 2px 2px 10px rgb(201, 200, 200);
    border-radius: 5px !important;
}

.bonus-shadow .card-icons {
    font-size: 40px !important;
}

.comm-shadow:hover {
    transform: translateY(-10px);
}

.left-sidbar-bg-color {
    background-color: #404e67;
}

#accordionSidebar .collapse-header,
.collapse-item {
    font-size: 16px;
}

.bg-c-lite-green {
    background: -webkit-gradient(linear, left top, right top, from(#01a9ac), to(#01dbdf));
    background: linear-gradient(to right, #01a9ac, #01dbdf);
}

.profile-shadow {
    box-shadow: 2px 2px 10px rgb(201, 200, 200);
    border-radius: 5px !important;
    width: 100%;
    height: auto;

}

.pro-row {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.card-profile-image {
    border-radius: 5px;
    position: relative;
    width: 110px;
    height: 110px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.card-profile-image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.info {
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 700;
}

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

.text-muted {
    color: #919aa3 !important;
    ;
}

.profile-head {
    height: 225px;
}

.profile-img {
    width: 150px !important;
    height: 150px;
    position: relative;
    border: 7px solid #fff;
    left: 0;
    top: 120px;
    border-radius: 50%;


}

.profile-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.profile-data {
    position: relative;
}

.profile-title {
    margin-left: 175px;
}

.user-detalis .row {
    margin-bottom: 20px;
}

.user-detalis h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid #919aa3;
}

.user-detalis .row span:nth-child(2) {
    padding-left: 50px;
}


.withdraw-banner {
    position: relative;
    height: 450px;
    padding: 0;
}

.withdraw-banner img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

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

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

.new-table {
    margin: 0px;
}

.new-table tbody tr {
    border-bottom: 1px solid rgb(255, 255, 255, 0.5);
}

.btn-dark-blue {
    background-color: #404e67 !important;
    color: #fff !important;
}

.btn-dark-blue:hover {
    background-color: black !important;
    color: #fff !important;
}

.user-detalis {
    margin-top: 4rem !important;
}

.user-detalis .row span:nth-child(1) {
    font-weight: 600 !important;
}

.export-csv-btn-form {
    margin: 0;
    text-align: right;
}

.overlay-manage {
    position: relative;
}

#accordionSidebar li.nav-item:hover {
    background-color: #ffc107;
    /* color: white !important;   */
}

#accordionSidebar li.nav-item:hover>a {
    color: white !important;
}

#accordionSidebar li.nav-item:hover>a>span {

    color: white !important;

}


#accordionSidebar li.active:not(:hover) {
    background-color: #ffc107;
}


#accordionSidebar li.active {
    background-color: rgba(0, 0, 0, 0.678);
}

.wrapper {
    max-width: 100%;
    width: 100%;
}

.dashboard-comm {
    max-height: 100%;
    height: 100%;
    padding: 3px !important;
}

.umw-first-login {
    position: relative;
}

/* 
.bonus {
    padding-bottom: 19px;
} */

.umw-first-login {
    width: 400px !important;
}

@media (width<450px) {
    .umw-first-login {
        width: 100% !important;

    }
}

.icon-animation {
    animation: iconanimation 2s linear infinite;
}

@keyframes iconanimation {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.pulse {
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
        border-radius: 50%;

    }

    100% {
        border-radius: 50%;
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

/* #accordionSidebar positioning handled in the BEAUTIFUL SIDEBAR section below */


/* umw style file csss */

.err_div {
    margin-bottom: -1.1rem;
    color: red;
    font-size: 0.8rem;
}

.user_error {
    text-align: center;
    padding: 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgb(178, 34, 34);
    background-color: rgb(240, 128, 128, 0.2);
    color: rgb(220, 20, 60);
}

.pagination {
    padding: 20px !important;
}

.view_img {
    max-width: 20px;
    max-height: 20px;
}


.umw_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
    display: none;
}

img {
    outline: none !important;
}


/*form radius*/


#umw_hide_password {
    position: absolute;
    top: 6px;
    font-size: 20px;
    right: 10px;
    color: rgb(77, 77, 77);
    display: none;
}

#umw_show_password {
    position: absolute;
    top: 6px;
    font-size: 20px;
    right: 10px;
    color: rgb(77, 77, 77);
}

.password-eye-manage {
    position: relative;
}

.umw_onloader {
    color: #5a5c69;
    font-size: 35px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em !important;
    height: 1em !important;
    border-radius: 50%;
    /* margin: 72px auto; */
    position: absolute;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load6 1.9s infinite ease, round 1.9s infinite ease;
    animation: load6 1.9s infinite ease, round 1.9s infinite ease;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
}

@-webkit-keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@-webkit-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.show_loader {
    display: block;
}

a:focus {
    outline: none !important;
}

.navbar-nav li {
    list-style-type: none;
}

#accordionSidebar a {
    text-decoration: none;
}

.profile-dropdown a {
    text-decoration: none !important;
}

.ref-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #FA6900 0) 0 0/calc(100% - var(--r)) 100%;

}

/* HTML: <div class="ribbon">Your text content</div> */
.join-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #3FB8AF 0) 0 0/calc(100% - var(--r)) 100%;
}

/* HTML: <div class="ribbon">Your text content</div> */
.company-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #1e40af 0) 0 0/calc(100% - var(--r)) 100%;
}

.level-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #0ac282 0) 0 0/calc(100% - var(--r)) 100%;
}

/* HTML: <div class="ribbon">Your text content</div> */
.bonus-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #fe5d70 0) 0 0/calc(100% - var(--r)) 100%;
}

/* HTML: <div class="ribbon">Your text content</div> */
.rank-ribbon {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    --r: .4em;
    position: absolute;
    top: 0px;
    inset-inline: calc(-1*var(--r));
    text-align: center;
    line-height: 1.8;
    padding: 0 .5em calc(2*var(--r));
    border-radius: var(--r);
    --_g: 100%/var(--r) calc(2*var(--r)) no-repeat;
    background:
        radial-gradient(100% 50% at right, #0005 98%, #0000 101%) 0 var(--_g),
        radial-gradient(100% 50% at left, #0005 98%, #0000 101%) 100% var(--_g),
        conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)), #0000 25%, #fe9365 0) 0 0/calc(100% - var(--r)) 100%;

}


.account-details {
    position: relative;

}

/* HTML: <div class="user-rank-ribbon">Your text content</div> */
.user-rank-ribbon {
    font-size: 22x;
    font-weight: bold;
    color: #fff;
}

.user-rank-ribbon {
    --c: #3FB8AF;

    padding: .6em 1.3em;
    /* you may need to adjust this based on your content */
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    position: absolute;
    z-index: 0;
    width: fit-content;
    box-sizing: border-box;
    top: 25px;
    left: 100%;
    transform: translateX(-105%);
}

.user-rank-ribbon:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 50% 0 auto;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--c), #000 35%);
    clip-path: polygon(calc(100%/3) 0, calc(200%/3) 0, 100% 90%, calc(200%/3) 100%, calc(100%/3) 0, calc(200%/3) 0, calc(100%/3) 100%, 0 90%);
}

.user-rank-ribbon:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(35% 35%, #0000 96%, #0003 97% 99%, #0000) var(--c);
    clip-path: polygon(100.00% 50.00%, 89.23% 57.80%, 96.19% 69.13%, 83.26% 72.22%, 85.36% 85.36%, 72.22% 83.26%, 69.13% 96.19%, 57.80% 89.23%, 50.00% 100.00%, 42.20% 89.23%, 30.87% 96.19%, 27.78% 83.26%, 14.64% 85.36%, 16.74% 72.22%, 3.81% 69.13%, 10.77% 57.80%, 0.00% 50.00%, 10.77% 42.20%, 3.81% 30.87%, 16.74% 27.78%, 14.64% 14.64%, 27.78% 16.74%, 30.87% 3.81%, 42.20% 10.77%, 50.00% 0.00%, 57.80% 10.77%, 69.13% 3.81%, 72.22% 16.74%, 85.36% 14.64%, 83.26% 27.78%, 96.19% 30.87%, 89.23% 42.20%);
    /* from https://css-generators.com/starburst-shape/ */
}

button.umw-bg:hover {
    background-color: black !important;
}

button.bg-warning:hover {
    background-color: #ce770f !important;
}

.mail-template {
    max-width: 100%;
    margin: 4rem;
    background: #fff;
    text-align: center;  
    width: 600px;
    margin: auto;
    border: 12px solid black;
    padding: 30px;
    border-style: inset;
    
}

.mail-template-header {
    background-color: gainsboro;
    color: black;
    padding: 8px 0px 18px 0px;
  border-radius: 5px;
}
.mail-templaate-content{
    background: antiquewhite;
    padding: 30px;
  }
/* ── AJAX validation message states ─────────────────────────────────────── */
.umw-msg-success { color: #16a34a; }
.umw-msg-error   { color: #dc2626; }
.umw-msg-info    { color: #2563eb; }

/* ==========================================================================
   UMW Dashboard — Modern Redesign
   All rules scoped under .umw-dashboard for full theme isolation.
   ========================================================================== */

/* ── Reset inside dashboard (isolate from theme) ─────────────────────────── */
.umw-dashboard *,
.umw-dashboard *::before,
.umw-dashboard *::after {
  box-sizing: border-box;
}
.umw-dashboard {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

/* ── CSS Variables ───────────────────────────────────────────────────────── */
.umw-dashboard {
  --umw-d-blue:    #4f46e5;
  --umw-d-teal:    #0ea5e9;
  --umw-d-green:   #10b981;
  --umw-d-orange:  #f59e0b;
  --umw-d-pink:    #ec4899;
  --umw-d-purple:  #8b5cf6;
  --umw-d-red:     #ef4444;
  --umw-d-radius:  16px;
  --umw-d-shadow:  0 4px 24px rgba(0,0,0,.08);
  --umw-d-shadow-hover: 0 8px 32px rgba(0,0,0,.14);
  --umw-d-trans:   all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Affiliate Link Banner ───────────────────────────────────────────────── */
.umw-dashboard .card.bg-light.profile-shadow {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  border: none;
  border-radius: var(--umw-d-radius);
  box-shadow: var(--umw-d-shadow);
  overflow: hidden;
  position: relative;
}
.umw-dashboard .card.bg-light.profile-shadow::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.umw-dashboard .card.bg-light.profile-shadow .card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.umw-dashboard .card.bg-light.profile-shadow h5 {
  color: #fff !important;
  font-size: .75rem;
  letter-spacing: .1em;
  margin: 0 0 4px;
  opacity: .8;
}
.umw-dashboard .card.bg-light.profile-shadow span {
  color: rgba(255,255,255,.9) !important;
  font-size: .9rem;
  font-weight: 500;
  word-break: break-all;
}
.umw-dashboard #copy_button,
.umw-dashboard button#copy_button {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: var(--umw-d-trans) !important;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.umw-dashboard #copy_button:hover {
  background: rgba(255,255,255,.35) !important;
  transform: translateY(-1px);
}

/* ── Top Earning Cards (Earnings / Withdrawal / Bonus / Downlines) ───────── */
.umw-dashboard .orange-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(245,158,11,.3) !important;
  transition: var(--umw-d-trans) !important;
  position: relative;
  overflow: hidden;
}
.umw-dashboard .success-gradient {
  background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(16,185,129,.3) !important;
  transition: var(--umw-d-trans) !important;
  position: relative;
  overflow: hidden;
}
.umw-dashboard .pinc-gradient {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(236,72,153,.3) !important;
  transition: var(--umw-d-trans) !important;
  position: relative;
  overflow: hidden;
}
.umw-dashboard .info-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(79,70,229,.3) !important;
  transition: var(--umw-d-trans) !important;
  position: relative;
  overflow: hidden;
}
.umw-dashboard .orange-gradient::after,
.umw-dashboard .success-gradient::after,
.umw-dashboard .pinc-gradient::after,
.umw-dashboard .info-gradient::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.umw-dashboard .card-shadow {
  box-shadow: var(--umw-d-shadow) !important;
  border-radius: var(--umw-d-radius) !important;
  border: none !important;
  transition: var(--umw-d-trans) !important;
}
.umw-dashboard .card-shadow:hover,
.umw-dashboard .orange-gradient:hover,
.umw-dashboard .success-gradient:hover,
.umw-dashboard .pinc-gradient:hover,
.umw-dashboard .info-gradient:hover {
  transform: translateY(-4px);
  box-shadow: var(--umw-d-shadow-hover) !important;
}
.umw-dashboard .card-shadow .h6,
.umw-dashboard .orange-gradient .h6,
.umw-dashboard .success-gradient .h6,
.umw-dashboard .pinc-gradient .h6,
.umw-dashboard .info-gradient .h6 {
  font-size: .8rem !important;
  letter-spacing: .06em;
}
.umw-dashboard .card-shadow .fa-2x,
.umw-dashboard .orange-gradient .fa-2x,
.umw-dashboard .success-gradient .fa-2x,
.umw-dashboard .pinc-gradient .fa-2x,
.umw-dashboard .info-gradient .fa-2x {
  font-size: 2rem !important;
  opacity: .85;
}

/* ── Summary Cards (Total Earning / Charge / Net Income) ─────────────────── */
.umw-dashboard .bg-simple-c-blue {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(79,70,229,.25) !important;
  transition: var(--umw-d-trans) !important;
}
.umw-dashboard .bg-simple-c-pink {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(236,72,153,.25) !important;
  transition: var(--umw-d-trans) !important;
}
.umw-dashboard .bg-simple-c-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: 0 4px 20px rgba(16,185,129,.25) !important;
  transition: var(--umw-d-trans) !important;
}
.umw-dashboard .earning-card {
  border-radius: var(--umw-d-radius) !important;
  overflow: hidden;
}
.umw-dashboard .earning-card:hover {
  transform: translateY(-4px);
}
.umw-dashboard .earning-card .card-icon {
  background: rgba(255,255,255,.2) !important;
  border-radius: 12px !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  color: #fff !important;
}
.umw-dashboard .erning-box {
  padding: 8px !important;
}
.umw-dashboard .earning-card .download-icon {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border-radius: 0 var(--umw-d-radius) var(--umw-d-radius) 0;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
}
.umw-dashboard .earning-card:hover .download-icon {
  right: 0;
}

/* ── Commission Cards ────────────────────────────────────────────────────── */
.umw-dashboard .comm-shadow {
  background: #fff !important;
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: var(--umw-d-shadow) !important;
  transition: var(--umw-d-trans) !important;
  overflow: hidden;
}
.umw-dashboard .comm-shadow:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--umw-d-shadow-hover) !important;
}
.umw-dashboard .comm-shadow .card-icons {
  font-size: 2.5rem !important;
}
.umw-dashboard .comm-shadow .card-body {
  padding: 1.5rem 1rem !important;
}

/* Ribbon font size modernise */
.umw-dashboard .ref-ribbon,
.umw-dashboard .join-ribbon,
.umw-dashboard .company-ribbon,
.umw-dashboard .level-ribbon,
.umw-dashboard .bonus-ribbon,
.umw-dashboard .rank-ribbon {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
}

/* Commission amount typography */
.umw-dashboard .text-c-blue   { color: #4f46e5 !important; }
.umw-dashboard .text-c-pink   { color: #ec4899 !important; }
.umw-dashboard .text-c-orange { color: #f59e0b !important; }
.umw-dashboard .text-c-green  { color: #10b981 !important; }
.umw-dashboard .text-c-dark-blue { color: #1e40af !important; }
.umw-dashboard .comm-shadow .h2 {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
}

/* ── Charts Section ──────────────────────────────────────────────────────── */
.umw-dashboard .card.profile-shadow {
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: var(--umw-d-shadow) !important;
  transition: var(--umw-d-trans) !important;
}
.umw-dashboard .card.profile-shadow:hover {
  box-shadow: var(--umw-d-shadow-hover) !important;
}
.umw-dashboard .card-header {
  background: #fff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: .9rem 1.25rem !important;
  border-radius: var(--umw-d-radius) var(--umw-d-radius) 0 0 !important;
}
.umw-dashboard .card-header h5 {
  font-size: .8rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: .08em;
}

/* ── User Profile Card ───────────────────────────────────────────────────── */
.umw-dashboard .profile-shadow {
  border: none !important;
  border-radius: var(--umw-d-radius) !important;
  box-shadow: var(--umw-d-shadow) !important;
  background: #fff;
  overflow: hidden;
}
.umw-dashboard .bg-c-lite-green {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem !important;
}
.umw-dashboard .card-profile-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.6);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  margin-bottom: .75rem;
}
.umw-dashboard .card-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.umw-dashboard .bg-c-lite-green h5 {
  color: #fff !important;
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
}
.umw-dashboard .profile-content h6.info {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  margin-bottom: .25rem;
}
.umw-dashboard .profile-email {
  font-size: .8rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-bottom: 2px !important;
}
.umw-dashboard .profile-content + .row h6,
.umw-dashboard .row.px-4 h6 {
  font-size: .9rem !important;
  color: #334155 !important;
  word-break: break-all;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
#wrapper .sidebar {
  background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 0 16px 16px 0;
  box-shadow: 4px 0 20px rgba(0,0,0,.12);
}
#wrapper .sidebar .sidebar-brand {
  color: #c7d2fe;
  padding: 1rem;
}
#wrapper .sidebar .nav-item .nav-link {
  color: #a5b4fc;
  border-radius: 10px;
  margin: 2px 8px;
  padding: .65rem 1rem;
  font-size: .88rem;
  transition: all .2s ease;
}
#wrapper .sidebar .nav-item .nav-link:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  transform: translateX(4px);
}
#wrapper .sidebar .nav-item.active .nav-link,
#wrapper .sidebar .nav-item.umw-bg .nav-link {
  color: #fff;
}
#wrapper .sidebar .sidebar-divider {
  border-color: rgba(255,255,255,.1);
}
#wrapper .sidebar .collapse-inner {
  border-radius: 10px;
  box-shadow: var(--umw-d-shadow);
}
#wrapper .sidebar .collapse-item {
  font-size: .85rem;
  color: #475569;
  padding: .45rem 1rem;
  border-radius: 8px;
}
#wrapper .sidebar .collapse-item:hover {
  background: #f1f5f9;
  color: #4f46e5;
}

/* ── Topbar (legacy selector kept for reference — new topbar uses .umw-topbar) ── */
#wrapper .topbar .img-profile {
  width: 36px;
  height: 36px;
  border: 2px solid #e2e8f0;
  object-fit: cover;
}
#wrapper .topbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: .5rem;
}
#wrapper .topbar .dropdown-item {
  border-radius: 8px;
  font-size: .88rem;
  padding: .5rem .75rem;
  transition: all .15s ease;
}
#wrapper .topbar .dropdown-item:hover {
  background: #f1f5f9;
  color: #4f46e5;
}

/* ── Scroll to top button ────────────────────────────────────────────────── */
.scroll-to-top.umw-bg {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  box-shadow: 0 4px 14px rgba(79,70,229,.4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--umw-d-trans);
}
.scroll-to-top.umw-bg:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79,70,229,.5);
}

/* ── Profile Update Modal ────────────────────────────────────────────────── */
#umw-launch-user-update-model .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
#umw-launch-user-update-model .modal-header {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 1.5rem;
  border: none;
  justify-content: center;
}
#umw-launch-user-update-model .modal-header .user_update_image {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 3px solid rgba(255,255,255,.5);
  object-fit: cover;
}
#umw-launch-user-update-model .modal-header .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background-color: rgba(255,255,255,.8) !important;
  border-radius: 50%;
  opacity: .8;
}
#umw-launch-user-update-model .modal-body {
  padding: 1.5rem;
}
#umw-launch-user-update-model .form-control {
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: .6rem 1rem !important;
  font-size: .9rem !important;
  transition: all .2s ease !important;
}
#umw-launch-user-update-model .form-control:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12) !important;
}
#umw-launch-user-update-model .btn-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: .6rem 2rem !important;
  font-weight: 600 !important;
  font-size: .9rem !important;
  transition: var(--umw-d-trans) !important;
}
#umw-launch-user-update-model .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16,185,129,.4) !important;
}

/* ── Content wrapper background ──────────────────────────────────────────── */
#wrapper #content-wrapper {
  background: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── Mobile Responsive ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .umw-dashboard .row.m-0 {
    /* margin: 0 !important; */
  }
  .umw-dashboard [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .umw-dashboard .card.bg-light.profile-shadow .card-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .umw-dashboard .card.bg-light.profile-shadow span {
    font-size: .8rem !important;
  }
  .umw-dashboard .earning-card .card-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }
  .umw-dashboard .comm-shadow .h2 {
    font-size: 1.3rem !important;
  }
  .umw-dashboard .ref-ribbon,
  .umw-dashboard .join-ribbon,
  .umw-dashboard .company-ribbon,
  .umw-dashboard .level-ribbon,
  .umw-dashboard .bonus-ribbon,
  .umw-dashboard .rank-ribbon {
    font-size: 11px !important;
  }
  .umw-dashboard .bg-c-lite-green {
    padding: 1.25rem .75rem !important;
    border-radius: var(--umw-d-radius) var(--umw-d-radius) 0 0 !important;
  }
  .umw-dashboard .pro-row {
    border-radius: var(--umw-d-radius) var(--umw-d-radius) 0 0 !important;
  }
  .umw-dashboard .col-md-5.col-sm-5,
  .umw-dashboard .col-md-7.col-sm-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  #wrapper .sidebar {
    border-radius: 0 !important;
  }
  #wrapper #content-wrapper {
    padding: .0rem !important;
  }
  .umw-dashboard .chart .col-xl-8,
  .umw-dashboard .chart .col-xl-4 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .umw-dashboard .h5,
  .umw-dashboard .h6 {
    font-size: .9rem !important;
  }
  .umw-dashboard .erning-box {
    padding: 4px !important;
  }
  .umw-dashboard .card-body {
    padding: .85rem !important;
  }
  .umw-dashboard .comm-shadow .card-body {
    padding: 1rem .75rem !important;
  }
}



/* ==========================================================================
   UMW Registration Page
   Scoped under .umw-reg-wrap. No hero panel. Full-width, mobile-first.
   ========================================================================== */

/* ── Font & box-model reset ──────────────────────────────────────────────── */
.umw-reg-wrap,
.umw-reg-wrap * {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Page background ─────────────────────────────────────────────────────── */
.umw-reg-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}

/* ── Form panel — the visible white card ─────────────────────────────────── */
.umw-reg-form-panel {
  width: 100%;
  max-width: 780px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(79,70,229,.12);
  position: relative;
  overflow: hidden;
}

/* Gradient top accent bar */
.umw-reg-form-panel::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
}

.umw-reg-form-panel__inner {
  padding: 2.5rem 3rem 2.25rem;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.umw-reg-form-panel__header {
  text-align: center;
  margin-bottom: 2rem;
}
.umw-reg-form-panel__logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: .85rem;
  box-shadow: 0 4px 14px rgba(79,70,229,.3);
}
.umw-reg-form-panel__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 .35rem;
  line-height: 1.2;
}
.umw-reg-form-panel__sub {
  font-size: .9rem;
  color: #64748b;
  margin: 0;
}

/* ── Two-column field grid ───────────────────────────────────────────────── */
.umw-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
}
.umw-reg-field {
  margin-bottom: 1.15rem;
}
.umw-reg-field--full {
  grid-column: 1 / -1;
}

/* ── Labels ──────────────────────────────────────────────────────────────── */
.umw-reg-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.umw-reg-label .fa {
  color: #4f46e5;
  margin-right: 5px;
  width: 14px;
  text-align: center;
}
.umw-reg-label span { color: #ef4444; margin-left: 1px; }

/* ── Inputs ──────────────────────────────────────────────────────────────── */
.umw-reg-input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: .92rem;
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.umw-reg-input::placeholder { color: #94a3b8; }
.umw-reg-input:focus {
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.umw-reg-input--readonly {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

/* ── Password toggle ─────────────────────────────────────────────────────── */
.umw-reg-pw-wrap { position: relative; }
.umw-reg-pw-wrap .umw-reg-input { padding-right: 44px; }
.umw-reg-pw-toggle {
  position: absolute;
  top: 50%; right: 13px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: .9rem;
  line-height: 1;
  transition: color .2s;
}
.umw-reg-pw-toggle:hover { color: #4f46e5; }

/* ── Phone row ───────────────────────────────────────────────────────────── */
.umw-reg-phone-row { display: flex; gap: 8px; }
.umw-reg-select--cc {
  flex: 0 0 140px;
  height: 46px;
  padding: 0 28px 0 10px;
  font-size: .82rem;
  color: #374151;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.umw-reg-select--cc:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.umw-reg-phone-input-wrap { flex: 1; }

/* ── Validation messages ─────────────────────────────────────────────────── */
.umw-reg-msg {
  font-size: .78rem;
  min-height: 18px;
  margin-top: 4px;
  padding-left: 2px;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.umw-reg-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: .75rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 18px rgba(79,70,229,.35);
}
.umw-reg-submit:hover {
  background: linear-gradient(135deg, #3730a3, #6d28d9);
  box-shadow: 0 6px 24px rgba(79,70,229,.45);
  transform: translateY(-2px);
}
.umw-reg-submit:active { transform: translateY(0); }
.umw-reg-submit__icon { transition: transform .25s ease; }
.umw-reg-submit:hover .umw-reg-submit__icon { transform: translateX(4px); }

/* ── Sign-in link ────────────────────────────────────────────────────────── */
.umw-reg-signin-link {
  text-align: center;
  font-size: .875rem;
  color: #64748b;
  margin: 1.1rem 0 0;
}
.umw-reg-signin-link a { color: #4f46e5; font-weight: 600; text-decoration: none; }
.umw-reg-signin-link a:hover { color: #3730a3; text-decoration: underline; }

/* ── Tablet (≤ 768px) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .umw-reg-wrap { padding: 1.5rem .75rem; }
  .umw-reg-form-panel { border-radius: 16px; }
  .umw-reg-form-panel__inner { padding: 2rem 1.75rem 1.75rem; }
  .umw-reg-form-panel__title { font-size: 1.4rem; }
}

/* ── Mobile (≤ 540px) — single column ───────────────────────────────────── */
@media (max-width: 540px) {
  .umw-reg-wrap { padding: 1rem .5rem; align-items: flex-start; }
  .umw-reg-form-panel { border-radius: 14px; box-shadow: 0 4px 20px rgba(79,70,229,.1); }
  .umw-reg-form-panel__inner { padding: 1.75rem 1.25rem 1.5rem; }
  .umw-reg-form-panel__title { font-size: 1.25rem; }
  .umw-reg-form-panel__sub   { font-size: .85rem; }
  .umw-reg-grid { grid-template-columns: 1fr; }
  .umw-reg-field--full { grid-column: 1; }
  .umw-reg-input, .umw-reg-select--cc { height: 44px; font-size: .875rem; }
  .umw-reg-select--cc { flex: 0 0 110px; font-size: .78rem; }
  .umw-reg-submit { height: 48px; font-size: .95rem; }
}

/* ── Very small (≤ 360px) ────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .umw-reg-form-panel__inner { padding: 1.5rem 1rem 1.25rem; }
  .umw-reg-select--cc { flex: 0 0 95px; }
}


/* ==========================================================================
   UMW Bank Detail Page
   Scoped under .umw-bank-wrap. Theme-agnostic, mobile-first.
   ========================================================================== */

.umw-bank-wrap,
.umw-bank-wrap * {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.umw-bank-wrap {
  width: 100%;
  padding: 1.5rem 1rem 2.5rem;
  position: relative;
}

/* ── Page header ─────────────────────────────────────────────────────────── */
.umw-bank-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #f1f5f9;
}
.umw-bank-header__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,.28);
}
.umw-bank-header__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.umw-bank-header__sub {
  font-size: .85rem;
  color: #64748b;
  margin: 0;
}

/* ── White card ──────────────────────────────────────────────────────────── */
.umw-bank-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(79,70,229,.09);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent */
.umw-bank-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
  border-radius: 18px 18px 0 0;
}

/* ── Saved status badge ──────────────────────────────────────────────────── */
.umw-bank-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.umw-bank-status .fa { font-size: .9rem; }

/* ── Two-column field grid ───────────────────────────────────────────────── */
.umw-bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
}
.umw-bank-field {
  margin-bottom: 1.2rem;
}
.umw-bank-field--full {
  grid-column: 1 / -1;
}

/* ── Labels ──────────────────────────────────────────────────────────────── */
.umw-bank-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.umw-bank-label .fa {
  width: 16px;
  text-align: center;
  color: #4f46e5;
  font-size: .8rem;
}
.umw-bank-label span { color: #ef4444; }

/* ── Inputs ──────────────────────────────────────────────────────────────── */
.umw-bank-input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: .92rem;
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.umw-bank-input::placeholder { color: #94a3b8; }
.umw-bank-input:focus {
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.umw-bank-input--upper { text-transform: uppercase; letter-spacing: .06em; }

/* ── Error messages ──────────────────────────────────────────────────────── */
.umw-bank-err {
  display: block;
  font-size: .78rem;
  color: #ef4444;
  min-height: 18px;
  margin-top: 4px;
  padding-left: 2px;
}

/* ── Security note ───────────────────────────────────────────────────────── */
.umw-bank-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .82rem;
  color: #1d4ed8;
  margin: .5rem 0 1.5rem;
  line-height: 1.5;
}
.umw-bank-note .fa { font-size: .9rem; margin-top: 2px; flex-shrink: 0; }

/* ── Submit button ───────────────────────────────────────────────────────── */
.umw-bank-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 2.5rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 16px rgba(79,70,229,.35);
  font-family: inherit;
  text-decoration: none;
}
.umw-bank-submit:hover {
  background: linear-gradient(135deg, #3730a3, #6d28d9);
  box-shadow: 0 6px 22px rgba(79,70,229,.45);
  transform: translateY(-2px);
  color: #fff !important;
}
.umw-bank-submit:active { transform: translateY(0); }

/* ── Tablet (≤ 768px) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .umw-bank-card { padding: 1.5rem; }
  .umw-bank-header__title { font-size: 1.15rem; }
}

/* ── Mobile (≤ 540px) — single column ───────────────────────────────────── */
@media (max-width: 540px) {
  .umw-bank-wrap { padding: 1rem .5rem 2rem; }
  .umw-bank-header { gap: .75rem; }
  .umw-bank-header__icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
  .umw-bank-header__title { font-size: 1.05rem; }
  .umw-bank-card { padding: 1.25rem 1rem; border-radius: 14px; }
  .umw-bank-grid { grid-template-columns: 1fr; }
  .umw-bank-field--full { grid-column: 1; }
  .umw-bank-input { height: 44px; font-size: .875rem; }
  .umw-bank-submit { width: 100%; justify-content: center; padding: 0; height: 48px; }
}

.umw-info-cyan { color: #01c4fe; }

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR LAYOUT — wrapper + overlay (sidebar panel CSS is at the bottom)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Full-width layout — sidebar is fixed overlay, never pushes content */
#wrapper {
    display: block;
    position: relative;
}

#wrapper #content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
}

/* 2. Backdrop overlay */
#umw-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1040;
    cursor: pointer;
}
#umw-sidebar-overlay.active {
    display: block;
    animation: umwOverlayFadeIn 0.22s ease forwards;
}
@keyframes umwOverlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 3. Scroll-to-top stays on top */
.scroll-to-top {
    z-index: 1060;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY TOPBAR — removed; replaced by .umw-topbar below
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   PROFILE UPDATE MODAL  — #umw-launch-user-update-model
   ═══════════════════════════════════════════════════════════════════════════ */

/* Dialog sizing */
.umw-profile-dialog {
    max-width: 480px;
    width: 100%;
    margin: 1rem auto;
}

/* Card surface */
.umw-profile-modal-content {
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

/* ── Hero header ──────────────────────────────────────────────────────────── */
.umw-profile-hero {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    padding: 2.25rem 1.5rem 3rem;
    text-align: center;
    position: relative;
}

/* Close button */
.umw-profile-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    line-height: 1;
    padding: 0;
}
.umw-profile-close:hover {
    background: rgba(255,255,255,0.45);
}

/* Avatar circle */
.umw-avatar-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: .5rem;
}
.umw-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: block;
    transition: opacity .25s;
}
.umw-avatar-wrap:hover .umw-avatar-img {
    opacity: .7;
}
.umw-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity .25s;
    background: rgba(0,0,0,0.35);
}
.umw-avatar-wrap:hover .umw-avatar-overlay {
    opacity: 1;
}

.umw-profile-username {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .02em;
}
.umw-profile-role {
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .25em .65em;
    border-radius: 20px;
}

/* ── Body ─────────────────────────────────────────────────────────────────── */
.umw-profile-body {
    background: #fff;
    padding: 1.75rem 1.75rem 1.5rem;
    /* pull body up to overlap the hero gradient */
    margin-top: -1.5rem;
    border-radius: 1.25rem 1.25rem 0 0;
    position: relative;
}

/* Field labels */
.umw-field-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: .3rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.umw-field-icon {
    color: #4e54c8;
}

/* Inputs */
.umw-field-input {
    border: 1.5px solid #d1d3e2;
    border-radius: .6rem !important;
    padding: .55rem .85rem !important;
    font-size: .92rem;
    color: #3a3b45;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
}
.umw-field-input:focus {
    border-color: #4e54c8;
    box-shadow: 0 0 0 3px rgba(78,84,200,0.12);
    background: #fff;
    outline: none;
}

/* Inline field feedback */
.umw-field-msg {
    font-size: .78rem;
    margin-top: .2rem;
    min-height: 1rem;
}

/* Buttons */
.umw-profile-btn-save {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    border: none;
    border-radius: .6rem;
    padding: .5rem 1.4rem;
    font-weight: 600;
    font-size: .9rem;
    transition: opacity .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(78,84,200,0.3);
}
.umw-profile-btn-save:hover {
    opacity: .9;
    box-shadow: 0 6px 18px rgba(78,84,200,0.4);
    color: #fff;
}
.umw-profile-btn-cancel {
    background: #f0f0f5;
    color: #5a5c69;
    border: none;
    border-radius: .6rem;
    padding: .5rem 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
}
.umw-profile-btn-cancel:hover {
    background: #e2e2ef;
    color: #3a3b45;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .umw-profile-dialog {
        margin: .5rem;
        max-width: calc(100vw - 1rem);
    }
    .umw-profile-body {
        padding: 1.25rem 1rem 1rem;
    }
    .umw-profile-hero {
        padding: 1.75rem 1rem 2.5rem;
    }
    .umw-avatar-img {
        width: 80px;
        height: 80px;
    }
    .umw-profile-btn-save,
    .umw-profile-btn-cancel {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR TOGGLE BUTTON  — #sidebarToggleTop
   ═══════════════════════════════════════════════════════════════════════════ */

.umw-sidebar-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(78, 84, 200, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.umw-sidebar-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s;
}

.umw-sidebar-toggle-btn:hover::before { opacity: 1; }
.umw-sidebar-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(78, 84, 200, 0.5);
}
.umw-sidebar-toggle-btn:active {
    transform: scale(0.94);
    box-shadow: 0 2px 8px rgba(78, 84, 200, 0.3);
}

/* The three animated bars */
.umw-toggle-bar {
    display: block;
    width: 20px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity   0.3s ease,
                width     0.3s ease;
    transform-origin: center;
}

/* Open state — animate to X */
.umw-sidebar-toggle-btn.is-open .umw-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.umw-sidebar-toggle-btn.is-open .umw-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.umw-sidebar-toggle-btn.is-open .umw-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT WRAPPER  — #content-wrapper
   ═══════════════════════════════════════════════════════════════════════════ */

.umw-content-wrapper {
    min-height: 100vh;
    /* padding: 1.25rem 1.25rem 3rem; */
    background: linear-gradient(160deg, #f0f2ff 0%, #f8f9fc 55%, #eef6fb 100%);
    position: relative;
}

/* Subtle top accent line — below topbar and dropdowns */
.umw-content-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb, #a18cd1);
    z-index: 50;
    pointer-events: none;
}

/* ── Responsive padding ── */
@media (max-width: 575.98px) {
    .umw-content-wrapper {
        /* padding: .75rem .75rem 2.5rem; */
    }
}
@media (min-width: 992px) {
    .umw-content-wrapper {
        /* padding: 1.5rem 2rem 3rem; */
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM TOPBAR  — .umw-topbar
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Topbar bar ── */
.umw-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
    box-shadow: 0 1px 8px rgba(58, 59, 69, 0.08);
    position: sticky;
    top: 0;
    z-index: 1;          /* above content, below sidebar overlay (1040) */
    gap: .75rem;
    flex-shrink: 0;
}

/* ── Left section: toggle + breadcrumb title ── */
.umw-topbar-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.umw-topbar-title {
    font-size: .9rem;
    font-weight: 600;
    color: #5a5c69;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* ── Right section: user pill ── */
.umw-topbar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── User pill button ── */
.umw-user-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .75rem .3rem .35rem;
    background: #f8f9fc;
    border: 1.5px solid #e3e6f0;
    border-radius: 50px;
    cursor: pointer;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.umw-user-btn:hover,
.umw-user-btn:focus-visible {
    background: #eef0ff;
    border-color: #4e54c8;
    box-shadow: 0 0 0 3px rgba(78, 84, 200, .12);
    outline: none;
}

.umw-user-btn.show {
    background: #eef0ff;
    border-color: #4e54c8;
    box-shadow: 0 0 0 3px rgba(78, 84, 200, .12);
}

/* Remove Bootstrap auto-caret */
.umw-user-btn.dropdown-toggle::after {
    display: none !important;
}

/* Avatar inside the pill */
.umw-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c7caff;
    flex-shrink: 0;
    display: block;
}

/* Username text */
.umw-user-name {
    font-size: .8rem;
    font-weight: 600;
    color: #3a3b45;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chevron icon */
.umw-user-caret {
    font-size: .6rem;
    color: #b7b9cc;
    flex-shrink: 0;
    transition: transform .22s ease;
}

.umw-user-btn.show .umw-user-caret {
    transform: rotate(180deg);
    color: #4e54c8;
}

/* ── Dropdown panel ── */
.umw-user-dropdown {
    min-width: 240px !important;
    padding: 0 !important;
    border: 1px solid #e3e6f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(58, 59, 69, .14) !important;
    overflow: hidden;
    margin-top: .5rem !important;
    right: 0 !important;
    left: auto !important;
}

/* ── Gradient header inside dropdown ── */
.umw-dropdown-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1rem .9rem;
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    list-style: none;
}

.umw-dropdown-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid rgba(255, 255, 255, .65);
    flex-shrink: 0;
}

.umw-dropdown-info {
    min-width: 0;
}

.umw-dropdown-name {
    font-size: .84rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.umw-dropdown-email {
    font-size: .71rem;
    color: rgba(255, 255, 255, .78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    margin-top: .1rem;
}

/* ── Action items ── */
.umw-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: #3a3b45 !important;
    padding: .6rem 1rem !important;
    transition: background .14s ease, color .14s ease;
}

.umw-dropdown-item:hover,
.umw-dropdown-item:focus {
    background: #f0f2ff !important;
    color: #4e54c8 !important;
}

/* Item icon wrapper */
.umw-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #eef0ff;
    color: #4e54c8;
    font-size: .75rem;
    flex-shrink: 0;
    transition: background .14s ease;
}

.umw-dropdown-item:hover .umw-dropdown-icon,
.umw-dropdown-item:focus .umw-dropdown-icon {
    background: #d6d9ff;
}

/* ── Logout item ── */
.umw-dropdown-logout {
    color: #e74a3b !important;
}

.umw-dropdown-logout .umw-dropdown-icon {
    background: #fff0ee;
    color: #e74a3b;
}

.umw-dropdown-logout:hover,
.umw-dropdown-logout:focus {
    background: #fff5f4 !important;
    color: #c0392b !important;
}

.umw-dropdown-logout:hover .umw-dropdown-icon,
.umw-dropdown-logout:focus .umw-dropdown-icon {
    background: #ffd6d2;
    color: #c0392b;
}

/* ── Dividers ── */
.umw-user-dropdown .dropdown-divider {
    border-top: 1px solid #eaecf4;
    margin: 0 !important;
}

/* ══════════════════ Responsive ══════════════════ */

/* Hide username text on small phones */
@media (max-width: 480px) {
    .umw-user-name {
        display: none;
    }
    .umw-user-btn {
        padding: .3rem .45rem .3rem .35rem;
    }
}

/* Hide page title on very small phones */
@media (max-width: 360px) {
    .umw-topbar-title {
        display: none;
    }
}

/* Ensure dropdown is wide enough on mobile */
@media (max-width: 360px) {
    .umw-user-dropdown {
        min-width: 200px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BEAUTIFUL SIDEBAR — #accordionSidebar
   Premium dark design, self-contained; overrides any WordPress theme.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────── Core reset inside sidebar ─────────── */
#accordionSidebar,
#accordionSidebar * {
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased;
}

/* ─────────── Panel shell ─────────── */
#accordionSidebar {
    /* Position & size */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 1050 !important;
    /* Fly-in animation */
    transform: translateX(-100%) !important;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s ease !important;
    /* Layout */
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    overflow: hidden !important;
    /* Background */
    background-color: #1e1b4b !important;
    background-image: linear-gradient(160deg, #1e1b4b 0%, #1a1035 40%, #0f0a1e 100%) !important;
    /* Reset everything theme-related */
    border: none !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    color: #e2e8ff !important;
}

/* Open state */
#accordionSidebar.fly-open {
    transform: translateX(0) !important;
    box-shadow: 12px 0 50px rgba(0, 0, 0, 0.6) !important;
}

/* WordPress admin bar compensation */
body.admin-bar #accordionSidebar {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
}

/* ─────────── Top accent stripe ─────────── */
#accordionSidebar::before {
    content: "" !important;
    display: block !important;
    height: 3px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    background: linear-gradient(90deg, #6366f1, #a78bfa, #ec4899) !important;
}

/* ─────────── Brand / Header ─────────── */
.umw-sb-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 1rem !important;
    height: 62px !important;
    flex-shrink: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    background: transparent !important;
}

.umw-sb-logo {
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
    text-decoration: none !important;
    overflow: hidden !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.umw-sb-logo-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%) !important;
    color: #ffffff !important;
    font-size: .95rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5) !important;
}

.umw-sb-logo-text {
    font-size: .78rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.umw-sb-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.05) !important;
    color: #9ca3d4 !important;
    font-size: .8rem !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background .18s, color .18s, border-color .18s !important;
    line-height: 1 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.umw-sb-close-btn:hover,
.umw-sb-close-btn:focus {
    background: rgba(255,255,255,0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.22) !important;
}

/* ─────────── User strip ─────────── */
.umw-sb-user {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .8rem 1rem !important;
    flex-shrink: 0 !important;
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    margin: 0 !important;
}

.umw-sb-user-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(99,102,241,0.6) !important;
    flex-shrink: 0 !important;
    display: block !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18) !important;
}

.umw-sb-user-info {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.umw-sb-user-name {
    font-size: .8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    display: block !important;
}

.umw-sb-user-email {
    font-size: .68rem !important;
    color: #7c82b8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-top: 1px !important;
}

/* ─────────── Hidden divider (user strip border handles it) ─────────── */
.umw-sb-divider { display: none !important; }

/* ─────────── Navigation label ─────────── */
.umw-sb-nav::before {
    content: "NAVIGATION" !important;
    display: block !important;
    font-size: .6rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    color: #4c5299 !important;
    padding: .9rem 1.1rem .4rem !important;
    text-transform: uppercase !important;
}

/* ─────────── Nav scroll area ─────────── */
.umw-sb-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(99,102,241,0.3) transparent !important;
}

.umw-sb-nav::-webkit-scrollbar { width: 3px !important; }
.umw-sb-nav::-webkit-scrollbar-track { background: transparent !important; }
.umw-sb-nav::-webkit-scrollbar-thumb {
    background: rgba(99,102,241,0.35) !important;
    border-radius: 3px !important;
}

/* ─────────── Nav items ─────────── */
.umw-sb-item {
    list-style: none !important;
    margin: 1px .65rem !important;
    padding: 0 !important;
    position: relative !important;
}

/* Active left bar */
.umw-sb-item.umw-sb-active::before {
    content: "" !important;
    position: absolute !important;
    left: -0.65rem !important;
    top: 20% !important;
    height: 60% !important;
    width: 3px !important;
    background: linear-gradient(180deg, #6366f1, #a78bfa) !important;
    border-radius: 0 3px 3px 0 !important;
}

/* ─────────── Nav link ─────────── */
.umw-sb-link {
    display: flex !important;
    align-items: center !important;
    gap: .7rem !important;
    padding: .55rem .75rem !important;
    border-radius: 10px !important;
    color: #9ca3d4 !important;
    text-decoration: none !important;
    font-size: .84rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background .2s, color .2s, padding-left .2s !important;
    position: relative !important;
}

.umw-sb-link:hover {
    background: rgba(99,102,241,0.10) !important;
    color: #e2e8ff !important;
    text-decoration: none !important;
    padding-left: 1rem !important;
}

/* Active link */
.umw-sb-item.umw-sb-active > .umw-sb-link {
    background: rgba(99,102,241,0.16) !important;
    color: #c7d2fe !important;
    font-weight: 600 !important;
}

/* ─────────── Icon box ─────────── */
.umw-sb-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,0.06) !important;
    color: #818cf8 !important;
    font-size: .82rem !important;
    flex-shrink: 0 !important;
    transition: background .2s, color .2s, box-shadow .2s !important;
}

.umw-sb-link:hover .umw-sb-icon {
    background: rgba(99,102,241,0.20) !important;
    color: #a5b4fc !important;
}

.umw-sb-item.umw-sb-active > .umw-sb-link .umw-sb-icon {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.45) !important;
}

/* Label */
.umw-sb-label {
    flex: 1 1 auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* Collapse arrow */
.umw-sb-arrow {
    font-size: .58rem !important;
    color: #3d4380 !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    transition: transform .22s ease, color .18s !important;
    display: inline-block !important;
}

.umw-sb-link-collapse:not(.collapsed) .umw-sb-arrow {
    transform: rotate(90deg) !important;
    color: #818cf8 !important;
}

/* ─────────── Submenu ─────────── */
.umw-sb-submenu {
    list-style: none !important;
    margin: 2px 0 4px 2.65rem !important;
    padding: 0 !important;
    border-left: 2px solid rgba(99,102,241,0.18) !important;
}

.umw-sb-submenu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.umw-sb-sublink {
    display: flex !important;
    align-items: center !important;
    gap: .55rem !important;
    padding: .4rem .75rem !important;
    margin: 1px 0 !important;
    border-radius: 8px !important;
    color: #6b73b3 !important;
    text-decoration: none !important;
    font-size: .78rem !important;
    font-weight: 500 !important;
    transition: background .15s, color .15s, padding-left .15s !important;
    width: 100% !important;
}

.umw-sb-sublink:hover {
    background: rgba(99,102,241,0.10) !important;
    color: #c7d2fe !important;
    padding-left: 1rem !important;
    text-decoration: none !important;
}

.umw-sb-sub-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #3d4380 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    transition: background .15s, transform .15s !important;
}

.umw-sb-sublink:hover .umw-sb-sub-dot {
    background: #6366f1 !important;
    transform: scale(1.5) !important;
}

/* ─────────── Footer — logout ─────────── */
.umw-sb-footer {
    flex-shrink: 0 !important;
    padding: .5rem .65rem !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    background: rgba(0,0,0,0.2) !important;
}

.umw-sb-logout {
    display: flex !important;
    align-items: center !important;
    gap: .7rem !important;
    padding: .55rem .75rem !important;
    border-radius: 10px !important;
    color: #f87171 !important;
    text-decoration: none !important;
    font-size: .84rem !important;
    font-weight: 500 !important;
    transition: background .18s, color .18s !important;
    width: 100% !important;
}

.umw-sb-logout:hover {
    background: rgba(248,113,113,0.12) !important;
    color: #fca5a5 !important;
    text-decoration: none !important;
}

.umw-sb-logout .umw-sb-icon {
    background: rgba(248,113,113,0.10) !important;
    color: #f87171 !important;
}

.umw-sb-logout:hover .umw-sb-icon {
    background: rgba(248,113,113,0.22) !important;
    color: #fca5a5 !important;
}

/* ─────────── Legacy class suppression ─────────── */
#accordionSidebar.sidebar { width: 280px !important; }
#accordionSidebar .nav-item,
#accordionSidebar .nav-item:last-child { margin: 0 !important; position: static !important; }
#accordionSidebar .nav-item .collapse,
#accordionSidebar .nav-item .collapsing {
    position: relative !important; left: 0 !important;
    top: 0 !important; margin: 0 !important;
    box-shadow: none !important; animation: none !important;
}
#accordionSidebar .nav-item .nav-link { width: 100% !important; text-align: left !important; }
#accordionSidebar .sidebar-brand,
#accordionSidebar hr.sidebar-divider,
#accordionSidebar #sidebarToggle { display: none !important; }
