/* RED-20 dashboard theme. Only active for the new admin dashboard. */
.red20-glass-dashboard {
    --red20-coral: #f56851;
    --red20-ink: #222a36;
    --red20-muted: #697383;
    color: var(--red20-ink);
    background: #f9f2f1;
}

.red20-glass-dashboard .wrapper,
.red20-glass-dashboard .content-wrapper {
    background: transparent;
}

.red20-glass-dashboard .content-wrapper {
    background-color: #f9f2f1;
    background-image: radial-gradient(circle at 94% 4%, rgba(251, 145, 122, .35), transparent 26rem),
        radial-gradient(circle at 18% 32%, rgba(255, 255, 255, .95), transparent 33rem),
        radial-gradient(circle at 73% 78%, rgba(251, 174, 147, .22), transparent 31rem),
        linear-gradient(135deg, #faf7f8, #f7eded 54%, #f6f4f8);
    min-height: calc(100vh - 57px) !important;
}

.red20-glass-dashboard .content-wrapper > .content > .container-fluid {
    padding: 22px 25px 38px !important;
}

.red20-glass-dashboard .main-header {
    background: rgba(255, 255, 255, .53);
    backdrop-filter: blur(19px);
    -webkit-backdrop-filter: blur(19px);
    border: 1px solid rgba(255, 255, 255, .76);
    box-shadow: 0 5px 25px rgba(162, 91, 86, .09);
    min-height: 58px;
    position: relative;
    z-index: 1040;
}

.red20-glass-dashboard .main-header .nav-link,
.red20-glass-dashboard .main-header .navbar-nav .nav-link {
    color: #384150;
}

.red20-glass-dashboard .main-header .nav-link:hover {
    color: var(--red20-coral);
}

.red20-profile-trigger {
    display: flex !important;
    gap: 9px;
    align-items: center;
}

.red20-profile-trigger .fa-user-circle {
    font-size: 24px;
}

.red20-profile-chevron {
    font-size: 11px;
}

.red20-glass-dashboard .red20-profile-trigger {
    background: rgba(255, 234, 228, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 15px;
    margin: 5px 12px 5px 0;
    min-height: 41px;
    padding: 8px 13px;
}

.red20-glass-dashboard .main-header .dropdown-menu {
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 15px;
    background: rgba(255, 249, 248, .94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 42px rgba(90, 50, 58, .18);
    padding: 7px;
}

.red20-glass-dashboard .main-header .dropdown-item {
    border-radius: 9px;
    color: var(--red20-ink);
    padding: 10px 13px;
}

.red20-glass-dashboard .main-header .dropdown-item.active,
.red20-glass-dashboard .main-header .dropdown-item:hover {
    background: #f56851;
    color: #fff;
}

.red20-glass-dashboard .main-sidebar {
    background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 242, 239, .74));
    border-right: 1px solid rgba(255, 255, 255, .88);
    box-shadow: 6px 0 26px rgba(158, 94, 95, .09) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.red20-glass-dashboard .main-sidebar .brand-link {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .8);
    color: #e95c47;
    font-size: 20px;
    font-weight: 800;
    min-height: 58px;
}

.red20-glass-dashboard .main-sidebar .brand-text {
    color: #e95c47;
    font-size: 20px;
    font-weight: 800 !important;
    letter-spacing: -.5px;
}

.red20-glass-dashboard .main-sidebar .brand-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.red20-glass-dashboard .main-sidebar .nav-sidebar .nav-link {
    color: #354050;
    border-radius: 12px;
    margin: 2px 9px;
    width: auto;
}

.red20-glass-dashboard .main-sidebar .nav-sidebar .nav-link p,
.red20-glass-dashboard .main-sidebar .nav-sidebar .nav-link .nav-icon {
    color: inherit !important;
}

.red20-glass-dashboard .main-sidebar .nav-sidebar .nav-link:hover,
.red20-glass-dashboard .main-sidebar .nav-sidebar .nav-link.active,
.red20-glass-dashboard .main-sidebar .nav-sidebar .menu-open > .nav-link {
    background: linear-gradient(110deg, #f56851, #ff907d);
    color: #fff;
    box-shadow: 0 7px 18px rgba(245, 104, 81, .24);
}

.red20-dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 2px 2px 17px;
}

.red20-dashboard-eyebrow {
    color: #e0604d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
}

.red20-dashboard-heading h1 {
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 760;
    letter-spacing: -.04em;
    margin: 1px 0 0;
}

.red20-dashboard-heading p {
    color: var(--red20-muted);
    margin: 0;
}

.red20-dashboard-date {
    align-self: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 7px 18px rgba(120, 78, 80, .07);
    white-space: nowrap;
}

.red20-dashboard-date i {
    color: var(--red20-coral);
    margin-right: 7px;
}

.red20-glass-dashboard .content-wrapper .card,
.red20-glass-dashboard .content-wrapper .info-box,
.red20-glass-dashboard .content-wrapper .alert,
.red20-glass-dashboard .content-wrapper .small-box {
    background: rgba(255, 255, 255, .57) !important;
    border: 1px solid rgba(255, 255, 255, .87);
    border-radius: 17px;
    color: var(--red20-ink) !important;
    box-shadow: 0 10px 25px rgba(148, 85, 84, .10), inset 0 1px rgba(255, 255, 255, .8);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    overflow: hidden;
}

.red20-glass-dashboard .content-wrapper .card-header,
.red20-glass-dashboard .content-wrapper .card-footer {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .7);
}

.red20-glass-dashboard .content-wrapper .card-title,
.red20-glass-dashboard .content-wrapper h5 {
    color: var(--red20-ink);
    font-weight: 700;
}

.red20-glass-dashboard .content-wrapper .row > [class*="col-"] > .card.pull-up {
    min-height: 122px;
}

.red20-glass-dashboard .content-wrapper .card.pull-up .card-body {
    padding: 22px 18px;
}

.red20-glass-dashboard .content-wrapper .card.pull-up .align-self-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    border-radius: 14px;
    background: rgba(255, 119, 94, .15);
    color: #f0644d !important;
}

.red20-glass-dashboard .content-wrapper .card.pull-up .align-self-center i {
    font-size: 33px;
}

.red20-glass-dashboard .content-wrapper .card.pull-up h5 {
    font-size: 14px;
    color: #535d6a;
    margin-bottom: 2px;
}

.red20-glass-dashboard .content-wrapper .card.pull-up h3 {
    color: #18222d;
    font-size: 29px;
    font-weight: 800;
    margin: 0;
}

.red20-glass-dashboard .content-wrapper .card.pull-up:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(148, 85, 84, .15);
}

.red20-glass-dashboard .content-wrapper .chart-height,
.red20-glass-dashboard .content-wrapper .piechat_height {
    min-height: 390px;
}

.red20-glass-dashboard .content-wrapper .chart-height .card-body {
    padding: 20px 23px;
}

.red20-top-products {
    min-height: 330px;
    padding: 7px 0;
    color: var(--red20-muted);
}

.red20-top-product {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 57px;
    border-bottom: 1px solid rgba(215, 178, 175, .28);
}

.red20-top-product:last-child {
    border-bottom: 0;
}

.red20-top-product-rank {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    border-radius: 10px;
    background: rgba(245, 104, 81, .13);
    color: #e6614d;
    font-size: 12px;
    font-weight: 800;
}

.red20-top-product-detail {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.red20-top-product-name {
    overflow: hidden;
    color: var(--red20-ink);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.red20-top-product-track {
    height: 6px;
    border-radius: 6px;
    background: rgba(236, 201, 198, .52);
    overflow: hidden;
}

.red20-top-product-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff9c83, #f56851);
}

.red20-top-product-sales {
    color: #576171;
    font-size: 12px;
    white-space: nowrap;
}

.red20-glass-dashboard .content-wrapper .chart-height .card-title,
.red20-glass-dashboard .content-wrapper .card-header .card-title {
    font-size: 19px;
}

.red20-glass-dashboard .content-wrapper .sales-tab .nav-link.active,
.red20-glass-dashboard .content-wrapper .btn-primary {
    background: #f56851 !important;
    color: #fff !important;
    border-color: #f56851 !important;
}

.red20-glass-dashboard .content-wrapper .info-box {
    min-height: 108px;
    padding: 10px;
}

.red20-glass-dashboard .content-wrapper .info-box .info-box-icon {
    background: rgba(255, 119, 94, .15);
    color: #eb654f !important;
    border-radius: 13px;
    width: 58px;
    font-size: 25px;
}

.red20-glass-dashboard .content-wrapper .info-box .info-box-text,
.red20-glass-dashboard .content-wrapper .info-box .info-box-number {
    color: var(--red20-ink) !important;
}

.red20-glass-dashboard .content-wrapper .info-box .info-box-number {
    font-size: 21px;
}

.red20-glass-dashboard .content-wrapper .alert {
    padding: 17px 19px;
}

.red20-glass-dashboard .content-wrapper .alert h6 {
    color: var(--red20-ink);
    font-weight: 700;
}

.red20-glass-dashboard .content-wrapper .alert .small-box-footer,
.red20-glass-dashboard .content-wrapper a:not(.btn) {
    color: #df614b;
}

.red20-glass-dashboard .content-wrapper .small-box .inner h3,
.red20-glass-dashboard .content-wrapper .small-box .inner p,
.red20-glass-dashboard .content-wrapper .small-box .inner .btn {
    color: var(--red20-ink) !important;
}

.red20-glass-dashboard .content-wrapper .small-box .icon {
    color: rgba(245, 104, 81, .28);
}

.red20-glass-dashboard .content-wrapper .main-content .content-area {
    padding: 22px !important;
}

.red20-glass-dashboard .content-wrapper .main-content .content-area:before {
    content: 'Recent Orders';
    display: block;
    color: var(--red20-ink);
    font-size: 20px;
    font-weight: 750;
    margin: 0 0 12px;
}

.red20-glass-dashboard .content-wrapper .form-control,
.red20-glass-dashboard .content-wrapper .input-group-text {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(227, 205, 204, .85);
    border-radius: 8px;
}

.red20-glass-dashboard .content-wrapper .table,
.red20-glass-dashboard .content-wrapper .table-striped,
.red20-glass-dashboard .content-wrapper .fixed-table-container {
    background: transparent !important;
}

.red20-glass-dashboard .content-wrapper .table thead th,
.red20-glass-dashboard .content-wrapper .table-striped thead th {
    background: rgba(255, 240, 237, .65);
    color: #2b3542;
    border-bottom: 1px solid rgba(224, 191, 184, .5);
}

.red20-glass-dashboard .content-wrapper .table tbody tr:hover,
.red20-glass-dashboard .content-wrapper .table-striped tbody tr:hover {
    background: rgba(255, 236, 229, .55);
}

.red20-glass-dashboard .main-footer {
    background: rgba(255, 255, 255, .64);
    border-top: 1px solid rgba(255, 255, 255, .82);
    color: #5a6471;
}

@media (max-width: 767px) {
    .red20-glass-dashboard .content-wrapper > .content > .container-fluid {
        padding: 16px 13px 28px !important;
    }
    .red20-dashboard-heading {
        align-items: flex-start;
    }
    .red20-dashboard-heading p,
    .red20-dashboard-date,
    .red20-profile-label {
        display: none;
    }
    .red20-glass-dashboard .content-wrapper .chart-height,
    .red20-glass-dashboard .content-wrapper .piechat_height {
        min-height: 310px;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .red20-glass-dashboard .content-wrapper .card,
    .red20-glass-dashboard .content-wrapper .info-box,
    .red20-glass-dashboard .content-wrapper .alert,
    .red20-glass-dashboard .main-sidebar,
    .red20-glass-dashboard .main-header {
        background: #fff9f8 !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
