.dashboard-home{
    background-color: #282828;
    width: 79%;
    padding: 30px;
    border-radius: 7px;
    margin: 30px 0;
    border: 1px solid #ffffff23;
}

.dashboard-home .services-dashboard-home{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
}

.dashboard-home .services-dashboard-home .services{
    width: 25%;
    padding: 20px;
    border-radius: 5px;
    background-color: #1D1D1D;
    display: flex;
    align-items: center;
    border: 1px solid #ffffff23;
}

.dashboard-home .services-dashboard-home .services span i{
    padding: 10px 12px;
    border-radius: 50%;
}

.dashboard-home .services-dashboard-home .services span h4{
    color: #ffffff;
    font-size: .9em;
    font-weight: 500;
    padding-left: 10px;
}

.dashboard-home .services-dashboard-home .services span p{
    color: #ffffff;
    font-size: .95em;
    font-weight: 400;
    padding-left: 10px;
    text-align: left;
    padding-top: 5px;
}

.dashboard-home .services-dashboard-home .services span input{
    background: transparent;
    color: #ffffff;
    font-size: .95em;
    font-weight: 400;
    padding: 0;
    padding-left: 10px;
    border: none;
    box-shadow: none;
    pointer-events: none;
    width: 100%;
    
}

#revenue-input{
    padding-top: 5px;
}

.dashboard-home .dashboard-today-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.dashboard-home .dashboard-today-grid .today-card{
    background-color: #1D1D1D;
    border: 1px solid #ffffff23;
    border-radius: 7px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.dashboard-home .dashboard-today-grid .today-card > span{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(0, 205, 189, .12);
    color: #00CDBD;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.dashboard-home .dashboard-today-grid .today-card h4,
.dashboard-home .dashboard-panel .panel-header h3,
.dashboard-home .top-buyers-card h4{
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.dashboard-home .dashboard-today-grid .today-card h4{
    font-size: .86em;
}

.dashboard-home .dashboard-today-grid .today-card p{
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    margin: 2px 0 0 0;
}

.dashboard-home .dashboard-today-grid .today-card small{
    color: #ffffff8f;
    font-size: .75em;
}

.dashboard-home .dashboard-insights{
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 14px;
    margin-top: 14px;
}

.dashboard-home .dashboard-panel{
    background-color: #1D1D1D;
    border: 1px solid #ffffff23;
    border-radius: 7px;
    padding: 18px;
    text-align: left;
}

.dashboard-home .dashboard-panel .panel-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-home .dashboard-panel .panel-header span{
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-home .dashboard-panel .panel-header i{
    color: #00CDBD;
    font-size: 1.25em;
}

.dashboard-home .dashboard-panel .panel-header h3{
    font-size: 1em;
}

.dashboard-home .dashboard-panel .panel-header small,
.dashboard-home .empty-panel{
    color: #ffffff8f;
    font-size: .78em;
}

.dashboard-home .campaign-performance-list{
    display: grid;
    gap: 10px;
}

.dashboard-home .campaign-performance-item{
    background-color: #252525;
    border: 1px solid #ffffff16;
    border-radius: 7px;
    padding: 13px;
}

.dashboard-home .campaign-performance-top{
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-home .campaign-performance-top strong{
    color: #fff;
    font-size: .9em;
}

.dashboard-home .campaign-performance-top small{
    display: block;
    color: #ffffff82;
    font-size: .75em;
    margin-top: 2px;
}

.dashboard-home .campaign-progress{
    height: 8px;
    background-color: #111;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0 10px 0;
}

.dashboard-home .campaign-status-chart{
    height: 10px;
    background-color: #111;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0 0 0;
    display: flex;
}

.dashboard-home .campaign-status-chart span{
    display: block;
    height: 100%;
}

.dashboard-home .campaign-status-chart .paid-bar{
    background-color: #31d28b;
}

.dashboard-home .campaign-status-chart .pending-bar{
    background-color: #ffc84d;
}

.dashboard-home .campaign-status-chart .canceled-bar{
    background-color: #ff6575;
}

.dashboard-home .campaign-progress span{
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00CDBD, #32f0a1);
    border-radius: 999px;
}

.dashboard-home .campaign-status-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #ffffff8f;
    font-size: .78em;
}

.dashboard-home .status-pill,
.dashboard-home .order-status-badge{
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .74em;
    font-weight: 600;
}

.dashboard-home .status-pill.paid,
.dashboard-home .order-status-badge.status-pago{
    background-color: rgba(25, 135, 84, .2);
    color: #4be09a;
}

.dashboard-home .status-pill.pending,
.dashboard-home .order-status-badge.status-pendente{
    background-color: rgba(255, 193, 7, .18);
    color: #ffd260;
}

.dashboard-home .status-pill.canceled,
.dashboard-home .order-status-badge.status-cancelado{
    background-color: rgba(220, 53, 69, .18);
    color: #ff7b8a;
}

.dashboard-home .recent-orders-list{
    display: grid;
    gap: 9px;
}

.dashboard-home .recent-order-item{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    background-color: #252525;
    border: 1px solid #ffffff16;
    border-radius: 7px;
    padding: 11px;
}

.dashboard-home .recent-order-item strong,
.dashboard-home .top-buyer-row strong{
    color: #fff;
    display: block;
    font-size: .84em;
}

.dashboard-home .recent-order-item small,
.dashboard-home .top-buyer-row small{
    color: #ffffff82;
    display: block;
    font-size: .72em;
    margin-top: 2px;
}

.dashboard-home .top-buyers-panel{
    margin-top: 14px;
}

.dashboard-home .purchase-locations-panel{
    margin-top: 14px;
}

.dashboard-home .purchase-locations-list{
    display: grid;
    gap: 10px;
}

.dashboard-home .purchase-location-row{
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) minmax(260px, auto);
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #252525, #202020);
    border: 1px solid #ffffff16;
    border-radius: 7px;
    padding: 12px;
}

.dashboard-home .purchase-location-rank{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 205, 189, .15);
    color: #00CDBD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82em;
    font-weight: 700;
}

.dashboard-home .purchase-location-main strong{
    color: #fff;
    display: block;
    font-size: .92em;
}

.dashboard-home .purchase-location-main small{
    color: #ffffff82;
    display: block;
    font-size: .74em;
    margin-top: 2px;
}

.dashboard-home .purchase-location-bar{
    height: 7px;
    background-color: #111;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 9px;
}

.dashboard-home .purchase-location-bar span{
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00CDBD, #31d28b);
    border-radius: 999px;
}

.dashboard-home .purchase-location-stats{
    display: grid;
    grid-template-columns: repeat(5, auto);
    align-items: center;
    gap: 8px;
    color: #ffffff8f;
    font-size: .76em;
    white-space: nowrap;
}

.dashboard-home .purchase-location-stats span,
.dashboard-home .purchase-location-stats strong{
    background-color: #1b1b1b;
    border: 1px solid #ffffff12;
    border-radius: 999px;
    padding: 5px 9px;
}

.dashboard-home .purchase-location-stats strong{
    color: #fff;
}

.dashboard-home .top-buyers-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-home .top-buyers-card{
    background-color: #252525;
    border: 1px solid #ffffff16;
    border-radius: 7px;
    padding: 13px;
}

.dashboard-home .top-buyers-card h4{
    font-size: .9em;
    margin-bottom: 12px;
    min-height: 34px;
}

.dashboard-home .top-buyer-row{
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border-top: 1px solid #ffffff14;
}

.dashboard-home .top-buyer-row span{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 205, 189, .15);
    color: #00CDBD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78em;
    font-weight: 700;
}

.dashboard-home .top-buyer-row p{
    color: #fff;
    font-size: .78em;
    font-weight: 600;
    margin: 0;
}

@media only screen and (max-width: 789px) {
    .dashboard-home{
        width: 95%;
        padding: 20px;
        margin: 20px 0;
    }

    .dashboard-home .services-dashboard-home{
        display: block;
    }

    .dashboard-home .services-dashboard-home .services{
        width: 100%;
        margin-bottom: 15px;
    }

    .dashboard-home .dashboard-today-grid,
    .dashboard-home .dashboard-insights,
    .dashboard-home .top-buyers-grid{
        grid-template-columns: 1fr;
    }

    .dashboard-home .dashboard-panel .panel-header{
        display: block;
    }

    .dashboard-home .dashboard-panel .panel-header small{
        display: block;
        margin-top: 4px;
    }

    .dashboard-home .recent-order-item{
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dashboard-home .purchase-location-row{
        grid-template-columns: 1fr;
    }

    .dashboard-home .purchase-location-stats{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        white-space: normal;
    }
}

.dashboard-home .global-buyers-panel { margin-top: 14px; }
.dashboard-home .dashboard-ranking-filter { display: flex; align-items: flex-end; gap: 10px; margin: 14px 0 8px; text-align: left; }
.dashboard-home .dashboard-ranking-filter > div { flex: 1; min-width: 0; max-width: 520px; }
.dashboard-home .dashboard-ranking-filter label { display: block; color: #ccc; font-size: .8em; margin-bottom: 6px; }
.dashboard-home .dashboard-ranking-filter select { width: 100%; min-height: 42px; background: #171717; color: #fff; border: 1px solid #555; border-radius: 7px; padding: 9px 12px; }
.dashboard-home .dashboard-ranking-filter button { min-height: 42px; padding: 9px 16px; background: #00cdbd; color: #072c29; font-weight: 600; border: none; border-radius: 7px; cursor: pointer; }
.dashboard-home .dashboard-ranking-filter :focus-visible { outline: 2px solid #00cdbd; outline-offset: 3px; }
.dashboard-home .dashboard-ranking-context { color: #aaa; text-align: left; font-size: .78em; margin: 10px 0 16px; }
.dashboard-home .global-buyers-list { list-style: none; margin: 0; padding: 0; border: 1px solid #ffffff18; border-radius: 9px; overflow: hidden; text-align: left; }
.dashboard-home .global-buyer-item { display: grid; grid-template-columns: minmax(0, 1fr) max-content 44px; align-items: center; gap: 14px; padding: 16px; min-width: 0; }
.dashboard-home .global-buyer-item + .global-buyer-item { border-top: 1px solid #ffffff12; }
.dashboard-home .global-buyer-item:hover { background: #ffffff04; }
.dashboard-home .global-buyer-name { display: flex; align-items: flex-start; gap: 9px; color: #fff; font-size: .9em; font-weight: 600; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.dashboard-home .global-buyer-name > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.dashboard-home .global-buyer-position { display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; height: 24px; border-radius: 50%; background: #00cdbd20; color: #00cdbd; font-size: 12px; font-weight: 700; line-height: 1; }
.dashboard-home .global-buyer-spent { color: #fff; font-size: .92em; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.dashboard-home .global-buyer-whatsapp { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #25d36666; border-radius: 12px; background: #25d36612; color: #44e981; font-size: 22px; text-decoration: none; }
.dashboard-home .global-buyer-whatsapp:hover { color: #fff; background: #25d36630; }
.dashboard-home .global-buyer-whatsapp:focus-visible { outline: 2px solid #44e981; outline-offset: 3px; }
.dashboard-home .global-buyer-whatsapp.is-unavailable { border-color: #ffffff18; background: transparent; color: #777; }
@media (max-width: 600px) {
    .dashboard-home .global-buyers-panel { min-width: 0; }
    .dashboard-home .global-buyer-item { grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 12px; padding: 14px; }
    .dashboard-home .global-buyer-name { grid-column: 1; grid-row: 1; }
    .dashboard-home .global-buyer-spent { grid-column: 1; grid-row: 2; color: #c5d2d0; }
    .dashboard-home .global-buyer-whatsapp { grid-column: 2; grid-row: 1 / span 2; }
    .dashboard-home .dashboard-ranking-filter { align-items: stretch; flex-direction: column; }
    .dashboard-home .dashboard-ranking-filter > div { max-width: none; }
}

.dashboard-home .dashboard-financial-highlight { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 16px; padding: 20px; background: #1d1d1d; border: 1px solid #ffffff23; border-left: 3px solid #00cdbd; border-radius: 7px; text-align: left; }
.dashboard-home .financial-highlight-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #00cdbd20; color: #00cdbd; font-size: 23px; }
.dashboard-home .financial-highlight-description, .dashboard-home .financial-highlight-result { min-width: 0; }
.dashboard-home .financial-highlight-description h4 { color: #fff; font-size: 1em; font-weight: 600; margin: 0 0 5px; }
.dashboard-home .financial-highlight-description p { color: #ccc; font-size: .82em; line-height: 1.5; margin: 0 0 3px; }
.dashboard-home .dashboard-financial-highlight small { display: block; color: #aaa; font-size: .73em; line-height: 1.5; }
.dashboard-home .financial-highlight-result { text-align: right; }
.dashboard-home .financial-highlight-result strong { display: block; color: #fff; font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-bottom: 4px; }
@media (max-width: 600px) {
    .dashboard-home .dashboard-financial-highlight { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .dashboard-home .financial-highlight-icon { width: 40px; height: 40px; font-size: 20px; }
    .dashboard-home .financial-highlight-result { grid-column: 2; text-align: left; }
}

.dashboard-home .services.common-purchase-compact { min-width: 0; }
.dashboard-home .services.common-purchase-compact > span:last-child { min-width: 0; }
.dashboard-home .services.common-purchase-compact > span:first-child i { background: #00cdbd20; color: #00cdbd; }
.dashboard-home .services.common-purchase-compact h4 { text-align: left; }
.dashboard-home .services.common-purchase-compact p { overflow-wrap: anywhere; }
.dashboard-home .financial-highlight-description h4 { display: flex; align-items: center; gap: 10px; }
.dashboard-home #toggle-revenue { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #ddd; border: 1px solid #ffffff25; border-radius: 8px; width: 36px; height: 36px; cursor: pointer; font-size: 18px; }
.dashboard-home #toggle-revenue:hover { color: #fff; border-color: #00cdbd; }
.dashboard-home #toggle-revenue:focus-visible { outline: 2px solid #00cdbd; outline-offset: 3px; }
