.header-inner {
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
    transition: all .3s cubic-bezier(.4,0,.2,1)
}

.header-inner.shrink-inner {
    max-width: 480px;
    padding-bottom: .4rem;
    padding-top: .4rem
}

@media (max-width: 600px) {
    .header-inner,.header-inner.shrink-inner {
        max-width:98vw;
        padding-left: .5rem;
        padding-right: .5rem
    }
}

.banner-fade-wrapper {
    border-radius: 1.5rem;
    margin: 2rem auto;
    overflow: hidden;
    position: relative
}

.banner-fade-wrapper:after {
    background: linear-gradient(180deg,#0f141900 60%,#0f141999 85%,#0f1419);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute
}

.banner-fade-img {
    display: block;
    height: auto;
    width: 100%
}

.btn-primary,.btn-secondary {
    align-items: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 500;
    padding: .55rem 1.5rem;
    text-decoration: none;
    transition: all .3s ease
}

.btn-primary {
    background: linear-gradient(135deg,var(--purple) 0,var(--purple-light) 100%);
    color: #fff
}

.btn-secondary {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary)
}

#main-header {
    left: 0;
    position: fixed;
    top: 0;
    transition: width .4s cubic-bezier(.4,0,.2,1),left .4s cubic-bezier(.4,0,.2,1),border-radius .4s cubic-bezier(.4,0,.2,1),background .3s cubic-bezier(.4,0,.2,1);
    width: 100%;
    z-index: 50
}

#main-header.shrink {
    border-radius: 1.5rem!important;
    left: 17.5%!important;
    width: 65%!important
}

@media (max-width: 900px) {
    #main-header.shrink {
        border-radius:.5rem;
        left: 1%;
        right: 1%;
        width: 98%
    }
}

.faq-content {
    max-height: 0;
    opacity: 0;
    transition: max-height .3s cubic-bezier(.4,0,.2,1),opacity .3s
}

.faq-item.open .faq-content {
    opacity: 1
}

.bg-\[#0f1419\]>:not(#particles-js),footer,section {
    position: relative;
    z-index: 1
}

.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 999999999
}

.notification {
    animation: slideIn .35s ease forwards;
    opacity: 0;
    transform: translateX(120%)
}

.notification.closing {
    animation: slideOut .3s ease forwards!important
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(120%)
    }
}

.notification-content {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px #0000004d;
    display: flex;
    gap: 15px;
    padding: 16px 20px
}

.notification.error .notification-content {
    background: linear-gradient(135deg,#ef444426,#b91c1c1a);
    border: 1px solid #ef44444d
}

.notification.success .notification-content {
    background: linear-gradient(135deg,#22c55e26,#15803d1a);
    border: 1px solid #22c55e4d
}

.notification.warning .notification-content {
    background: linear-gradient(135deg,#fbbf2426,#ca8a041a);
    border: 1px solid #fbbf244d
}

.notification.info .notification-content {
    background: linear-gradient(135deg,#3b82f626,#1d4ed81a);
    border: 1px solid #3b82f64d
}

.notification i {
    font-size: 24px;
    margin-top: 2px
}

.notification.error i {
    color: #ef4444
}

.notification.success i {
    color: #22c55e
}

.notification.warning i {
    color: #fbbf24
}

.notification.info i {
    color: #3b82f6
}

.notification-text {
    color: #e5e7eb;
    flex: 1 1
}

.notification-text strong {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px
}

.notification-text span {
    color: #d1d5db;
    font-size: 14px
}

.close-btn {
    background: none;
    border: none;
    border-radius: 999px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    height: 10px;
    transition: .2s;
    width: 32px
}

.close-btn:hover {
    color: #fff;
    transform: scale(1.1)
}

@media (max-width: 640px) {
    .notification-stack {
        left:10px;
        max-width: none;
        right: 10px;
        top: 10px
    }
}

.dashboard-container {
    display: block;
    padding: 3rem 1rem
}

.main-content {
    margin: 0 auto;
    max-width: 900px;
    padding: 2rem 0
}

.card {
    background-color: #111827f2
}

.card .card-header {
    background: linear-gradient(135deg,#042f2a,#065f50)
}

body,html {
    height: 100%;
    overflow-x: hidden
}

.card,.main-content,.row {
    position: relative;
    z-index: 1
}

#particles-js {
    height: 100%;
    left: 0;
    opacity: .35;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10
}

body {
    background: #0f1419;
    color: #e5e7eb
}

.auth-container {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem
}

.auth-card {
    border-radius: 16px;
    max-width: 520px;
    padding: 1.5rem 1.75rem;
    width: 100%
}

.auth-header {
    background: linear-gradient(135deg,#042f2a,#065f50);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1rem
}

.logo-img {
    height: 52px;
    width: auto
}

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

.form-label {
    display: block;
    margin-bottom: .5rem
}

.btn-primary,.btn-primary-filter {
    background: #8b5cf6;
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    padding: .55rem 1.2rem
}

.btn-primary-filter {
    border-radius: 22px;
    font-size: 12px
}

.wider {
    padding: 12px 20px
}

button:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px)
}

.btn-primary:hover {
    background-color: var(--purple-dark)
}

.btn-primary:disabled {
    cursor: not-allowed;
    opacity: .7
}

.btn-full {
    width: 100%
}

.flash-message {
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: .75rem 1rem
}

.flash-message.success {
    background: #10b9811f;
    color: #10b981
}

.flash-message.error {
    background: #ef44441f;
    color: #ef4444
}

.password-wrapper {
    position: relative
}

.password-toggle {
    color: #a7b0c0;
    cursor: pointer;
    position: absolute;
    right: 14px;
    top: .6em
}

@media (max-width: 640px) {
    .btn-primary-filter {
        width:100%
    }
}

.stat-card-profile {
    border: 1px solid #ffffff1a;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    padding: 18px;
    transition: all .2s ease
}

.stat-value-profile {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-top: 10px
}

.btn-logout {
    align-items: center;
    background: var(--red) 0;
    border: none;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    transition: all .2s ease
}

.push-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px
}

.push-help {
    background: none;
    border: none;
    color: var(--blue-light);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline
}

.push-warning {
    background: #ef44441f;
    border-radius: 10px;
    color: #fecaca;
    font-size: 13px;
    padding: 12px 16px
}

.info-card,.push-tip,.tip-card {
    background: #facc1514;
    border: 1px solid #facc1533;
    border-radius: 12px;
    color: var(--text-primary-2);
    display: flex;
    font-size: 13px;
    gap: 10px;
    padding: 14px 16px
}

.info-card {
    background: rgba(0,29,122,.233);
    border: 1px solid #154afa33
}

.tip-card-new {
    background: #facc151f;
    border: 1px solid #facc154d;
    border-radius: 14px;
    color: var(--text-primary-2);
    display: flex;
    font-size: 14px;
    gap: 10px;
    padding: 16px 20px
}

.info-card i,.push-tip i,.tip-card i,.tip-card-new i {
    color: #facc15;
    margin-top: 2px
}

.info-card i {
    color: #fff
}

.push-modal {
    align-items: center;
    background: #05070abf;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 9999
}

.push-modal-content {
    border: 1px solid #ffffff1a;
    border-radius: 16px;
    color: var(--text-primary);
    max-width: 520px;
    padding: 24px;
    position: relative;
    width: 100%
}

.push-modal-content h3 {
    margin-bottom: 12px
}

.push-modal-content ol {
    grid-gap: 8px;
    color: var(--text-secondary);
    display: grid;
    gap: 8px;
    padding-left: 18px
}

.push-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 22px;
    position: absolute;
    right: 12px;
    top: 10px
}

.chart-header {
    margin-bottom: 20px
}

.chart-header h3,.chart-header h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px
}

.chart-card {
    border: 1px solid #ffffff1a;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: all .2s ease
}

.chart-value {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px
}

.chart-value .change {
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px
}

.chart-legend {
    flex-wrap: wrap;
    gap: 20px
}

.chart-legend,.legend-item {
    align-items: center;
    display: flex
}

.legend-item {
    color: var(--text-secondary);
    font-size: 14px;
    gap: 8px
}

.legend-dot {
    border-radius: 50%;
    height: 12px;
    width: 12px
}

.legend-dot.purple {
    background: var(--purple)
}

.chart-card {
    flex: 2 1
}

.milestone-card {
    animation: fadeIn .6s ease-out;
    border: 1px solid #ffffff1a;
    border-radius: 16px;
    flex: 1 1;
    max-width: 100%;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    width: 100%
}

.milestone-header {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
    z-index: 1
}

.milestone-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
    text-shadow: 0 2px 4px #0000004d
}

.milestone-subtitle {
    color: #fff9;
    font-size: .875rem
}

.milestone-badge-container {
    align-items: center;
    display: flex;
    height: 280px;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    width: 280px
}

.milestone-badge {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.5));
    height: 100%;
    object-fit: contain;
    width: 100%
}

.milestone-value {
    position: relative;
    text-align: center;
    z-index: 1
}

.milestone-current {
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: .25rem
}

.milestone-target {
    color: #ffffff80;
    font-size: 1rem;
    font-weight: 600
}

.milestone-progress-container {
    margin-bottom: 1rem;
    position: relative
}

.milestone-progress-bar {
    background: var(--purple-darker);
    border-radius: 12px;
    cursor: default;
    height: 16px;
    overflow: visible;
    position: relative
}

.milestone-progress-fill {
    background: var(--purple);
    border-radius: 12px;
    height: 100%;
    left: 0;
    overflow: visible;
    position: absolute;
    top: 0;
    transition: width .8s cubic-bezier(.4,0,.2,1)
}

.milestone-progress-text {
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 10
}

.milestone-stats {
    color: #ffffffb3;
    display: flex;
    font-size: .875rem;
    justify-content: space-between
}

.milestone-tooltip {
    background: #000000f2;
    border: 1px solid #ffffff1a;
    border-radius: 8px;
    color: #fff;
    font-size: .875rem;
    opacity: 0;
    padding: 12px 16px;
    pointer-events: none;
    position: absolute;
    transition: opacity .2s;
    white-space: nowrap;
    z-index: 1000
}

.milestone-tooltip strong {
    color: #22c55e
}

@media (max-width: 1340px) {
    .milestone-badge-container {
        align-items:center;
        display: flex;
        height: 220px;
        justify-content: center;
        margin: 0 auto;
        width: 150px
    }

    .milestone-current {
        font-size: 2rem
    }
}

@media (max-width: 768px) {
    .milestone-badge-container {
        height:180px;
        margin-bottom: 2em;
        width: 180px
    }

    .milestone-current {
        font-size: 1.75rem
    }

    .milestone-card {
        margin-top: 1.5em;
        padding: 1.5rem
    }
}

.dashboard-final {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem
}

.dashboard-final>* {
    min-width: 0
}

.stats-grid {
    grid-gap: 16px;
    grid-template-columns: repeat(4,minmax(0,1fr))
}

.stats-grid,.stats-grid-v2 {
    gap: 16px;
    margin-bottom: 1.5em
}

.stats-grid-v2 {
    grid-gap: 16px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.stat-card {
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    color: #e5e7eb;
    padding: 18px
}

.stat-header {
    align-items: center;
    display: flex;
    justify-content: space-between
}

.stat-title {
    color: #94a3b8;
    font-weight: 600
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-top: 10px
}

.stat-change {
    font-size: 12px;
    margin-top: 6px
}

.stat-change.positive {
    color: #22c55e
}

.stat-change.neutral {
    color: #94a3b8
}

.stat-change.negative {
    color: #ef4444
}

.revenue-chart {
    background: #0f172a;
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    color: #e5e7eb;
    padding: 18px
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px
}

.bar-row {
    grid-gap: 10px;
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 80px 1fr
}

.bar-label {
    color: #94a3b8;
    font-size: 12px
}

.bar {
    background: #0b1220;
    border: 1px solid #ffffff0d;
    border-radius: 10px;
    height: 24px;
    overflow: hidden;
    position: relative
}

.bar-fill {
    background: linear-gradient(90deg,#22c55e,#3b82f6);
    height: 100%
}

.bar-value {
    color: #e5e7eb;
    font-size: 12px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%)
}

@media (max-width: 768px) {
    .dashboard-final {
        display:block;
        gap: 8
    }

    #grafico {
        width: 100%
    }

    .stats-grid {
        grid-template-columns: 1fr
    }

    .milestone-badge-container {
        height: 180px;
        width: 180px
    }

    .milestone-current {
        font-size: 1.75rem
    }

    .milestone-card {
        padding: 1.5rem
    }
}

.bottom-section {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    margin-top: 32px
}

.ranking-section {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 16px
}

.filters-date,.filters-section {
    border: 1px solid #ffffff1a;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    padding: 16px
}

.filters-section {
    margin-top: 0
}

.filters-date {
    align-items: center;
    border: none;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    margin-left: auto;
    max-width: -webkit-fit-content;
    max-width: fit-content;
    padding: 12px 20px;
    width: auto!important
}

.period-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.period-btn {
    background: #0000;
    border: 1px solid #ffffff1a;
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-size: 12px;
    font-weight: 500;
    font-weight: 600;
    padding: 8px 20px;
    transition: all .2s ease;
    white-space: nowrap
}

.period-btn:hover {
    border-color: var(--purple);
    color: var(--text-primary)
}

.period-btn.active {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    font-weight: 600
}

.filters-grid {
    grid-gap: 20px;
    align-items: end;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(100px,1fr))
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.filter-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600
}

.filter-input,.filter-select {
    background: var(--bg-primary);
    border: 1px solid #ffffff1a;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 12px;
    transition: all .2s ease
}

.filter-input:focus,.filter-select:focus {
    background: var(--bg-hover);
    border-color: var(--purple)
}

.filter-select option {
    background: var(--bg-card);
    color: var(--text-primary)
}

.filter-dropdown-trigger {
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid #ffffff1a;
    border-radius: 22px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    justify-content: space-between;
    padding: 10px 12px;
    transition: all .2s ease;
    width: 100%
}

.filter-dropdown-trigger:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 12px #8b5cf61a
}

.filter-dropdown-trigger i.fa-chevron-down {
    font-size: 12px;
    transition: transform .2s ease
}

.filter-dropdown-trigger.open i.fa-chevron-down {
    transform: rotate(180deg)
}

.filter-dropdown-container {
    animation: dropdown-slide .2s ease;
    background: var(--bg-primary);
    border: 1px solid #ffffff1a;
    border-radius: 8px;
    box-shadow: 0 6px 18px #00000059;
    left: 0;
    max-height: 500px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1000
}

.filter-dropdown-item {
    border-bottom: 1px solid #ffffff0d;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 12px;
    padding: 10px 12px;
    transition: all .15s ease
}

.filter-dropdown-item:last-child {
    border-bottom: none
}

.filter-dropdown-item:hover {
    background: #ffffff0d
}

.filter-dropdown-item.selected {
    background: #8b5cf61a;
    color: var(--purple);
    font-weight: 600
}

.filter-dropdown-container::-webkit-scrollbar {
    width: 6px
}

.filter-dropdown-container::-webkit-scrollbar-thumb {
    background: #fff3;
    border-radius: 3px
}

@media (max-width: 768px) {
    .period-btn {
        font-size:12px;
        padding: 6px 14px
    }

    .filters-grid {
        gap: 12px;
        grid-template-columns: 1fr
    }

    .filters-date {
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 16px;
        max-width: 100%;
        width: 100%!important
    }
}

.skeleton-card {
    animation: pulse 1.5s ease-in-out infinite;
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    display: flex;
    gap: 12px;
    height: 13em;
    padding: 18px
}

.skeleton-icon {
    background: #ffffff1a;
    border-radius: 12px;
    height: 48px;
    width: 48px
}

.skeleton-content {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 8px
}

.skeleton-title {
    background: #ffffff1a;
    border-radius: 4px;
    height: 14px;
    width: 60%
}

.skeleton-value {
    background: #ffffff1a;
    border-radius: 6px;
    height: 28px;
    width: 80px
}

.skeleton-chart {
    animation: pulse 1.5s ease-in-out infinite;
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    flex: 2 1;
    padding: 18px
}

.skeleton-chart-header {
    background: #ffffff1a;
    border-radius: 6px;
    height: 24px;
    margin-bottom: 16px;
    width: 150px
}

.skeleton-chart-body {
    background: #ffffff0d;
    border-radius: 8px;
    height: 300px;
    width: 100%
}

.skeleton-milestone {
    animation: pulse 1.5s ease-in-out infinite;
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 16px;
    padding: 24px
}

.skeleton-milestone-content {
    background: #ffffff0d;
    border-radius: 12px;
    height: 200px;
    width: 100%
}

@keyframes pulse {
    0%,to {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

.log-card {
    align-items: flex-start;
    background: #151822;
    border-radius: 12px;
    box-shadow: 0 1px 4px 0 #00000012;
    cursor: default;
    display: flex;
    margin-bottom: 10px;
    min-height: 56px;
    padding: 14px 16px;
    position: relative;
    transition: background .2s,box-shadow .2s
}

.log-card:last-child {
    margin-bottom: 0
}

.log-icon {
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 #0000001a;
    display: flex;
    flex-shrink: 0;
    height: 38px;
    justify-content: center;
    margin-right: 14px;
    width: 38px
}

.log-info {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 2px
}

.log-meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 16px;
    margin-top: 2px;
    min-width: 70px
}

.log-time {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px
}

.log-date {
    color: #fff;
    font-size: 11px
}

.log-type {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px
}

.log-desc {
    color: #e4e4e4;
    font-size: 13px;
    margin-bottom: 2px
}

.log-skeleton {
    animation: shimmer 1.4s linear infinite;
    background-size: 200% 100%;
    border-radius: 12px;
    min-height: 76px
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    to {
        background-position: 200% 0
    }
}

.logs-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-color: #334155 #232c3b;
    scrollbar-width: thin
}

.logs-scroll::-webkit-scrollbar {
    width: 7px
}

.logs-scroll::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 8px
}

.logs-scroll::-webkit-scrollbar-track {
    background: #232c3b
}

@media (max-width: 900px) {
    .bottom-section {
        flex-direction:column
    }

    .ranking-section {
        max-width: 100%;
        width: 100%
    }
}

.stats-grid {
    grid-gap: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    margin-bottom: 30px
}

.stat-card-header {
    gap: 12px;
    margin-bottom: 12px
}

.stat-card-header,.stat-icon {
    align-items: center;
    display: flex
}

.stat-icon {
    border-radius: 10px;
    font-size: 20px;
    height: 40px;
    justify-content: center;
    width: 40px
}

.stat-icon.purple {
    background: #8a2be233;
    color: var(--purple)
}

.stat-icon.green {
    background: #22c55e33;
    color: #22c55e
}

.stat-icon.blue {
    background: #3b82f633;
    color: #3b82f6
}

.stat-icon.orange {
    background: #f9731633;
    color: #f97316
}

.stat-icon.red {
    background: #ef444433;
    color: #ef4444
}

.stat-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700
}

.stat-subtitle {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 6px
}

.stat-change {
    color: var(--text-secondary);
    font-size: 13px
}

.statistics-charts-section {
    grid-gap: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(500px,1fr))
}

.statistics-chart-card {
    border: 1px solid #ffffff0f;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0000001a;
    padding: 24px
}

.statistics-chart-card h3 {
    align-items: center;
    color: var(--text-primary);
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    margin-bottom: 20px
}

.statistics-chart-container {
    height: 300px;
    position: relative
}

.charts-section {
    grid-gap: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(500px,1fr));
    margin-bottom: 30px
}

.chart-container {
    height: 300px;
    position: relative
}

.rankings-section {
    grid-gap: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(400px,1fr))
}

.ranking-card {
    border: 1px solid #ffffff0f;
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000040;
    color: #e5e7eb;
    padding: 18px
}

.ranking-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    margin-bottom: 20px
}

.ranking-card h3,.ranking-item {
    align-items: center;
    display: flex
}

.ranking-item {
    background: #151822;
    border-radius: 8px;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 12px;
    transition: all .3s
}

.ranking-position {
    align-items: center;
    border-radius: 50%;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    width: 32px
}

.ranking-position.first {
    background: linear-gradient(135deg,gold,orange);
    color: #000
}

.ranking-position.second {
    background: linear-gradient(135deg,silver,grey);
    color: #000
}

.ranking-position.third {
    background: linear-gradient(135deg,#cd7f32,#8b4513);
    color: #fff
}

.ranking-position.other {
    background: #505661;
    color: #e5e7eb
}

.ranking-info {
    flex: 1 1;
    margin-left: 12px
}

.ranking-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px
}

.ranking-details {
    color: var(--text-secondary);
    font-size: 13px
}

.ranking-value {
    text-align: right
}

.ranking-count {
    font-size: 20px;
    font-weight: 700
}

.ranking-revenue {
    color: var(--text-secondary);
    font-size: 13px
}

.loading-spinner {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 40px
}

.spinner {
    animation: spin 1s linear infinite;
    border-top: 3px solid var(--bg-secondary);
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    border-top-color: var(--purple);
    height: 40px;
    width: 40px
}

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

    to {
        transform: rotate(1turn)
    }
}

@media (max-width: 768px) {
    .rankings-section,.statistics-charts-section {
        grid-template-columns:1fr
    }

    .statistics-chart-card {
        min-width: 0
    }

    .statistics-chart-container {
        height: 250px
    }
}

.ranking-page {
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem
}

.ranking-header {
    margin-bottom: .5em;
    text-align: center
}

.ranking-header h1 {
    -webkit-text-fill-color: #0000;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: .5rem
}

.ranking-header p {
    color: var(--text-secondary);
    font-size: .95rem
}

.ranking-period {
    background: #8a50ff26;
    border-radius: 999px;
    color: var(--purple);
    display: inline-block;
    font-size: .9rem;
    font-weight: 600;
    margin-top: .5rem;
    padding: 8px 16px
}

.podium-container {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 2rem 0 3rem
}

.podium-place {
    align-items: center;
    animation: fadeInUp .6s ease-out;
    display: flex;
    flex-direction: column;
    position: relative
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.podium-second {
    animation-delay: .1s
}

.podium-first {
    animation-delay: 0s
}

.podium-third {
    animation-delay: .2s
}

.podium-crown {
    animation: bounce 2s ease-in-out infinite;
    color: gold;
    filter: drop-shadow(0 0 10px rgba(255,215,0,.5));
    font-size: 3rem;
    margin-bottom: -1rem
}

@keyframes bounce {
    0%,to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.podium-avatar {
    align-items: center;
    background: linear-gradient(135deg,#667eea,#764ba2);
    border: 3px solid #fff3;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 2.5rem;
    height: 100px;
    justify-content: center;
    margin-bottom: -25px;
    position: relative;
    width: 100px;
    z-index: 2
}

.podium-avatar-first {
    background: linear-gradient(135deg,gold,orange);
    border: 4px solid #ffd70080;
    box-shadow: 0 0 30px #ffd70066;
    font-size: 3.5rem;
    height: 130px;
    width: 130px
}

.podium-card {
    background: var(--card-bg);
    border: 2px solid #ffffff0d;
    border-radius: 16px;
    box-shadow: 0 8px 32px #0000004d;
    min-width: 280px;
    padding: 3rem 2rem 2rem;
    text-align: center;
    transition: all .3s ease
}

.podium-card:hover {
    border-color: #8a50ff4d;
    box-shadow: 0 12px 40px #8a50ff4d;
    transform: translateY(-5px)
}

.podium-card-first {
    background: linear-gradient(135deg,#ffd7000d,#ffa5000d);
    border: 2px solid #ffd7004d
}

.podium-card-first:hover {
    border-color: #ffd70080;
    box-shadow: 0 12px 40px #ffd7004d
}

.podium-position {
    bottom: 10px;
    color: #ffffff0d;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    right: 10px;
    z-index: 0
}

.podium-position-first {
    color: #ffd7001a;
    font-size: 5rem
}

.podium-badge {
    background: linear-gradient(135deg,gold,orange);
    border-radius: 20px;
    color: #1a1a2e;
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 12px;
    padding: 6px 12px;
    text-transform: uppercase
}

.podium-name {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.podium-revenue {
    color: #4ade80;
    font-family: Courier New,monospace;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .5px
}

.podium-revenue-first {
    color: gold;
    font-size: 1.8rem;
    text-shadow: 0 0 10px #ffd7004d
}

.podium-second .podium-avatar {
    background: linear-gradient(135deg,silver,grey)
}

.podium-third .podium-avatar {
    background: linear-gradient(135deg,#cd7f32,#8b4513)
}

.podium-second .podium-card {
    border-color: #c0c0c033
}

.podium-third .podium-card {
    border-color: #cd7f3233
}

.ranking-table {
    background: var(--card-bg);
    border: 1px solid #ffffff0d;
    border-radius: 16px;
    box-shadow: 0 8px 32px #0003;
    overflow: hidden
}

.ranking-table table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%
}

.ranking-table thead {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: #8a50ff14
}

.ranking-table th {
    border-bottom: 2px solid #8a50ff33;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 1.25rem 1rem;
    text-align: left;
    text-transform: uppercase
}

.ranking-table th:first-child {
    text-align: center;
    width: 100px
}

.ranking-table th:nth-child(2) {
    text-align: left
}

.ranking-table th:last-child {
    text-align: right;
    width: 180px
}

.ranking-table td {
    border-bottom: 1px solid #ffffff08;
    padding: 1.25rem 1rem;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    vertical-align: middle
}

.ranking-table td:first-child {
    text-align: center;
    vertical-align: middle
}

.ranking-table td:nth-child(2) {
    text-align: left
}

.ranking-table td:last-child {
    text-align: right
}

.ranking-table tbody tr {
    background: #0000;
    position: relative;
    transition: all .3s cubic-bezier(.4,0,.2,1)
}

.ranking-table tbody tr:hover {
    background: #8a50ff14;
    box-shadow: -4px 0 0 0 var(--purple);
    transform: translateX(4px)
}

.ranking-table tbody tr:hover td {
    border-color: #8a50ff33
}

.rank-position {
    color: var(--purple);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    text-align: center;
    transition: all .3s ease;
    vertical-align: middle;
    z-index: 1
}

.ranking-table tbody tr:hover .rank-position {
    text-shadow: 0 0 20px currentColor;
    transform: scale(1.15)
}

.rank-position.top-1 {
    animation: glow-gold 2s ease-in-out infinite;
    color: gold;
    text-shadow: 0 0 1px #ffd70080
}

.rank-position.top-2 {
    color: #e8e8e8;
    text-shadow: 0 0 1px #e8e8e880
}

.rank-position.top-3 {
    color: #cd7f32;
    text-shadow: 0 0 1px #cd7f3280
}

@keyframes glow-gold {
    0%,to {
        filter: brightness(1)
    }

    50% {
        filter: brightness(1.3)
    }
}

.player-name {
    color: var(--text);
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: all .3s ease;
    z-index: 1
}

.ranking-table tbody tr:hover .player-name {
    color: var(--purple);
    font-weight: 700
}

.player-revenue {
    color: var(--text);
    display: inline-block;
    font-family: Courier New,monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .5px;
    position: relative;
    transition: all .3s ease;
    z-index: 1
}

.ranking-table tbody tr:hover .player-revenue {
    color: #4ade80;
    text-shadow: 0 0 10px #4ade804d;
    transform: scale(1.05)
}

.empty-state {
    background: var(--card-bg);
    border: 1px solid #ffffff0d;
    border-radius: 16px;
    color: var(--text-secondary);
    padding: 4rem 2rem;
    text-align: center
}

.empty-state i {
    color: var(--purple);
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: .5
}

@media (max-width: 768px) {
    .ranking-page {
        padding:1rem
    }

    .ranking-header h1 {
        font-size: 2rem
    }

    .podium-container {
        align-items: center;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0 2rem
    }

    .podium-place {
        max-width: 300px;
        width: 100%
    }

    .podium-first {
        order: 1
    }

    .podium-second {
        order: 2
    }

    .podium-third {
        order: 3
    }

    .podium-crown {
        font-size: 2rem
    }

    .podium-avatar {
        font-size: 1.75rem;
        height: 70px;
        width: 70px
    }

    .podium-avatar-first {
        font-size: 2.25rem;
        height: 90px;
        width: 90px
    }

    .podium-card {
        min-width: auto;
        padding: 2rem 1.25rem 1.25rem;
        width: 100%
    }

    .podium-position {
        font-size: 3rem
    }

    .podium-position-first {
        font-size: 4rem
    }

    .podium-revenue {
        font-size: 1.25rem
    }

    .podium-revenue-first {
        font-size: 1.5rem
    }

    .ranking-table {
        border-radius: 12px
    }

    .ranking-table th:first-child {
        width: 60px
    }

    .ranking-table th:last-child {
        width: 140px
    }

    .ranking-table th {
        font-size: .75rem
    }

    .ranking-table td,.ranking-table th {
        padding: .75rem .5rem
    }

    .player-name,.player-revenue {
        font-size: .95rem
    }

    .rank-position {
        font-size: 1.2rem
    }

    .ranking-table tbody tr:hover {
        box-shadow: -2px 0 0 0 var(--purple);
        transform: translateX(2px)
    }
}

.spt-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.spt {
    align-items: center;
    border: 1px solid #ffffff1a;
    border-radius: 10px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 14px;
    padding: 18px;
    transition: all .2s ease
}

.spt.dragging {
    box-shadow: 0 6px 18px #0006;
    opacity: .6;
    transform: scale(.995)
}

.spt.placeholder {
    background: #0000;
    border: 2px dashed #ffffff0f;
    min-height: 72px
}

.badge-top {
    align-items: center;
    background: #22c55e26;
    border-radius: 999px;
    color: var(--success);
    display: inline-flex;
    font-size: .75rem;
    gap: 6px;
    padding: 6px 10px;
    white-space: nowrap
}

.spt-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

.spt-name {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.spt-actions-row {
    flex-wrap: wrap
}

.spt-actions-row,.token-row {
    align-items: center;
    display: flex;
    gap: 8px
}

.token-row {
    margin-top: 8px
}

.badge {
    background: #22c55e1f;
    color: var(--success)
}

.badge,.badge-purple {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .8rem;
    gap: 6px;
    padding: 6px 10px
}

.badge-purple {
    background: #8b5cf61a;
    color: #8b5cf6
}

.badge-red {
    align-items: center;
    background: #ffffff0a;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .8rem;
    gap: 6px;
    padding: 6px 10px
}

.priority {
    color: var(--text-secondary);
    font-size: .85rem
}

.token-form {
    display: block;
    margin-top: 8px;
    width: 100%
}

.drag-handle {
    align-items: center;
    cursor: grab;
    justify-content: center;
    width: 18px
}

.drag-handle:before {
    color: #94a3b8;
    content: "⋮⋮";
    font-size: 18px;
    letter-spacing: 2px
}

.spt.dragging .drag-handle:before {
    color: #6366f1
}

.spt-footer {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin-top: 18px
}

@media (max-width: 900px) {
    .spt {
        align-items:stretch;
        flex-direction: column
    }
}

.spt-header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    width: 100%
}

.spt-left {
    align-items: center;
    display: flex;
    flex: 1 1;
    gap: 14px;
    min-width: 0
}

.logo-rounded {
    border: 2px solid #ffffff1a;
    border-radius: 10px;
    flex-shrink: 0;
    height: 72px;
    object-fit: contain;
    width: 72px
}

.spt-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px
}

.spt-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    width: 100%
}

.tracking-service-badge {
    align-items: center;
    border: 1px solid;
    border-radius: 8px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    padding: 6px 12px;
    transition: all .2s ease
}

.tracking-service-badge i {
    font-size: 14px
}

.tracking-badge-pixel {
    background: #1877f21a;
    border-color: #1877f24d;
    color: #1877f2
}

.tracking-badge-pixel:hover {
    background: #1877f226;
    box-shadow: 0 2px 8px #1877f233
}

.tracking-badge-utmify {
    background: #0000001a;
    border-color: #b6b6b64d;
    color: #bababa
}

.tracking-badge-utmify:hover {
    background: #16161626;
    box-shadow: 0 2px 8px #bebebe33
}

.tracking-badge-otimizey {
    background: #8b5cf61a;
    border-color: #8b5cf64d;
    color: #8b5cf6
}

.tracking-badge-otimizey:hover {
    background: #8b5cf626;
    box-shadow: 0 2px 8px #8b5cf633
}

.bot-multi-selector-wrapper,.bot-selector-trigger {
    position: relative;
    width: 100%
}

.bot-selector-trigger {
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    gap: 8px;
    min-height: 52px;
    padding: 12px 48px 12px 16px;
    transition: all .2s ease
}

.bot-selector-trigger:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 12px #8b5cf61a
}

.bot-selector-trigger:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px #8b5cf626
}

.bot-selector-placeholder {
    color: #fff;
    font-size: 15px
}

.bot-selector-selected {
    display: flex;
    flex: 1 1;
    flex-wrap: wrap;
    gap: 6px
}

.bot-badge {
    align-items: center;
    background: linear-gradient(135deg,#8b5cf6,#7c3aed);
    border-radius: 8px;
    box-shadow: 0 2px 4px #8b5cf633;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    padding: 6px 12px;
    transition: all .2s ease
}

.bot-badge:hover {
    box-shadow: 0 4px 8px #8b5cf64d;
    transform: translateY(-1px)
}

.bot-badge i {
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    opacity: .8;
    padding: 2px;
    transition: all .2s ease
}

.bot-badge i:hover {
    background: #fff3;
    opacity: 1
}

.bot-selector-icon {
    color: var(--text-primary);
    font-size: 14px;
    opacity: .6;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease
}

.bot-selector-dropdown {
    animation: dropdown-slide .2s ease;
    background: var(--bg-primary);
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    box-shadow: 0 6px 18px #00000059;
    left: 0;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 100
}

@keyframes dropdown-slide {
    0% {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.bot-option {
    align-items: center;
    background: #0000;
    border-bottom: 1px solid #ffffff0d;
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    transition: all .15s ease
}

.bot-option:last-child {
    border-bottom: none
}

.bot-option:hover {
    background: #ffffff0d
}

.bot-option.selected {
    background: #8b5cf61a
}

.bot-option.selected:hover {
    background: #8b5cf626
}

.bot-option-check {
    align-items: center;
    border: 2px solid #fff3;
    border-radius: 6px;
    display: flex;
    flex-shrink: 0;
    height: 24px;
    justify-content: center;
    transition: all .2s ease;
    width: 24px
}

.bot-option.selected .bot-option-check {
    background: linear-gradient(135deg,#8b5cf6,#7c3aed);
    border-color: #8b5cf6
}

.bot-option-check i {
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.bot-option-name {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500
}

.bot-option.selected .bot-option-name {
    color: var(--purple);
    font-weight: 600
}

.bot-selector-dropdown::-webkit-scrollbar {
    width: 8px
}

.bot-selector-dropdown::-webkit-scrollbar-track {
    background: #0000;
    border-radius: 0 12px 12px 0
}

.bot-selector-dropdown::-webkit-scrollbar-thumb {
    background: #fff3;
    border-radius: 4px
}

.bot-selector-dropdown::-webkit-scrollbar-thumb:hover {
    background: #ffffff4d
}

@media (max-width: 640px) {
    .bot-selector-trigger {
        min-height:48px;
        padding: 10px 40px 10px 14px
    }

    .bot-badge {
        font-size: 13px;
        padding: 5px 10px
    }

    .bot-option {
        padding: 10px 14px
    }

    .bot-option-name {
        font-size: 14px
    }
}

.bot-selector-header,.bot-selector-wrapper-2 {
    position: relative;
    width: 100%
}

.dropdown-icon {
    font-size: 14px;
    margin-right: 8px;
    text-align: center;
    width: 16px
}

.filter-dropdown-item.inactive {
    opacity: .6
}

@media (max-width: 640px) {
    .filter-dropdown-item {
        font-size:12px;
        padding: 10px 14px
    }
}

.spt-form-bot {
    align-items: center;
    border: 1px solid #ffffff1a;
    border-radius: 10px;
    border-radius: var(--border-radius);
    display: block;
    gap: 14px;
    padding: 18px;
    transition: all .2s ease
}

.slideshow {
    background: #040f16;
    border-radius: 20px;
    box-shadow: 0 8px 32px #0003;
    margin: 2rem auto;
    max-width: 1600px;
    overflow: hidden;
    position: relative;
    width: 100%
}

.slideshow .slide {
    align-items: center;
    background: #040f16;
    display: none;
    height: 350px;
    justify-content: center
}

.slideshow .slide.active {
    display: flex
}

.slideshow .slide img {
    cursor: zoom-in;
    display: block;
    height: 350px;
    object-fit: contain;
    transition: transform .3s ease;
    width: 100%
}

.slideshow .slide img:hover {
    transform: scale(1.5)
}

.slideshow .caption {
    background: linear-gradient(0deg,#000000e6,#000000b3,#0000);
    bottom: 0;
    color: #fff;
    left: 0;
    padding: 2rem 2.5rem;
    position: absolute;
    right: 0;
    text-align: left
}

.slideshow .caption h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 .5rem
}

.slideshow .caption p {
    color: #ffffffe6;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0
}

.slideshow-btn {
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: var(--bg-primary);
    border: .2px solid #fff3;
    border-radius: 99px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    height: 1.2em;
    justify-content: center;
    padding: .5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease;
    z-index: 1
}

.slideshow-btn:hover {
    background: #000000b3;
    border-color: #fff6;
    transform: translateY(-50%) scale(1.1)
}

.slideshow-btn-prev {
    left: 1.5rem
}

.slideshow-btn-next {
    right: 1.5rem
}

.slideshow-dots {
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: var(--bg-primary);
    border: .2px solid #ffffff1a;
    border-radius: 50px;
    bottom: 1.5rem;
    display: flex;
    gap: .5rem;
    left: 50%;
    padding: .5rem 1rem;
    position: absolute;
    transform: translateX(-50%);
    z-index: 1
}

.slideshow-dot {
    background: #fff6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 8px;
    padding: 0;
    transition: all .3s ease;
    width: 8px
}

.slideshow-dot:hover {
    background: #ffffffb3;
    transform: scale(1.2)
}

.slideshow-dot.active {
    background: #fff;
    border-radius: 4px;
    width: 24px
}

@media (max-width: 768px) {
    .slideshow {
        display:none
    }
}

.media-manager {
    display: flex;
    flex-direction: column;
    gap: 32px
}

.media-manager-section {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.file-input-label {
    background: var(--purple-dark);
    border: .2px solid rgba(97,52,204,.589);
    border-radius: 8px;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 32px;
    transition: all .3s ease
}

.file-input-label:hover {
    background: #06b6d41a;
    border-color: var(--purple-dark)
}

.file-input-label:disabled,.file-input-label[disabled] {
    cursor: not-allowed;
    opacity: .6
}

.file-input-icon {
    color: var(--blue);
    font-size: 32px
}

.file-input-text {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px
}

.media-item {
    align-items: center;
    background: var(--bg-secondary);
    border-left: 4px solid var(--blue);
    border-radius: 6px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 16px
}

.media-item.pending {
    background: var(--bg-secondary);
    border-left-color: var(--success);
    box-shadow: inset 0 0 0 1px #10b98133
}

.media-info {
    align-items: center;
    display: flex;
    flex: 1 1;
    gap: 12px;
    min-width: 0
}

.media-info i {
    flex-shrink: 0;
    font-size: 18px
}

.media-info span {
    font-size: 13px;
    white-space: normal;
    word-break: break-all
}

.media-info span,.media-item.pending .media-info span {
    color: var(--text-primary)
}

.btn-delete {
    align-items: center;
    background: var(--red);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    font-size: 12px;
    gap: 6px;
    padding: 6px 12px;
    transition: all .2s ease;
    white-space: nowrap
}

.btn-delete:hover:not(:disabled) {
    background: var(--red-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px)
}

.btn-delete:disabled {
    cursor: not-allowed;
    opacity: .6
}

.btn-delete i {
    font-size: 14px
}

@media (max-width: 768px) {
    .file-input-label {
        padding:24px
    }

    .file-input-icon {
        font-size: 28px
    }

    .file-input-text {
        font-size: 13px
    }

    .media-item {
        flex-wrap: wrap
    }
}

.required {
    color: #ef4444;
    font-weight: 700;
    margin-left: .3em
}

.file-input-hidden {
    display: none
}

.file-input-label {
    align-items: center;
    background: linear-gradient(135deg,#6366f10d,#8b5cf60d);
    border: 2px solid #6366f133;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding: 1.2rem 1.5rem;
    position: relative;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    -webkit-user-select: none;
    user-select: none
}

.file-input-label:before {
    background: linear-gradient(90deg,#0000,#ffffff1a,#0000);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left .5s ease;
    width: 100%
}

.file-input-label:hover {
    background: linear-gradient(135deg,#6366f126,#8b5cf626);
    border-color: #6366f180;
    box-shadow: 0 8px 24px #6366f133;
    transform: translateY(-2px)
}

.file-input-label:hover:before {
    left: 100%
}

.file-input-label.media {
    background: linear-gradient(135deg,#3b82f60d,#6366f10d);
    border-color: #3b82f633
}

.file-input-label.media:hover {
    background: linear-gradient(135deg,#3b82f626,#6366f126);
    border-color: #3b82f680;
    box-shadow: 0 8px 24px #3b82f633
}

.file-input-label.audio {
    background: linear-gradient(135deg,#a855f70d,#8b5cf60d);
    border-color: #a855f733
}

.file-input-label.audio:hover {
    background: linear-gradient(135deg,#a855f726,#8b5cf626);
    border-color: #a855f780;
    box-shadow: 0 8px 24px #a855f733
}

.file-input-icon {
    align-items: center;
    background: linear-gradient(135deg,#6366f133,#8b5cf633);
    border-radius: 12px;
    color: #6366f1cc;
    display: flex;
    flex-shrink: 0;
    font-size: 1.5rem;
    height: 50px;
    justify-content: center;
    transition: all .3s ease;
    width: 50px
}

.file-input-label.media .file-input-icon {
    background: linear-gradient(135deg,#3b82f633,#6366f133);
    color: #3b82f6cc
}

.file-input-label.audio .file-input-icon {
    background: linear-gradient(135deg,#a855f733,#8b5cf633);
    color: #a855f7cc
}

.file-input-label:hover .file-input-icon {
    box-shadow: 0 4px 12px #6366f14d;
    transform: scale(1.15) rotate(5deg)
}

.file-input-label.media:hover .file-input-icon {
    box-shadow: 0 4px 12px #3b82f64d
}

.file-input-label.audio:hover .file-input-icon {
    box-shadow: 0 4px 12px #a855f74d
}

.file-input-text {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    font-size: .95rem;
    font-weight: 500;
    gap: .25rem;
    line-height: 1.4;
    transition: color .3s ease;
    word-break: break-word
}

.file-input-label:hover .file-input-text,.file-input-text {
    color: var(--text-primary)
}

@media (max-width: 768px) {
    .file-input-label {
        gap:.8rem;
        padding: 1rem 1.2rem
    }

    .file-input-icon {
        font-size: 1.2rem;
        height: 44px;
        width: 44px
    }

    .file-input-text {
        font-size: .9rem
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a202c;
    --bg-card: #1e2532;
    --bg-hover: #2a3441;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --blue: #06b6d4;
    --blue-light: #22d3ee;
    --purple-dark: #7c3aed;
    --red-dark: #c53030;
    --red: #ef4444;
    --red-light: #f87171;
    --text-primary: #fff;
    --text-secondary: #9ca3af;
    --text-primary-2: #e5e7eb;
    --text-muted: #6b7280;
    --success: #10b981;
    --success-2: #059669;
    --success-bg: #10b9811a;
    --danger: #ef4444;
    --danger-bg: #ef44441a;
    --shadow-sm: 0 1px 2px #0000004d;
    --shadow-md: 0 4px 6px #0006;
    --shadow-lg: 0 10px 15px #00000080;
    --border-radius: 12px;
    --border-radius-lg: 16px
}

.page-header-with-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px
}

.page-header-content {
    flex: 1 1;
    min-width: 250px
}

.page-header-content .title {
    margin-bottom: 4px
}

.page-header-content p {
    color: #9ca3af;
    color: var(--text-secondary);
    margin: 0
}

@media (max-width: 1024px) {
    .page-header-with-filters {
        align-items:flex-start;
        flex-direction: column;
        gap: 0
    }

    .page-header-content {
        margin-bottom: 0;
        width: 100%
    }

    .filters-date {
        max-width: 100%!important;
        width: 100%!important
    }
}

.mobile-sidebar-toggle {
    background: #111827;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px #0003;
    color: #fff;
    left: 16px;
    padding: 10px 12px;
    position: fixed;
    top: 16px;
    z-index: 1100
}

.sidebar-overlay {
    background: #00000059;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .2s ease;
    z-index: 1090
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto
}

.sidebar {
    -ms-overflow-style: none;
    background: var(--bg-primary)!important;
    border-right: 1px solid #ffffff1a;
    box-shadow: 0 10px 30px #00000059;
    color: #fff!important;
    display: flex;
    flex-direction: column;
    height: 100vh;
    left: 0;
    overflow-y: auto;
    position: fixed;
    scrollbar-width: none;
    top: 0;
    transition: transform .25s ease;
    width: 280px;
    z-index: 9999!important
}

.sidebar-header {
    display: flex;
    margin: 0 auto;
    min-height: 80px
}

.logo {
    margin: 1em auto
}

.sidebar-nav {
    flex: 1 1;
    margin-top: -1em;
    overflow-y: auto;
    padding: 12px 10px
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-item {
    margin: 6px 0
}

.nav-link {
    align-items: center;
    border-radius: 10px;
    color: #cbd5e1;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background .2s ease,color .2s ease
}

.nav-link i {
    text-align: center;
    width: 18px
}

.nav-item.active .nav-link,.nav-link:hover {
    background: #94a3b81f;
    color: #fff
}

.nav-link.disabled {
    cursor: not-allowed;
    opacity: .5
}

.nav-item.active .nav-link {
    background: linear-gradient(90deg,var(--purple) 0,var(--purple-dark) 100%);
    border-left: 3px solid var(--purple);
    box-shadow: 0 6px 18px #8b5cf624;
    color: var(--text-primary);
    font-weight: 700
}

.sidebar-milestone {
    border-top: 1px solid #ffffff1a;
    margin-top: auto;
    padding: 12px 10px
}

.sidebar-milestone .milestone-card {
    border-radius: 8px;
    font-size: .9rem;
    margin: 0
}

.sidebar-milestone .milestone-title {
    font-size: .95rem
}

.sidebar-milestone .milestone-badge-container {
    margin: .75rem 0
}

.sidebar-milestone .milestone-badge {
    height: 60px;
    width: 60px
}

@media (max-width: 1023px) {
    .sidebar {
        transform:translateX(-100%)
    }

    .sidebar.active {
        transform: translateX(0)
    }
}

@media (min-width: 1024px) {
    .mobile-sidebar-toggle,.sidebar-overlay {
        display:none
    }

    .sidebar {
        transform: translateX(0)
    }
}

/*# sourceMappingURL=main.9fd1a87b.css.map*/

.edit-bot-header-card{width:100%;margin-top:1rem;margin-bottom:1.25rem;padding:.9rem 1rem;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}.edit-bot-header-main{display:flex;flex-direction:column;gap:.75rem}.edit-bot-selector{width:100%;max-width:320px}.edit-bot-selector-trigger{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;padding:.85rem 1rem;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#f3f4f6;font-weight:600}.edit-bot-meta{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;color:#d1d5db}.status-positive{color:#34d399}.status-negative{color:#f87171}@media (min-width:768px){.edit-bot-header-main{flex-direction:row;align-items:center;justify-content:space-between}.edit-bot-meta{align-items:flex-end;text-align:right}}
.redirects-page {
  color: #fff;
}

.redirects-shell {
  width: 100%;
}

.redirects-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.redirects-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.redirects-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.8);
  padding: 0.9rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.redirects-tab.active {
  color: #fff;
  border-bottom-color: #8b5cf6;
}

.redirects-warning {
  font-size: .95rem;
  color: #f5d78e;
  margin-bottom: 1rem;
}

.redirects-warning span { font-weight: 700; }

.redirects-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 1.25rem;
}
.redirects-grid.single { grid-template-columns: 1fr; }

.redirects-card,
.redirects-help-grid .redir-tip-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.redirects-card h3,
.redir-tip-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.redirects-field {
  margin-bottom: 1rem;
}
.redirects-field label,
.generator-row label {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .45rem;
}

.redirects-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .8rem 0;
}

.redirects-actions-row {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.redirects-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.redirect-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(0,0,0,.16);
}

.redirect-item-head {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.redirect-copy-link,
.redirect-extra-chip,
.generator-value {
  background: none;
  border: none;
  padding: 0;
  color: #c4b5fd;
  cursor: pointer;
  word-break: break-all;
  text-align: left;
}

.redirect-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.meta-badge {
  border-radius: 999px;
  padding: .28rem .6rem;
  font-size: .75rem;
  background: rgba(255,255,255,.08);
}
.meta-badge.active { color: #86efac; }
.meta-badge.inactive { color: #d1d5db; }

.redirect-bot-chip,
.redirect-extra-chip {
  margin-top: .75rem;
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .85rem;
}

.redirect-inline-actions {
  margin-top: 1rem;
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.redirects-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.redir-tip-card pre {
  margin-top: .75rem;
  background: rgba(0,0,0,.24);
  padding: .75rem;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.generator-results {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.generator-row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.generator-value {
  padding: .8rem 1rem;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff;
}
.generator-value.long { white-space: pre-wrap; }

@media (max-width: 900px) {
  .redirects-grid,
  .redirects-help-grid {
    grid-template-columns: 1fr;
  }
}

/* redirects layout patch */

.meta-badge.mode-fixed{color:#ddd6fe}.meta-badge.mode-random{color:#93c5fd}
.redirect-bot-list-editor{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.redirect-bot-selected-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 10px;color:#fff;font-size:13px}.redirect-bot-selected-chip button{border:0;background:transparent;color:#fff;cursor:pointer;font-size:16px;line-height:1}.redirect-bot-empty{color:hsla(0,0%,100%,.6);font-size:13px}.redirect-bot-chip-wrap{display:flex;flex-wrap:wrap;gap:8px}
