@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/*
* Theme: Atom | Premium Tebex Template
* Author: qSeek
* Website: https://qseek.org
* Discord: https://qseek.org/discord
*/

:root {
    --color-primary: #41c4c3;
    --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg");

    --background: rgb(28, 36, 44);
    --background-transparent: rgba(28, 36, 44, 0.85);
    --footer: #141820;
    --transparent: rgba(255, 255, 255, 0.15);
    --panel: #25323e;
    --border: #2c3a47;
    --main-color: #4cb1d0;
    --color-accent: #3dd1ff;
    --white: #ffffff;
    --text: RGBA(176, 227, 255, 0.8);
    --red: #d43246;
    --green: #41b95b;
    --spacing: 8px;

    --main-color-hover: #3e92ac;
    /* primary */
    --red-hover: #b92b3d;
    /* danger */
    --green-hover: #3daa55;
    /* success */
    --transparent-hover: rgba(187, 187, 187, 0.15);
}

body {
    background: var(--background);
    margin: 0;
    color: var(--text);
    font-family: "Poppins", sans-serif;
}

@media (min-width: 1300px) {
    .container {
        width: 1300px;
    }
}

.panel {
    background-color: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: calc(var(--spacing) * 2);
}

.panel .panel-heading {
    background: transparent;
    border: 0;
    color: var(--main-color);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.3em;
}

.modal-body {
    max-height: 60vh;
    overflow-x: scroll;
}

.modal-content {
    background-color: var(--panel);
}

.panel-body__top-customer {
    padding-bottom: 0;
    padding-top: 0;
}

p {
    line-height: 1.5;
}

hr {
    border-top: 1px solid var(--border);
}

.modal-footer,
.modal-header {
    border: 0;
}

.modal-body {
    background: var(--background);
}

.dropdown-backdrop {
    display: none;
}

button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: #fff;
    opacity: 0.8;
}

button.close:hover {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: #fff;
    opacity: 1;
}

.iziModal-close {
    color: var(--white);
    position: absolute;
    right: 0;
    font-size: 1.4em;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    cursor: pointer;
}

.iziModal .iziModal-loader {
    background: rgb(0, 0, 0, 0.5)
        url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0NCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM5OTkiPiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS13aWR0aD0iMiI+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49Ii0wLjlzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgIDwvZz48L3N2Zz4=)
        no-repeat 50% 50%;
}

#loading {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 10;
    background: rgba(37, 50, 62, 0.85);
    justify-content: center;
    align-items: center;
}

.body .sidebar,
.body .content {
    padding-left: var(--spacing);
    padding-right: var(--spacing);
}

.dropdown-list {
    position: relative;
}

.dropdown-menu {
    background-color: var(--panel);
    border: 1px solid var(--border);
    padding: var(--spacing);
    min-width: 200px;
}

.dropdown-menu > li {
    flex: 45%;
}

.open > .dropdown-menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing);
    width: 206px;
    transform: translate(-50%, 0);
    left: 50%;
    margin-top: var(--spacing);
}

.dropdown-menu > li > a {
    color: var(--text);
    border-radius: 8px;
    background: var(--border);
    padding: calc(var(--spacing) * 1.5) 0;
    text-align: center;
}

.dropdown-menu > li > a:hover {
    background: var(--main-color);
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

.d-flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.mx-12 {
    margin: 0 calc(var(--spacing) * 1.5);
}

.gap-8 {
    gap: 8px;
}

.flex-1 {
    flex: 1;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.content p {
    line-height: 1.8;
}

.headerbg {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
    position: absolute;
    top: 0;
    background:
        linear-gradient(
            0deg,
            var(--background),
            var(--background),
            var(--background-transparent)
        ),
        url("https://i.imgur.com/HvEl8Zv.jpg");
    background-size: cover;
    filter: blur(6px);
    z-index: -1;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    position: relative;
}

.topbar::after {
    content: " ";
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(255, 255, 255, 0.05),
        transparent
    );
    bottom: -24px;
}

.topbar__right,
.topbar__left {
    display: flex;
    gap: var(--spacing);
    align-items: center;
}

.button {
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 8px;
    border: 0;
    transition: background 0.2s;
    text-align: center;
    position: relative;
}

.button__badge {
    position: absolute;
    right: calc(var(--spacing) * 2);
    background: rgba(0, 0, 0, 0.2);
    padding: calc(var(--spacing) * 0.5) calc(var(--spacing) * 2.5);
    top: 0;
    bottom: 0;
    margin: auto;
    height: max-content;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.button:hover,
.button:focus {
    text-decoration: none;
    color: var(--white);
}

.button--primary {
    background: var(--main-color);
    color: var(--white);
    display: block;
    width: max-content;
}

.button--primary:hover {
    background: var(--main-color-hover);
}

.button--select {
    background: var(--panel);
    color: var(--white);
    /* width: max-content; */
    outline: 1px solid rgb(255, 255, 255, 0.1);
    user-select: none;
    width: 54px;
    height: 44px;
    padding: 12px 0;
}

.button--success {
    background: var(--green);
    color: var(--white);
    font-weight: bold;
}

.button--success:hover {
    background: var(--green-hover);
}

.button--danger {
    background: var(--red);
    color: var(--white);
    font-weight: bold;
}

.button--danger:hover {
    background: var(--red-hover);
}

.button--icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button--icon > .mdi {
    color: rgba(255, 255, 255, 0.8);
}

.button-mw {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.button--checkout {
    background: var(--green);
    color: var(--white);
    font-weight: bold;
}

.button--checkout:hover {
    background: var(--green-hover);
}

.button--shopping {
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-weight: bold;
}

.button--shopping:hover {
    background: var(--main-color-hover);
}

.button--logout {
    background: var(--red);
    color: var(--white);
}

.button--logout:hover {
    background: var(--red-hover);
}

.button--header {
    background: var(--transparent);
    border-radius: 25px;
    color: var(--white);
    font-weight: bold;
    border: 1px solid var(--transparent);
}

.button--header:hover {
    background: var(--transparent-hover);
}

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

.input {
    display: block;
    width: 100%;
    border-radius: 8px;
    background: var(--background);
    border: 1px solid var(--border);
    margin: 0;
    padding: 12px;
}

.input--disabled,
.input:disabled {
    background: var(--border);
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.procced-to-checkout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    position: absolute;
    left: 0;
    right: 0;
    margin: calc(var(--spacing) * 2);
    bottom: 0;
}

.profile {
    background: var(--main-color);
    border-radius: 8px;
    display: flex;
    padding: 12px 24px;
    gap: var(--spacing);
    cursor: pointer;
    opacity: 0.8;
    user-select: none;
    transition:
        opacity 0.5s,
        box-shadow 0.2s;
}

.profile.logged {
    opacity: 1;
}

.profile:hover {
    opacity: 1;
    text-decoration: none !important;
}

.profile,
.profile *,
.profile:hover *,
.player-basket__info,
.player-basket__info *,
.player-basket__info:hover * {
    text-decoration: none !important;
}

.profile.logged:hover {
    box-shadow: var(--main-color) 0px 0px 14px -6px;
}

.profile__data {
    text-align: center;
}

.profile__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.15em;
}

.profile__value {
    color: var(--text);
    font-weight: bold;
}

.profile__avatar {
    height: 85px;
    width: 55px;
    overflow-y: clip;
    margin: -12px 0;
    margin-top: -24px;
}

.profile__avatar > img {
    height: 125px;
}

.server {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    cursor: pointer;
}

.server__icon {
    color: var(--color-accent);
    font-size: 5em;
}

.server__icon > span:before {
    text-shadow: 0px 0px 7px #3dd1ff33;
}

.server__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.4em;
}

.server__online {
    color: var(--color-accent);
    font-weight: bold;
}

.server__online > .highlighted {
    background: var(--color-accent);
    border-radius: 25px;
    padding: 0 var(--spacing);
    color: var(--border);
}

.header-statistics {
    display: flex;
    justify-content: space-between;
}

.atomheader {
    display: flex;
    margin-left: -7px;
    margin-right: -7px;
    gap: var(--spacing);
    align-items: center;
    margin-bottom: calc(var(--spacing) * 2);
}

.header__logo {
    width: 33.33333333%;
    display: flex;
    justify-content: center;
}

.header__logo > a > img {
    max-height: 270px;
}

.header__content {
    width: 66.66666667%;
}

.socials {
    display: flex;
    gap: var(--spacing);
}

@media (max-width: 768px) {
    .atomheader {
        flex-direction: column;
    }

    .header__logo,
    .header__content {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .socials {
        display: none;
    }
}

.social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social__icon {
    color: var(--color-accent);
    font-size: 3.5em;
    text-shadow: 0px 0px 7px #3dd1ff33;
}

.social__icon > svg {
    fill: var(--color-accent);
    filter: text-shadow(0px 0px 7px #3dd1ff33);
    width: 34px;
}

.social__status {
    background: var(--transparent);
    border: 1px solid var(--transparent);
    border-radius: 25px;
    padding: 0 var(--spacing);
    color: var(--white);
    font-weight: 600;
    position: relative;
    width: 64px;
    height: 28px;
}

.social:hover {
    cursor: pointer;
}

.social__text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    width: max-content;
    height: max-content;
    transition:
        visibility 0s,
        opacity 0.5s linear,
        transform 0.5s;
    transform: translateY(0px);
}

.social__text--hover,
.social:hover .social__text {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
}

.social__text--hover {
    transform: translateY(5px);
}

.social:hover .social__text--hover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.announcement {
    background: var(--panel);
    border-radius: 8px;
    border: 1px solid var(--color-accent);
    display: flex;
    padding: calc(var(--spacing) * 2);
    align-items: center;
    gap: var(--spacing);
    margin-top: calc(var(--spacing) * 2);
}

.announcement__icon {
    background: var(--color-accent);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2.5em;
    border-radius: 25px;
}

.announcement__title {
    color: var(--color-accent);
    font-weight: bold;
}

.announcement__info {
    color: var(--white);
    font-weight: 600;
    font-size: 1.2em;
}

.announcement__data {
    flex: 1;
}

.player-basket {
    /*! position: fixed; */
    /*! right: 0; */
    z-index: 10;
    background: var(--panel);
    border-left: 1px solid var(--border);
    height: 100vh;
    padding: calc(var(--spacing) * 2);
    /*! transform: translateX(100%); */
    transition: 0.5s;
    /*! max-width: 90%; */
    /*! width: 108%; */
    z-index: 9999;
}

.player-basket.shown {
    transform: translateX(0%);
}

.player-basket__info {
    display: flex;
    gap: var(--spacing);
    align-items: center;
    position: relative;
    margin-bottom: calc(30px + var(--spacing));
}

.player-basket__skin {
    height: 100px;
    overflow-y: hidden;
}

.player-basket__skin > img {
    height: 140px;
}

.player-basket__name {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--white);
    text-decoration: none !important;
}

.player-basket__contents {
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none !important;
}

.player-basket__info,
.player-basket__info *,
.player-basket__data {
    text-decoration: none !important;
}

.player-basket__info::after {
    content: " ";
    height: 30px;
    width: calc(100% + 32px);
    position: absolute;
    background: var(--background);
    bottom: -30px;
    left: 50%;
    margin: auto;
    transform: translateX(-50%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.basket-refresh {
    position: absolute;
    top: 0;
    right: 40px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    transition: opacity 0.15s ease;
    z-index: 1;
}

.basket-refresh:hover {
    opacity: 0.8;
}

.basket-refresh .mdi {
    display: inline-block;
}

.basket-refresh.spinning .mdi {
    animation: spin 0.5s ease infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.basket-item {
    background: var(--border);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing) * 2);
    max-height: 120px;
}

.basket-packages {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    overflow-y: scroll;
}

.basket-item__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.1em;
}

.basket-item__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    flex-shrink: 0;
}

.basket-item__qty {
    display: flex;
    align-items: stretch;
    height: 40px;
    border: 1px solid rgba(176, 227, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.basket-item__qty-btn {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}

.basket-item__qty-btn:hover {
    background: rgba(176, 227, 255, 0.1);
    color: var(--white);
}

.basket-item__qty-value {
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    border-left: 1px solid rgba(176, 227, 255, 0.15);
    border-right: 1px solid rgba(176, 227, 255, 0.15);
}

.basket-item.updating {
    pointer-events: none;
    position: relative;
}

.basket-item.updating > * {
    opacity: 0.3;
}

.basket-item.updating::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--text);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: basket-spin 0.6s linear infinite;
}

@keyframes basket-spin {
    to { transform: rotate(360deg); }
}

.basket-item.removing {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    transition: opacity 0.2s, max-height 0.3s 0.1s, padding 0.3s 0.1s, margin 0.3s 0.1s;
}

.basket-item__remove {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    color: var(--white);
    transition: background 0.15s, border-color 0.15s;
}

.basket-item__remove:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    text-decoration: none;
    color: var(--white);
}

.cart-empty {
    background: var(--border);
    text-align: center;
    font-weight: bold;
    color: var(--white);
    font-size: 1.4em;
    border-radius: 8px;
    padding: 56px 0;
    display: flex;
    flex-direction: column;
}

.cart-empty > small {
    font-size: 85%;
    font-size: 12px;
    font-weight: normal;
    color: var(--text);
}

.cart-empty > .mdi {
    font-size: 2.8em;
}

.focus-mode {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 5;
    animation: 0.5s opacityIn;
}

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

    100% {
        opacity: 1;
    }
}

.navigation-dropdown-menu {
    position: inherit;
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: unset;
}

.open > .navigation-dropdown-menu {
    transform: unset;
    position: initial;
    width: 100%;
}

.navigation__item {
    margin: var(--spacing) 0;
    display: flow-root;
    border-radius: 4px;
}

.navigation__item a {
    color: var(--white);
    font-weight: bold;
    font-size: 1.3em;
}

.navigation__item > a {
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
    display: flex;
    align-items: center;
}

.navigation__item a:hover,
.navigation__item a:focus {
    text-decoration: none;
}

.navigation__item.open {
    background: var(--border);
}

.navigation__item.active,
.navigation__item:hover,
.navigation__item:focus {
    background: var(--border);
}

.navigation__item:first-child {
    margin-top: 0;
}

.navigation__item i::before {
    transition: 0.5s;
}

.navigation__item.open i::before {
    transform: rotate(-180deg);
}

.navigation__icon {
    width: 44px;
    height: 44px;
    margin: -44px var(--spacing);
    margin-left: 0;
}

.navigation-dropdown-menu {
    margin-top: var(--spacing);
}

.navigation-dropdown-menu > div > a {
    padding: calc(var(--spacing) / 2) calc(var(--spacing) * 2);
    display: block;
}

.navigation-dropdown-menu > div > a:hover {
    background: var(--background);
}

.navigation__toggle {
    display: flex;
    align-items: center;
}

.navigation__toggle > i {
    display: flex;
    background: var(--border);
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-left: auto;
}

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

.home-header__subheading {
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
}

.home-header__heading {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.6em;
}

.home-header__goal {
    display: none;
    background: var(--border);
    margin-right: calc(var(--spacing) * -2);
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    padding: var(--spacing) calc(var(--spacing) * 2);
    padding-left: var(--spacing);
    align-items: center;
    gap: var(--spacing);
}

.goal__progress {
    position: relative;
    width: 54px;
    height: 54px;
}
.goal__progress__circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
.goal__progress__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: var(--text);
}

.goal__heading {
    color: var(--color-accent);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
}

.goal__subheading {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9em;
}

.top-customer {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    margin-top: -15px;
}

.top-donator__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.2em;
}

.top-donator__amount {
    color: var(--main-color);
}

.top-customer__avatar {
    height: 100px;
    overflow-y: clip;
}

.top-customer__avatar > img {
    height: 140px;
}

#attach-payments {
    background: var(--border);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.recent-payments__user {
    border-radius: 4px;
}

.recent-payments {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing);
}

.recent-payments__heading {
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: var(--spacing);
}

footer {
    background: var(--footer);
    padding: calc(var(--spacing) * 4);
}

.footer__rows {
    display: flex;
    gap: calc(var(--spacing) * 4);
}

#mobile-widgets {
    display: none;
}

.only-mobile {
    display: none;
}

@media (max-width: 768px) {
    .footer__rows {
        flex-direction: column;
    }

    .hide-mobile {
        display: none;
    }

    #mobile-widgets {
        display: block;
    }

    .sidebar > .module {
        display: none;
    }

    .only-mobile {
        display: flex;
    }

    .only-desktop {
        display: none;
    }
}

.footer__content--links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.footer__content--links > li {
    color: var(--text);
    border: 0;
    border-bottom: 2px solid var(--panel);
    border-style: dashed;
    padding-bottom: var(--spacing);
    list-style-type: none;
}

.footer__content--links > li > a {
    color: var(--text);
}

.footer__title {
    font-weight: bold;
    color: var(--color-accent);
    font-size: 1.4em;
    font-style: italic;
    margin-bottom: var(--spacing);
}

.footer__col {
    flex: 1;
}

.footer__copyright {
    background: var(--background);
    border-radius: 8px;
    padding: calc(var(--spacing) * 2);
    display: flex;
    justify-content: space-between;
    margin-top: calc(var(--spacing) * 4);
    align-items: center;
}

.made-by-seek > a {
    font-style: italic;
    font-weight: bold;
    color: var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
}

.made-by-seek > a:hover {
    text-decoration: none;
}

.footer__rights {
    display: flex;
    flex-direction: column;
}

.category-title {
    background: var(--main-color);
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--white);
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
    display: flex;
    gap: var(--spacing);
    margin-bottom: var(--spacing);
}

.category-title--red {
    background: #d04c4c;
}

.category-title--green {
    background: #4cd06d;
}

.category-title--with-desc {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

.category-desc {
    background: var(--border);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
    margin-bottom: var(--spacing);
}

.category-desc > p {
    margin: 0;
}

.category-title > .mdi {
    color: rgba(255, 255, 255, 0.75);
}

.package-badge {
    position: absolute;
    background: var(--green);
    color: var(--white);
    padding: var(--spacing) calc(var(--spacing) * 3);
    border-radius: 24px;
    font-weight: bold;
    right: 30px;
    top: 30px;
}

.listpackage {
    display: flex;
    background: var(--border);
    border-radius: 8px;
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
    align-items: center;
    position: relative;
}

.listpackage__image {
    margin: calc(-1.5 * var(--spacing)) calc(-2 * var(--spacing));
    margin-right: calc(2 * var(--spacing));
    padding: calc(var(--spacing) * 1.5);
    background: rgb(255, 255, 255, 0.05);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    width: 25%;
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.listpackage_name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.1em;
}

.discount {
    text-decoration: line-through;
    color: var(--red);
}

.packages-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing) * -1);
}

.gridpackage {
    width: 33.333%;
    position: relative;
}

.gridpackage__inner {
    margin: var(--spacing);
    background: var(--border);
    padding: calc(var(--spacing) * 1.5);
    border-radius: 8px;
}

.gridpackage__image {
    display: flex;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    max-width: 100%;
}

.gridpackage__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gridpackage__info {
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    margin: calc(var(--spacing) * -1.5);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 1px solid var(--border);
    padding: calc(var(--spacing) * 2.5) 0;
    margin-top: calc(var(--spacing) * -6.5);
    padding-top: calc(var(--spacing) * 8.5);
}

.gridpackage__name {
    color: var(--white);
    font-weight: normal;
    font-size: 1.25em;
}

.gridpackage__price {
    font-weight: bold;
    font-size: 1.25em;
    color: white;
}

.gridpackage__text {
    margin-bottom: var(--spacing);
}

@media (max-width: 991px) {
    .gridpackage {
        width: 50%;
    }
    .checkout-packages {
        overflow-y: scroll;
    }
}

@media (max-width: 576px) {
    .checkout-packages {
        overflow-y: scroll;
    }
}

.d-none {
    display: none;
}

.d-inline {
    display: inline;
}

.table {
    margin: 0;
}

.checkout-packages > table {
    border-collapse: separate;
    border-spacing: 0 var(--spacing);
    margin-bottom: 0;
}

.checkout-packages th,
.checkout-packages td {
    border: 0 !important;
    background: var(--border);
}

.checkout-packages tr > th:first-child,
.checkout-packages tr > td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.checkout-packages tr > th:last-child,
.checkout-packages tr > td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.checkout-packages > table > tbody > tr > td {
    vertical-align: middle;
}

.table--checkout {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table--checkout td {
    vertical-align: middle !important;
}

.package-options {
    background: var(--panel);
    display: flow-root;
    padding: calc(var(--spacing) / 2) var(--spacing);
    border-radius: 25px;
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.giftcard-menu-back > .giftcard-menu-back__hidden,
.giftcard-menu-back__shown {
    display: none;
}

.giftcard-menu-back > .giftcard-menu-back__shown {
    display: flex;
}

.iziModal .panel {
    margin: 0;
    padding: calc(var(--spacing) * 2) 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    background: var(--border);
    padding: calc(var(--spacing) * 2);
    border-radius: 8px;
    gap: var(--spacing);
}

.button-menu {
    padding: calc(var(--spacing) * 2);
    margin-bottom: calc(var(--spacing) * 2);
    border-radius: 8px;
    background: linear-gradient(
        90deg,
        var(--main-color) 0%,
        var(--main-color) 50%,
        var(--main-color-hover) 50%,
        var(--main-color-hover) 100%
    );
    cursor: pointer;
    transition: background 0.4s;
    background-size: 200%;
    background-position-x: left;
}

.button-menu:hover {
    background-position-x: right;
}

.button-menu__heading {
    font-weight: bold;
    color: var(--white);
    font-size: 1.4em;
}

.button-menu__subheading {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1em;
}

.progress {
    height: 30px;
    background-color: var(--background);
}
.progress-bar {
    background-color: var(--main-color);
}

.button-menu__hamburger {
    font-size: 3em;
    color: var(--white);
}
.stackedpackage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: var(--spacing);
    margin-bottom: calc(var(--spacing) * 2);
    margin-top: var(--spacing);
    grid-auto-rows: 1fr;
}
.stackedpackage__cell {
    background: var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: background 0.15s, opacity 0.2s;
    cursor: pointer;
    color: unset;
    text-decoration: none;
    padding: calc(var(--spacing) * 1.5) 0 calc(var(--spacing) * 2.5);
    position: relative;
}
.stackedpackage__cell:hover,
.stackedpackage__cell:focus {
    background: var(--main-color);
    color: unset;
    text-decoration: none;
}
.stackedpackage__cell:has(.rem:not([hidden])):hover,
.stackedpackage__cell:has(.rem:not([hidden])):focus {
    background: var(--red-hover);
}
.stackedpackage__cell--image {
    background: unset;
}
.stackedpackage__cell--image:hover,
.stackedpackage__cell--image:focus {
    background: unset;
}
.stackedpackage__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.stackedpackage__amount {
    font-weight: bold;
    color: var(--white);
    font-size: 2em;
}
.stackedpackage__action {
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none !important;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--spacing);
    border-radius: 8px;
}

.stackedpackage__action[hidden] {
    display: none;
}

.stackedpackage__btn--buy {
    color: var(--main-color);
}

.stackedpackage__cell:hover .stackedpackage__btn--buy,
.stackedpackage__cell:focus .stackedpackage__btn--buy {
    color: unset;
}

.stackedpackage__btn--remove {
    color: var(--red-hover);
}

.stackedpackage__cell:hover .stackedpackage__btn--remove,
.stackedpackage__cell:focus .stackedpackage__btn--remove {
    color: unset;
}

.stackedpackage__cell.updating {
    pointer-events: none;
    opacity: 0.5;
}

.stackedpackage__cell.updating::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin: 4px auto 0;
    border: 2px solid var(--text);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: basket-spin 0.6s linear infinite;
}

/* ── Rank Table ── */

.ranktable-module:empty {
    padding: 40px;
    text-align: center;
    color: var(--text);
    font-size: 0.9em;
}

.ranktable-module:empty::before {
    content: "Rank table module is not installed.";
}


.ranktable-desktop { display: block; }
.ranktable-mobile { display: none; }

@media (max-width: 1300px) {
    .ranktable-desktop { display: none; }
    .ranktable-mobile { display: flex; flex-direction: column; gap: calc(var(--spacing) * 2); }
}

/* Desktop */
.ranktable-header {
    display: grid;
    border-bottom: 1px solid var(--border);
}

.ranktable-corner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: calc(var(--spacing) * 2);
    border-right: 1px solid var(--border);
    text-align: center;
}

.ranktable-corner__icon {
    font-size: 2em;
    color: var(--main-color);
}

.ranktable-corner__title {
    font-weight: 700;
    color: var(--white);
    font-size: 1em;
}

.ranktable-corner__text {
    color: var(--text);
    font-size: 0.75em;
    line-height: 1.4;
}

.ranktable-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing);
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 2);
    border-right: 1px solid var(--border);
}

.ranktable-rank:last-child {
    border-right: 0;
}

.ranktable-rank__img {
    width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.ranktable-rank__name {
    color: var(--white);
    font-weight: normal;
    font-size: 1.25em;
}

.ranktable-rank__price {
    font-weight: bold;
    font-size: 1.25em;
    color: white;
}

.ranktable-rank__price small {
    font-weight: 400;
    font-size: 0.75em;
    opacity: 0.6;
}

.ranktable-rank__price .discount {
    font-size: 0.85em;
    margin-right: 4px;
}


.ranktable-group {
    padding: 8px calc(var(--spacing) * 2);
    background: var(--border);
    font-weight: 700;
    font-size: 0.8em;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ranktable-row {
    display: grid;
    border-bottom: 1px solid var(--border);
}

.ranktable-row:last-child {
    border-bottom: 0;
}

.ranktable-label {
    padding: 10px calc(var(--spacing) * 2);
    color: var(--text);
    font-size: 0.9em;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.ranktable-cell {
    padding: 10px calc(var(--spacing) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: var(--white);
    border-right: 1px solid var(--border);
}

.ranktable-cell:last-child {
    border-right: 0;
}

.ranktable-check {
    color: var(--green);
    font-size: 1.15em;
}

.ranktable-cross {
    color: var(--text);
    opacity: 0.25;
    font-size: 1.15em;
}

/* Mobile Cards */
.ranktable-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.ranktable-card__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 1.5);
    padding: calc(var(--spacing) * 2);
}

.ranktable-card__btns {
    display: flex;
    gap: 8px;
}

.ranktable-card__summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px calc(var(--spacing) * 2);
    border-top: 1px solid var(--border);
    font-size: 0.85em;
    color: var(--text);
}

.ranktable-card__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border-top: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.8em;
    color: var(--text);
    transition: color 0.2s ease;
}

.ranktable-card__toggle:hover {
    color: var(--white);
}

.ranktable-card__chevron {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    display: inline-block;
}

.ranktable-card.open .ranktable-card__chevron {
    transform: rotate(180deg);
}

.ranktable-card__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.ranktable-card.open .ranktable-card__body {
    grid-template-rows: 1fr;
}

.ranktable-card__body-inner {
    overflow: hidden;
}

.ranktable-card__img {
    width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.ranktable-card__info {
    flex: 1;
    min-width: 0;
}

.ranktable-card__group {
    padding: 6px calc(var(--spacing) * 2);
    background: var(--border);
    font-weight: 700;
    font-size: 0.7em;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ranktable-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px calc(var(--spacing) * 2);
    border-top: 1px solid var(--border);
}

.ranktable-card__label {
    color: var(--text);
    font-size: 0.85em;
}

.ranktable-card__value {
    color: var(--white);
    font-size: 0.85em;
    font-weight: 500;
}

/* Updating state — handled via .updating-disable on buttons */

.patrons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing);
}
.patron {
    background: var(--border);
    border-radius: 8px;
    padding: var(--spacing);
    text-align: center;
    border: 1px solid rgb(255, 255, 255, 0.05);
}
.patron__skin > img {
    height: 100%;
    width: 50%;
    margin-bottom: -35%;
}
.patron__skin {
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin-bottom: calc(var(--spacing) * -1);
}
.patron__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.8rem;
}
.expire-badge {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 4px 16px;
    background: #e12323;
    width: max-content;
    border-radius: 8px;
    z-index: 15;
    color: #fff;
    font-size: 1.5rem;
}
@media (max-width: 576px) {
    .patrons,
    .stackedpackage {
        grid-template-columns: repeat(2, 1fr);
    }
}

.top-customer__avatar--square {
    height: 64px;
    margin: var(--spacing) 0;
}
.top-customer__avatar--square > img {
    height: 100%;
}
.player-basket__data--other {
    margin: calc(var(--spacing) * 2) 0;
}
.server:hover {
    text-decoration: none;
}

.chk {
    display: grid;
    align-items: baseline;
    grid-template-columns: 52% auto;
    gap: var(--spacing);
}

.summary {
    background: rgba(255, 255, 255, 0.01);
    padding: calc(var(--spacing) * 2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
}

@media (max-width: 1200px) {
    .chk {
        grid-template-columns: 1fr;
    }
    .chk > div:last-child {
        grid-row: 1;
    }
}

.summary__title {
    color: var(--white);
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.summary-stat {
    display: flex;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--spacing);
    border: var(--border) 1px solid;
    padding: var(--spacing) calc(var(--spacing) * 2);
    justify-content: space-between;
    align-items: center;
}
.summary-stat__icon {
    color: var(--color-accent);
    font-size: 18px;
}
.summary-stat__name {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.summary-stat__value {
    color: #fff;
    font-size: 12px;
}

.wrongaccount {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--spacing);
    border: var(--border) 1px solid;
    padding: 0 calc(var(--spacing) * 2);
    padding-top: var(--spacing);
}

.wrongaccount--noavatar {
    padding: var(--spacing) calc(var(--spacing) * 2);
}

.wrongaccount__name {
    color: var(--white);
    font-weight: bold;
    font-size: 1.2em;
}

.wrongaccount__logout {
    color: var(--main-color);
    text-decoration: underline;
}

.wrongaccount__avatar {
    height: 100px;
    overflow-y: clip;
}

.wrongaccount__avatar > img {
    height: 140px;
}

.button--check {
    background: var(--green);
    color: rgba(0, 0, 0, 0.65);
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.button--check > .mdi {
    color: rgba(0, 0, 0, 0.65);
}

.button--remove {
    background: #d4324675;
    color: var(--white);
    border: #d43246 1px solid;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button--info {
    background: transparent;
    color: var(--white);
    border: var(--main-color) 1px solid;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button--pinfo {
    background: var(--border);
    color: var(--white);
    border: rgba(255, 255, 255, 0.05) 1px solid;
    width: 54px;
    height: 44px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button--pinfo:hover {
    background: var(--panel);
}

.button--redeem {
    background: transparent;
    color: var(--main-color);
    border: var(--main-color) 2px solid;
    font-weight: bold;
}

.pkg {
    margin-bottom: var(--spacing);
    background: rgba(255, 255, 255, 0.01);
    padding: calc(var(--spacing) * 2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pkg__name {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.pkg__name:hover,
.pkg__name:focus {
    color: var(--main-color);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.justify-between {
    justify-content: space-between;
}

.modal {
    display: none;
}

.modal-spacer {
    margin: 0 calc(var(--spacing) * -4);
}
.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: var(--panel);
    border: 1px solid var(--border);
    padding: calc(var(--spacing) * 4);
    margin: 0 var(--spacing);
    width: 500px;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 8px;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

.modal__header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    gap: var(--spacing);
    margin-bottom: calc(var(--spacing) * 2);
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25em;
    line-height: 1.25;
    color: var(--main-color);
    box-sizing: border-box;
}

.login-popup-content {
    background: var(--panel) !important;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: calc(var(--spacing) * 3.5) !important;
}

.login-popup-content .modal__header {
    margin-bottom: 0;
    gap: calc(var(--spacing) * 0.75);
}

.login-popup-content .modal__header h2,
.login-popup-content .modal__header p {
    margin-bottom: 0;
}

.login-popup-content .modal-spacer {
    margin: calc(var(--spacing) * 2) calc(var(--spacing) * -3.5);
    border-top: 1px solid var(--border);
}

.login-popup-content .modal__content {
    margin-top: calc(var(--spacing) * 2);
}

.login-popup-content .modal__content form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1.5);
}

.login-popup-content .field {
    margin-bottom: 0;
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin-top: calc(var(--spacing) * 0.5);
}

.login-edition-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing);
    margin-bottom: calc(var(--spacing) * 2);
}

.login-edition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: calc(var(--spacing) * 1.5) var(--spacing);
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    cursor: pointer;
}

.login-edition:hover {
    border-color: var(--main-color);
    color: var(--white);
}

.login-edition.active {
    border-color: var(--main-color);
    background: rgba(76, 177, 208, 0.1);
    color: var(--white);
}

.login-edition__icon {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
}

.login-platform-prompt {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: calc(var(--spacing) * 1.5);
    border: 2px dashed var(--border);
    border-radius: 8px;
    opacity: 0.7;
}

/* Options popup (package config modal) */
.store-product-options {
    padding: calc(var(--spacing) * 3.5);
    padding-top: calc(var(--spacing) * 5);
}

.product-options-popup .popup-content.store-product-options {
    background: var(--panel) !important;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: calc(var(--spacing) * 3.5) !important;
    padding-top: calc(var(--spacing) * 5) !important;
    max-width: 480px;
}

.store-product-options .modal__header {
    margin-bottom: 0;
    gap: calc(var(--spacing) * 0.75);
}

.store-product-options .modal__content {
    margin-top: calc(var(--spacing) * 2);
}

.store-product-options .modal__content form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 1.5);
}

.store-product-options .field {
    margin-bottom: 0;
}

.store-product-options .form-label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: calc(var(--spacing) * 0.75);
}

.store-product-options .field-hint {
    font-size: 0.8em;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: calc(var(--spacing) * 0.75) !important;
}

.store-product-options .store-form select,
.store-product-options .store-form input[type="text"],
.store-product-options .store-form input[type="number"] {
    background: var(--background) !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text) !important;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 0;
    width: 100%;
    transition: border-color 0.15s;
}

.store-product-options .store-form select:focus,
.store-product-options .store-form input[type="text"]:focus,
.store-product-options .store-form input[type="number"]:focus {
    border-color: var(--main-color);
    outline: none;
}

.store-product-options .store-form select option {
    background: var(--panel);
    color: var(--text);
}

.store-product-options .field-inline {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    margin-bottom: 0;
}

.store-product-options .field-inline input {
    flex: 1;
}

.store-product-options .field-currency {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    white-space: nowrap;
}

.store-product-options .discord-field {
    padding: calc(var(--spacing) * 1.5);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.store-product-options .discord-connected,
.store-product-options .discord-required {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    font-size: 0.9em;
    color: var(--text);
}

.store-product-options .discord-connected .mdi,
.store-product-options .discord-required .mdi {
    font-size: 1.4em;
    color: #5865F2;
}

.store-product-options .discord-connected strong {
    color: var(--white);
}

.store-product-options .actions {
    position: static !important;
    bottom: unset !important;
    margin-top: calc(var(--spacing) * 1.5);
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    width: 100% !important;
}

.store-product-options .actions .button,
.store-product-options .actions .btn-primary,
.store-product-options .actions .btn-secondary {
    width: 100% !important;
    justify-content: center;
}

.store-product-options .actions .btn-primary {
    background: var(--main-color) !important;
    color: var(--white) !important;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.store-product-options .actions .btn-primary:hover {
    background: var(--color-accent) !important;
}

.store-product-options .actions .btn-secondary {
    background: var(--background) !important;
    color: var(--text) !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.store-product-options .actions .btn-secondary:hover {
    border-color: var(--main-color);
    color: var(--white) !important;
}

.store-product-options .options-link-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.85em;
    color: var(--text) !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.store-product-options .options-link-text:hover {
    color: var(--main-color) !important;
}

.store-product-options .product-title {
    display: none;
}

.store-product-options .actions.updating::before {
    filter: brightness(0) invert(1);
}

.modal__desc {
    font-size: 0.85em;
    color: var(--text);
    text-align: center;
}

.modal__close {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--border);
    width: 40px;
    height: 40px;
    border-radius: 0 8px 0 8px;
    font-weight: bold;
    font-size: 16px;
    color: var(--white);
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 1;
}

.modal__close:hover {
    background: var(--background);
}

.modal__header .modal__close:before {
    content: "\2715";
}

.modal__content {
    margin-top: calc(var(--spacing) * 2);
    line-height: 1.5;
}

.modal__btn {
    font-size: 0.875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #e6e6e6;
    border-radius: 0.25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    transition:
        transform 0.25s ease-out,
        -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.bedrock-notice {
    font-size: 11px;
    color: var(--text);
    display: none;
}

.bedrock-notice.show {
    display: block;
}

.bedrock-switcher {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 16px;
}

.bedrock-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mb-0\! {
    margin-bottom: 0 !important;
}

.items-center {
    align-items: center;
}

.bedrock-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    border: var(--border) 1px solid;
    transition: 0.4s;
    border-radius: 6px;
}

.bedrock-slider:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 12px;
    left: 0px;
    bottom: 0px;
    background-color: #ce3636;
    border: 1px solid #ce4c4c;
    transition: 0.4s;
    border-radius: 4px;
}

.vertical-spacer {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.gap-5px {
    gap: 5px;
}
.bedrock-switcher input:checked + .bedrock-slider:before {
    background-color: #46d376;
    border: 1px solid #6dd992;
}

.bedrock-switcher input:checked + .bedrock-slider:before {
    transform: translateX(13px);
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

.justify-center {
    justify-content: center;
}

.hidden {
    display: none;
}

.form-label {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: var(--main-color);
}

.navigation__item--tag {
    border: var(--main-color) 3px solid;
    position: relative;
}
.nav-tag {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--main-color);
    padding: 2px calc(var(--spacing) * 2);
    border-bottom-left-radius: 6px;
    font-size: 16px;
}

.mc-login-input-wrapper {
    position: relative;
    display: flex;
}

.mc-login-input-wrapper input.input {
    padding-left: 48px !important;
    width: 100%;
    height: 46px;
    background: var(--background) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-size: 14px;
    margin-bottom: 0 !important;
}

.mc-login-avatar {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
    image-rendering: pixelated;
}

.btn--loading .btn__text {
    opacity: 0;
}

.btn__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn--loading .btn__spinner {
    opacity: 1;
}

.btn__text {
    display: flex;
    align-items: center;
    gap: var(--spacing);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.skeleton-loader {
    width: 100%;
    background-color: var(--panel);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skeleton-item {
    background-color: var(--border);
    height: 20px;
    margin-bottom: 12px;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-item:last-child {
    margin-bottom: 0;
}

.skeleton-item.title {
    width: 80%;
    height: 28px;
}

.skeleton-item.text {
    width: 100%;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
    }
}

body {
    font-family: Lato, sans-serif;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: 400px;
    z-index: -1;
    background: var(--bg-image) center center/cover no-repeat;
    mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    border-radius: 2px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
    box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
    border-radius: 5px;
}

.site-header-inner .info .image {
    border-radius: 5px;
}
.site-header-inner .user-name ul li {
    overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.site-header-inner .open-basket.basket-pulse {
    animation: basketPulse 0.5s ease;
}

@keyframes basketPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.site-sale-banner {
    border-radius: 5px;
}

.site-home-categories .category {
    border-radius: 5px;
    padding: 20px var(--widget-padding);
    background: var(--color-brighter-bg);
    transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
    color: var(--color-primary);
}

.category-description {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-text {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
    text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-products-images .store-product {
    text-align: center;
}

.widget-title {
    text-align: center;
}

.widget .store-product {
    text-align: center;
}

.no-products {
    color: var(--color-text-secondary);
    background: var(--color-brighter-bg);
    border-radius: 5px;
}

.store-product-full {
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--border);
}

/* Package page — both popup and standalone */
.store-product-full {
    display: grid !important;
    grid-template:
        "image descr" auto
        "title descr" auto
        "actions descr" 1fr
        / 200px 1fr !important;
    gap: var(--spacing) calc(var(--spacing) * 3) !important;
    padding: calc(var(--spacing) * 2.5) !important;
    padding-bottom: calc(var(--spacing) * 2.5) !important;
}

@media (max-width: 600px) {
    .store-product-full {
        grid-template:
            "image" auto
            "title" auto
            "actions" auto
            "descr" auto
            / 1fr !important;
    }

    .store-product-full .image {
        max-width: 180px;
        margin: 0 auto;
    }
}

.store-product-full .image {
    grid-area: image;
    border-radius: 8px;
    width: 100%;
}

.store-product-full .product-title {
    grid-area: title;
    color: var(--white);
    font-size: 20px;
    margin: 0;
    text-align: center;
    align-self: start;
}

.store-product-full .actions {
    grid-area: actions;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    flex-direction: column !important;
    align-items: center !important;
    align-self: start;
}

.store-product-full .actions .gridpackage__price {
    color: var(--white);
    font-size: 18px;
    text-align: center;
    width: 100%;
}

.store-product-full .actions .gridpackage__price .discount {
    color: var(--text);
}

.store-product-full .actions .d-flex {
    flex-direction: column;
    width: 100%;
}

.store-product-full .actions .button,
.store-product-full .actions button.gift {
    width: 100% !important;
    max-width: none !important;
    justify-content: center;
}

.store-product-full .descr {
    grid-area: descr;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    background: var(--background);
    border-radius: 8px;
    padding: calc(var(--spacing) * 2);
}

.store-product .quantity-field {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type="number"] {
    border: none;
}

@media (width > 960px) {
    .navigation-horizontal > ul {
        border-radius: 5px;
    }
}
.navigation-horizontal .has-children > ul {
    border-radius: 5px;
}

.widget {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}
@media (width <= 960px) {
    .widget.site-navigation {
        border-radius: 0;
        background: transparent;
    }
}

.widget-gift-card .gift-card-input {
    border-radius: 2px;
}

.widget-top-donator .avatar {
    border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
    border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
    border-radius: 2px;
}

.popup-content {
    border-radius: 8px;
    background: var(--panel) !important;
    border: 1px solid var(--border);
}

.popup-close {
    border-radius: 0 8px 0 8px;
    background-color: var(--border) !important;
    opacity: 1 !important;
}

.popup-close:hover {
    background-color: var(--background) !important;
}

.store-product button.gift {
    border-radius: 8px;
    background: var(--background) !important;
    background-image: none !important;
    border: 1px solid var(--border);
    min-height: 46px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.15s, color 0.15s;
}

.store-product button.gift::before {
    content: '';
    width: 16px;
    height: 16px;
    background: url("https://webstore-template-assets.tebex.io/images/gift.svg") center / contain no-repeat;
    filter: invert(1);
    flex-shrink: 0;
}

.store-product button.gift:hover,
.store-product button.gift:focus {
    border-color: var(--main-color);
    color: var(--white);
    outline: none;
    box-shadow: none;
}

.store-product button.gift:hover::before {
    opacity: 1;
}

/* Gift form popup */
.gift-form-popup .popup-content {
    padding: calc(var(--spacing) * 3.5) !important;
    max-width: 480px;
    display: flex !important;
    flex-direction: column !important;
    gap: calc(var(--spacing) * 1.5) !important;
}

.gift-form-popup .popup-content h2 {
    font-size: 1.2em !important;
    color: var(--text) !important;
    margin: 0 !important;
}

.gift-form-popup .popup-content input[type="text"] {
    background: var(--background) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    color: var(--text) !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    transition: border-color 0.15s;
}

.gift-form-popup .popup-content input[type="text"]:focus {
    border-color: var(--main-color) !important;
    outline: none !important;
}

.gift-form-popup .popup-content .actions {
    position: static !important;
    bottom: unset !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gift-form-popup .popup-content .actions button,
.gift-form-popup .popup-content .actions .button {
    background: var(--main-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    width: 100% !important;
    cursor: pointer;
    transition: background 0.2s;
}

.gift-form-popup .popup-content .actions button:hover,
.gift-form-popup .popup-content .actions .button:hover {
    background: var(--main-color-hover) !important;
}

/* Product popup */
.store-product-popup-content {
    max-width: 800px;
}

.store-product-full.popup-content {
    padding: calc(var(--spacing) * 3) !important;
}

@media (width > 600px) {
    .store-product-full.popup-content {
        display: grid;
        grid-template:
            "image title" auto
            "image descr" 1fr
            "image actions" auto
            / 200px 1fr;
        gap: calc(var(--spacing) * 2);
    }

    .store-product-full.popup-content .image,
    .store-product-full.popup-content .image-link {
        grid-area: image;
    }

    .store-product-full.popup-content .product-title {
        grid-area: title;
        align-self: end;
    }

    .store-product-full.popup-content .descr {
        grid-area: descr;
    }

    .store-product-full.popup-content .actions {
        grid-area: actions;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        backdrop-filter: none !important;
    }
}

@media (width <= 600px) {
    .store-product-full.popup-content .actions {
        background: var(--panel) !important;
    }
}

.store-product-full.popup-content .image {
    border-radius: 8px;
    width: 100%;
}

.store-product-full.popup-content .product-title {
    color: var(--white);
    font-size: 22px;
}

.store-product-full.popup-content .descr {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.store-product-full.popup-content .gridpackage__price {
    color: var(--white);
    font-size: 18px;
}

.store-product-full.popup-content .gridpackage__price .discount {
    color: var(--text);
}

.store-product-full.popup-content .actions .button,
.store-product-full.popup-content .actions .btn-primary,
.store-product-full.popup-content .actions .btn-secondary,
.store-product-full.popup-content .actions .btn-tertiary {
    border-radius: 8px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
    border-radius: 0;
}

.basket-popup-content {
    background: var(--panel);
}

.basket a,
.basket a:hover,
.basket a:focus,
.basket a:active,
.player-basket a,
.player-basket a:hover,
.player-basket a:focus,
.player-basket a:active,
.basket-popup a,
.basket-popup a:hover,
.basket-popup a:focus,
.basket-popup a:active {
    text-decoration: none !important;
}

.basket-popup-content.updating::before {
    background-color: var(--panel);
}

.basket .basket-header {
    background: var(--background-transparent);
}

.basket .basket-second-header {
    background: var(--border);
}

.basket-items {
    padding: var(--widget-padding)
        calc(var(--content-padding) - var(--widget-padding));
}

.basket .basket-item {
    background: var(--border);
    border-radius: 5px;
}

.basket .basket-item .title {
    color: var(--white);
}

.basket .basket-item .price {
    color: var(--color-accent);
}

.basket .basket-item .price strong {
    color: var(--color-accent);
}

.basket .basket-checkout .total {
    color: var(--color-accent);
}

.basket .basket-checkout .total strong {
    color: var(--color-accent);
}

.basket .basket-empty,
.basket-popup-content > .basket-empty {
    color: var(--text);
    text-align: center;
    padding: 56px 24px;
    font-size: 1.4em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.basket-popup-content > .basket-empty::before {
    content: "\F01B4";
    font-family: "Material Design Icons";
    font-size: 2.8em;
    color: var(--white);
}

.basket-item .quantity {
    border-radius: 2px;
}

.toaster {
    max-width: 380px;
    left: 0;
    right: auto;
    margin: 0;
    padding: 0 var(--widget-padding);
}

.toast {
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    height: auto;
    padding: 12px 12px 12px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: none;
    overflow: hidden;
}

.toast.toast-exit {
    animation: toastOut 0.3s cubic-bezier(0.4, 0, 1, 1) both;
}

.toast[hidden] {
    display: none;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
}

.toast p {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.toast-icon {
    flex: none;
    font-size: 18px;
    line-height: 1;
}

.toast.toast-success .toast-icon { color: #4caf50; }
.toast.toast-error .toast-icon { color: #e53935; }
.toast.toast-warning .toast-icon { color: #f9a825; }
.toast.toast-info .toast-icon { color: var(--main-color); }

.toast.toast-success,
.toast.toast-error,
.toast.toast-warning {
    background: var(--panel);
}

.toast-action {
    flex: none;
    padding: 4px 10px;
    border-radius: 6px;
    border: 0;
    background: var(--border);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.toast-action:hover {
    background: var(--main-color);
}

.toast-close {
    border-radius: 6px;
    width: 24px;
    height: 24px;
    background-size: 12px;
    opacity: 0.3;
}

.store-category-tiered {
    border-radius: 5px;
    background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
    text-align: center;
}

.store-product-tiered {
    border-radius: 5px;
    background: rgb(from var(--color-bg) r g b/0.5);
}
