body {
    background: #000000;
    color: #e5e7eb;
    font-family: Inter, sans-serif;
    text-align: center;
    margin: 0;
}

h1 {
    font-size: 2.5rem !important;
}

h2 {
    font-size: 2rem !important;
}

h3 {
    font-size: 1.75rem !important;
}

h4 {
    font-size: 1.5rem !important;
}

h5 {
    font-size: 1.25rem !important;
}

h6 {
    font-size: 1rem !important;
}

/* ===== LAYOUT ===== */
.layout {

    display: flex;
    min-height: 100vh;
    background: radial-gradient(circle at top, #063b0057, #000000);
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0000007a, #000000);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #055d167a;
}



.sidebar-logo {
    font-size: 22px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 40px;
}

.sidebar-logo span {
    color: #e5e7eb;
}

/* MENU */

.sidebar-content img {
    width: 2rem;
    height: 2rem;
    filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(699%) hue-rotate(82deg) brightness(81%) contrast(89%);
}


.menu a {
    display: flex;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: #96b894;
    text-decoration: none;
    transition: 0.2s;
    align-items: center;
    gap: .5rem;
}

.menu a:hover,
.menu a.active {
    background: #1eb15429;
    color: #22c55e;
    border: 1px solid #22c55e7a;
}

/* Margins */
.m-a {
    margin: auto !important
}

.m-b1 {
    margin-bottom: 1rem !important;
}

.m-t1 {
    margin-top: 1rem !important;
}

.m-1 {
    margin: 1rem !important
}

a {
    text-decoration: none;
    color: white;
}




/* BOTTOM */
input,
select,
button {
    padding: .6rem;
    background: linear-gradient(268deg, #22c55e54, #1eb1542e);
    border: 1px solid #1eb15478;
    color: #e5e7eb;
    border-radius: 8px;
}

textarea {
    width: 98%;
    min-height: 80px;
    color: #e5e7eb;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    background: linear-gradient(268deg, #22c55e54, #1eb1542e);
    border: 1px solid #1eb15478;
}

button {
    font-family: Inter, sans-serif;
    background: linear-gradient(230deg, #03b3445e, #1eb154ba);
    border: none;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #157b3a;
}

button:hover {
    background: #16a34a;
}


.sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.discord-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.logout-btn {
    background: #111827;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #ef4444;
}

/* ===== CONTEÚDO ===== */
.content {
    flex: 1;
    padding: 40px;
}

/* HEADER */


.page-header span {
    color: #94a3b8;
}

/* ===== WALLET CARD ===== */
.wallet-card {
    margin-top: 50px;
    max-width: 480px;
    background: linear-gradient(135deg, #020617, #020617);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
}

/* WALLET TOP */
.wallet-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #22c55e;
}

.wallet-top strong {
    font-size: 20px;
}

.steam-id {
    font-size: 12px;
    color: #94a3b8;
}

/* BALANCE */
.wallet-balance {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-balance span {
    color: #94a3b8;
}

.wallet-balance strong {
    font-size: 28px;
    color: #22c55e;
}


/* ===== TOPBAR ===== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 7px 24px;
    border-radius: 14px;
    margin-bottom: 30px;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
    border: 1px solid #22c55e30;

}

/* Atualizações */
.updates {
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
}

.updates:hover {
    color: #22c55e;
}

/* Bot Badge */
.bot-badge {
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

.bot-badge .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #22c55e;
    color: #020617;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: bold;
}


/* DROPDOWN */
.dropdown {
    position: absolute;
    top: 90px;
    right: 40px;
    width: 320px;
    background: #020617;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    display: none;
    z-index: 10;
}

.dropdown h4 {
    margin-bottom: 12px;
    font-size: 16px;
}

.notification {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.notification.info {
    background: #0f172a;
}

.notification.success {
    background: #052e16;
    color: #22c55e;
}

.notification.warning {
    background: #422006;
    color: #facc15;
}

.notification.error {
    background: #450a0a;
    color: #ef4444;
}

.empty {
    color: #94a3b8;
    font-size: 13px;
}

/* TOP BAR */



.brand {
    color: #22c55e;
    font-size: 18px;
}

.topbar-link {
    color: #94a3b8;
    text-decoration: none;
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.bot-badge {
    position: relative;
    margin-right: 16px;
    cursor: pointer;
}

.bot-badge .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #22c55e;
    color: #020617;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}


.card {
    max-width: 100%;
    border-radius: 24px;
    padding: 28px;
    font-family: Inter, sans-serif;

    border: none;
    font-weight: bold;
    cursor: pointer;

    text-decoration: none;
}

.card::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
}

/* cors */
.bg-green {
    background: linear-gradient(230deg, #03b34412, #1eb154a6);
    border: 2px solid #157b3a;
}

.bg-white {
    background: linear-gradient(230deg, #bbbbbb1f, #bbbbbb80);
    border: 2px solid #7b7b7b82;
}


.bg-green-card {
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
    border: 1px solid #22c55e30;
}


/* Player Card */
.account-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    padding: 24px 30px;
    margin: 30px 0;
    max-width: 680px;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
    border: 1px solid #22c55e30;
}

.account-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    object-fit: cover;
}

.account-user strong {
    display: block;
    font-size: 18px;
}

.account-user span {
    font-size: 12px;
    color: #94a3b8;
}

.account-right {
    text-align: right;
}

.account-right span {
    font-size: 12px;
    color: #94a3b8;
}

.account-right strong {
    font-size: 26px;
    color: #22c55e;
}

/* Perfil card */
.perfil-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    padding: 24px 30px;
    margin: 30px 0;
    max-width: 680px;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, .15), transparent 60%);
    border: 1px solid #22c55e30;
}

.perfil-header {
    display: flex;
    gap: 16px;
    flex-direction: column;
    align-items: center;
}

.perfil-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    object-fit: cover;
}

.perfil-user strong {
    display: block;
    font-size: 18px;
}

.perfil-user span {
    font-size: 12px;
    color: #94a3b8;
}

.section-perfil-desc {
    display: flex;
    flex-direction: column;
}

.perfil-desc {
    height: 75px;
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* border-bottom: 1px solid #1eb1541f; */
    margin: 5px;
    font-weight: 100;
    color: #1eb154;
    background: #1eb15421;
    border-radius: 18px;
    padding: 5px;
    align-content: center;
    align-items: center;
}

.perfil-desc span {
    font-size: 12px;
    color: #94a3b8;
}

.section-cards {
    border-radius: 18px;
    margin: .5rem 0;
    padding-bottom: .5rem;

}

.section-name {
    background: #22c55e;
    height: 2rem;
    border-radius: 5px 20px 5px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 10px;
    color: black;
}

.list-data-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: space-around;
}

.list-data-section p {
    font-size: .6rem;
    font-weight: 600;
    margin: 0;
}

.section-locpick {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    padding-bottom: .5rem;
    border-radius: 18px;
}

.perfil-desc img {
    width: 35px;
    height: 35px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(699%) hue-rotate(82deg) brightness(81%) contrast(89%);
}

.perfil-right strong {
    font-size: 26px;
    color: #22c55e;
}

.store-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    pointer-events: auto;
    position: relative;
    width: 64px;
    height: 64px;
    background: #157b3a2e;
    border-radius: 18px;
    border: 1px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    transition: transform .2s;
}

.cart-icon:hover {
    transform: scale(1.05);
}

.cart-icon span {
    position: absolute;
    top: 6px;
    right: 8px;
    background: #22c55e;
    color: #020617;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Ranking */
#pst-1.lst-ranking {
    background: #f9de094f;
    color: #ffce10;     /* Opcional: Define a cor do texto como branco para melhor legibilidade */
}
#pst-2.lst-ranking {
 background: #ffffff7a;
    color: #ffffffb3;     /* Opcional: Define a cor do texto como branco para melhor legibilidade */
}

#pst-3.lst-ranking {
    background: #e5690e82;
    color: #d79009a8;     /* Opcional: Define a cor do texto como branco para melhor legibilidade */
}


.lst-ranks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 10px;
    color: #1eb154;
}

.your-pst {
    color: #1eb1546e;
    font-weight: 400;
    font-size: smaller;
}

.lst-ranking {
    display: flex;
    width: 250px;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: space-around;
    border: 1px solid #157b3a6b;
    border-radius: 10px;
    margin: .2rem 1rem;
    font-weight: 500;
    padding: .2rem;
    font-size: smaller;
}


.lst-pvp {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: space-around;
    border: 1px solid #157b3a3b;
    border-radius: 10px;
    margin-bottom: .5rem;
    font-weight: 500;
    padding: .3rem;
    color: #1eb154;
    font-size: smaller;
}

/* Container */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Toast base */
.toast {
    min-width: 280px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    animation: slideIn .3s ease, fadeOut .3s ease 4.5s forwards;
}

/* Tipos */
.toast.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.toast.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.toast.info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Ícone */
.toast-icon {
    font-size: 18px;
}

/* Animações */
@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}



/* PROGRESSO POR STATUS */
.delivery-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 14px auto;
    padding: 14px 20px;
    background: #020617;
    border-radius: 14px;
}

.delivery-left {
    width: 260px;
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.delivery-left .items {
    color: #94a3b8;
    font-size: 12px;
}

.delivery-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.total {
    margin-left: 1rem;
}

/* GRID DOS ÍCONES */
.grid-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

/* POSICIONAMENTO */
.step.left {
    justify-self: start;
}

.step.center {
    justify-self: center;
}

.step.right {
    justify-self: end;
}

/* STEP BASE */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: .35;
}

.step.active {
    opacity: 1;
}

/* ÍCONE */
.step .icon {
    font-size: 16px;
}

/* HORA */
.step small {
    font-size: 11px;
    color: #cbd5f5;
}

/* BADGE */
.badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .5;
}

.step.active .badge {
    opacity: 1;
}

.badge.pending {
    background: rgba(34, 197, 94, .15);
    color: #22c55e;
}

.badge.processing {
    background: rgba(234, 179, 8, .15);
    color: #eab308;
}

.badge.delivered {
    background: rgba(34, 197, 94, .2);
    color: #22c55e;
}

.badge.error {
    background: #7f1d1d;
    color: #f87171;
}

/* BARRA */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #1e293b;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* FILL */
.progress-fill {
    display: block;
    height: 100%;
    min-width: 4px;
    /* evita sumir */
    background: #22c55e;
    transition: width .4s ease;
}

.progress-fill.pending {
    width: 25%;
    background: #22c55e;
}

.progress-fill.processing {
    width: 75%;
    background: #22c55e;
}

.progress-fill.delivered {
    width: 100%;
    background: #22c55e;
}

.progress-fill.failed {
    width: 75%;
    background: #ef4444;
}


.new-item-adm {
    display: flex;
}

.form-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.list-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    border-radius: 18px;
    margin-bottom: .5rem;
    padding: 1;
    height: 4rem;
    font-weight: 400;
}

.pipboy-card {
    background: #001a00;
    position: relative;
    overflow: hidden;
}

/* Camada de ruído estático cintilante (grãos aleatórios piscando) */
.pipboy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, transparent 40%, rgba(0, 255, 65, 0.05) 60%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 255, 65, 0.03) 10px, rgba(0, 255, 65, 0.03) 20px);
    mix-blend-mode: screen;
    opacity: 0.6;
    pointer-events: none;
    animation: static-noise 0.15s steps(3) infinite;
}

/* Animação do ruído (cintilação rápida) */
@keyframes static-noise {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    20% {
        transform: translate(2px, -2px) scale(1.02);
        opacity: 0.7;
    }

    40% {
        transform: translate(-3px, 3px);
        opacity: 0.4;
    }

    60% {
        transform: translate(1px, -1px);
        opacity: 0.6;
    }

    80% {
        transform: translate(-2px, 2px) scale(0.99);
        opacity: 0.5;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
}

/* Linha de varredura descendo (refresh da tela) */
.pipboy-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 255, 65, 0.15),
            transparent);
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Flicker geral sutil da tela inteira */
.pipboy-card {
    animation: screen-flicker 6s infinite;
}

@keyframes screen-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.98;
    }

    3%,
    97% {
        opacity: 0.99;
    }
}