:root {

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #202027;

    background: #f6f6f8;

    --primary: #6c4df6;
    --primary-dark: #5940d8;

    --border: #e6e6eb;

    --muted: #777780;

    --green: #15905a;

    --red: #b42318;

    --sidebar-width: 250px;

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {

    margin: 0;

    min-height: 100vh;

    background: #f6f6f8;

    color: #202027;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    cursor: pointer;

}


a {
    color: inherit;
}


/* =========================================================
   APP
   ========================================================= */

.app-shell {

    min-height: 100vh;

    display: flex;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

    position: fixed;

    left: 0;

    top: 0;

    bottom: 0;

    width: var(--sidebar-width);

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border-right: 1px solid var(--border);

    z-index: 100;

}


.sidebar-brand {

    padding: 24px 20px;

    border-bottom: 1px solid #eeeeF2;

}


.brand-link {

    display: flex;

    align-items: center;

    gap: 12px;

    color: inherit;

    text-decoration: none;

}


.brand-icon {

    width: 40px;

    height: 40px;

    flex: 0 0 40px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: #f0edff;

    font-size: 20px;

}


.brand-title {

    font-size: 15px;

    font-weight: 800;

    letter-spacing: -0.01em;

}


.brand-subtitle {

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   SIDEBAR NAV
   ========================================================= */

.sidebar-nav {

    flex: 1;

    padding: 22px 12px;

}


.nav-section-title {

    margin: 0 10px 8px;

    color: #9a9aa2;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.1em;

}


.nav-link {

    display: flex;

    align-items: center;

    gap: 11px;

    width: 100%;

    margin-bottom: 4px;

    padding: 11px 12px;

    border-radius: 10px;

    color: #60606a;

    text-decoration: none;

    font-size: 13px;

    font-weight: 650;

    transition:
        background 0.15s ease,
        color 0.15s ease;

}


.nav-link:hover {

    background: #f5f4f9;

    color: #292931;

}


.nav-link.active {

    color: var(--primary);

    background: #f0edff;

}


.nav-icon {

    width: 22px;

    text-align: center;

    font-size: 16px;

}


/* =========================================================
   SIDEBAR USER
   ========================================================= */

.sidebar-user {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 16px;

    border-top: 1px solid #eeeeF2;

}


.sidebar-user-avatar {

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--primary);

    font-size: 13px;

    font-weight: 800;

}


.sidebar-user-info {

    min-width: 0;

}


.sidebar-user-info strong {

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 12px;

}


.sidebar-user-info span {

    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   MAIN
   ========================================================= */

.main-content {

    width: calc(100% - var(--sidebar-width));

    min-width: 0;

    min-height: 100vh;

    margin-left: var(--sidebar-width);

    display: flex;

    flex-direction: column;

}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {

    position: sticky;

    top: 0;

    z-index: 50;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 28px;

    background: rgba(255,255,255,0.94);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

}


.topbar-left {

    display: flex;

    align-items: center;

}


.topbar-right {

    display: flex;

    align-items: center;

    gap: 10px;

}


.mobile-menu-button {

    display: none;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: white;

    font-size: 20px;

}


/* =========================================================
   ACCOUNT
   ========================================================= */

.account-menu {

    position: relative;

}


.account-button {

    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 42px;

    padding: 5px 9px 5px 6px;

    border: 1px solid transparent;

    border-radius: 10px;

    background: transparent;

    color: #292931;

}


.account-button:hover {

    background: #f6f6f8;

    border-color: var(--border);

    box-shadow: none;

    transform: none;

}


.topbar-user-avatar {

    width: 32px;

    height: 32px;

    flex: 0 0 32px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--primary);

    font-size: 12px;

    font-weight: 800;

}


.account-name {

    max-width: 150px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 700;

}


.account-chevron {

    color: #8b8b94;

    font-size: 13px;

}


.account-dropdown {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    width: 230px;

    padding: 7px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 13px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);

    display: none;

}


.account-dropdown.open {

    display: block;

}


.account-dropdown-header {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 9px;

}


.account-dropdown-avatar {

    width: 38px;

    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--primary);

    font-size: 13px;

    font-weight: 800;

}


.account-dropdown-header strong {

    display: block;

    font-size: 13px;

}


.account-dropdown-header span {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

}


.account-dropdown-divider {

    height: 1px;

    margin: 5px 3px;

    background: #eeeeF2;

}


.account-dropdown-link {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    padding: 10px;

    border-radius: 8px;

    color: #303039;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

}


.account-dropdown-link:hover {

    background: #f5f5f8;

}


.account-dropdown-link.danger {

    color: var(--red);

}


/* =========================================================
   PAGE
   ========================================================= */

.page-content {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding: 30px 28px 60px;

    flex: 1;

}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 28px;

    color: #9999a2;

    border-top: 1px solid var(--border);

    font-size: 11px;

}


/* =========================================================
   FLASH
   ========================================================= */

.flash-container {

    position: fixed;

    top: 76px;

    right: 22px;

    width: min(420px, calc(100vw - 30px));

    z-index: 200;

}


.flash-message {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 8px;

    padding: 12px 14px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: white;

    box-shadow: 0 10px 30px rgba(0,0,0,0.10);

    font-size: 13px;

}


.flash-message.success {

    border-color: #ccebdc;

}


.flash-message.error {

    border-color: #f2cccc;

}


.flash-message.warning {

    border-color: #f0dfb8;

}


.flash-icon {

    flex: 0 0 auto;

}


.flash-message.fade-out {

    opacity: 0;

    transform: translateY(-5px);

    transition:
        opacity .3s ease,
        transform .3s ease;

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;

}


.eyebrow {

    margin-bottom: 6px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .1em;

}


.hero h1 {

    margin: 0 0 6px;

    font-size: 31px;

    line-height: 1.15;

    letter-spacing: -.035em;

}


.hero p {

    margin: 0;

}


.muted {

    color: var(--muted);

}


.small {

    font-size: 12px;

}


/* =========================================================
   BUTTONS
   ========================================================= */

.button,
button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #ddddE5;

    border-radius: 9px;

    background: white;

    color: #22222a;

    padding: 9px 13px;

    text-decoration: none;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;

}


.button:hover,
button:hover {

    transform: translateY(-1px);

    box-shadow: 0 3px 10px #0000000c;

}


.primary {

    color: white;

    background: var(--primary);

    border-color: var(--primary);

}


.primary:hover {

    color: white;

    background: var(--primary-dark);

    border-color: var(--primary-dark);

}


/* =========================================================
   CARDS
   ========================================================= */

.card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: 0 3px 15px #00000008;

}


/* =========================================================
   STATS
   ========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 32px;

}


.stat-card {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 17px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

}


.stat-icon {

    width: 40px;

    height: 40px;

    flex: 0 0 40px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    font-size: 17px;

}


.stat-icon.purple {
    background: #eeeaff;
}


.stat-icon.green {
    background: #e8f8ef;
}


.stat-icon.blue {
    background: #e9f2ff;
}


.stat-value {

    font-size: 20px;

    line-height: 1;

    font-weight: 800;

}


.stat-label {

    margin-top: 4px;

    color: var(--muted);

    font-size: 12px;

}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {

    margin-top: 32px;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 14px;

}


.section-heading h2 {

    margin: 0;

    font-size: 20px;

}


.section-heading p {

    margin: 3px 0 0;

    font-size: 13px;

}


/* =========================================================
   ALERTS
   ========================================================= */

.alert-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(300px, 1fr)
        );

    gap: 12px;

}


.alert-card {

    padding: 16px;

    transition:
        opacity .2s ease,
        transform .2s ease;

}


.alert-card.is-disabled {

    opacity: .68;

}


.alert-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 12px;

}


.alert-title {

    min-width: 0;

}


.title-row {

    display: flex;

    align-items: center;

    gap: 7px;

    min-width: 0;

}


.alert-header h2 {

    margin: 0;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 17px;

    line-height: 1.3;

}


.query-line {

    margin: 4px 0 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 12px;

}


.new-badge {

    flex: 0 0 auto;

    padding: 3px 7px;

    border-radius: 999px;

    color: #137344;

    background: #e8f8ef;

    font-size: 10px;

    font-weight: 800;

}


/* =========================================================
   ALERT MENU
   ========================================================= */

.alert-menu {

    position: relative;

    flex: 0 0 auto;

}


.icon-button {

    width: 34px;

    height: 34px;

    padding: 0;

    border-radius: 9px;

    font-size: 21px;

}


.dropdown-menu {

    position: absolute;

    right: 0;

    top: calc(100% + 6px);

    width: 190px;

    padding: 5px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 11px;

    box-shadow: 0 10px 30px #00000018;

    z-index: 30;

    display: none;

}


.dropdown-menu.open {

    display: block;

}


.dropdown-menu a,
.dropdown-menu button {

    width: 100%;

    display: flex;

    justify-content: flex-start;

    padding: 9px 10px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    box-shadow: none;

    transform: none;

    font-size: 13px;

    text-decoration: none;

    color: #292931;

}


.dropdown-menu a:hover,
.dropdown-menu button:hover {

    background: #f4f4f7;

    box-shadow: none;

}


.dropdown-menu form {

    margin: 0;

}


.dropdown-menu .danger-menu {

    color: var(--red);

}


/* =========================================================
   STATUS
   ========================================================= */

.alert-status-row {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 13px;

}


.status {

    display: inline-flex;

    align-items: center;

    height: 24px;

    padding: 0 8px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 800;

}


.status.active {

    color: #137344;

    background: #e8f8ef;

}


.status.inactive {

    color: #777;

    background: #eeeeF2;

}


.interval {

    color: #85858d;

    font-size: 11px;

}


.chips {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin: 12px 0;

}


.chips span {

    padding: 5px 8px;

    border-radius: 999px;

    color: #5f5f68;

    background: #f1f1f5;

    font-size: 11px;

}


.alert-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: 4px;

}


.last-check {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 5px;

    color: #85858d;

    font-size: 11px;

}


.last-check span:last-child {

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}


/* =========================================================
   SWITCH
   ========================================================= */

.toggle-form {

    margin: 0;

}


.switch {

    position: relative;

    width: 43px;

    height: 25px;

    flex: 0 0 43px;

    padding: 0;

    border: 0;

    border-radius: 999px;

    background: #d7d7df;

}


.switch:hover {

    transform: none;

    box-shadow: none;

}


.switch-thumb {

    position: absolute;

    top: 3px;

    left: 3px;

    width: 19px;

    height: 19px;

    border-radius: 50%;

    background: white;

    box-shadow: 0 1px 3px #00000025;

    transition: transform .18s ease;

}


.switch.on {

    background: var(--primary);

}


.switch.on .switch-thumb {

    transform: translateX(18px);

}


/* =========================================================
   ERROR
   ========================================================= */

.error {

    margin-top: 11px;

    padding: 9px;

    border-radius: 8px;

    color: #a32121;

    background: #fff1f1;

    font-size: 11px;

}


/* =========================================================
   FORMS
   ========================================================= */

.form-wrapper {

    max-width: 650px;

    margin: 0 auto;

}


.form-wrapper h1 {

    margin-bottom: 5px;

}


.form-wrapper > p {

    margin-top: 0;

}


.form-card {

    max-width: 700px;

    margin: 25px auto 0;

    padding: 25px;

}


.form-card label {

    display: grid;

    gap: 7px;

    margin-bottom: 18px;

    font-size: 14px;

    font-weight: 650;

}


.form-card input,
.form-card select,
.form-card textarea {

    width: 100%;

    padding: 11px;

    border: 1px solid #dcdce4;

    border-radius: 10px;

    background: white;

    outline: none;

}


.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px #6c4df618;

}


.help {

    color: #85858d;

    font-size: 12px;

    font-weight: 400;

}


.form-row,
.two-columns {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}


.form-actions {

    display: flex;

    justify-content: flex-end;

    gap: 8px;

    margin-top: 8px;

}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 10px;

}


.product {

    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    padding: 11px;

    overflow: hidden;

}


.product-image {

    width: 68px;

    height: 68px;

    flex: 0 0 68px;

    display: grid;

    place-items: center;

    overflow: hidden;

    border-radius: 10px;

    background: #f0f0f4;

    font-size: 25px;

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.product-info {

    min-width: 0;

    padding-right: 22px;

}


.product-meta {

    display: flex;

    gap: 8px;

    min-width: 0;

    margin-bottom: 3px;

}


.product-meta .muted {

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.product-info h3 {

    margin: 0 0 5px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 14px;

    line-height: 1.3;

}


.product-bottom {

    display: flex;

    align-items: center;

    gap: 7px;

}


.product-price {

    font-size: 14px;

}


.product-brand {

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #777780;

    font-size: 11px;

}


.product-link {

    position: absolute;

    right: 12px;

    top: 50%;

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

    transform: translateY(-50%);

    border-radius: 8px;

    color: #6c4df6;

    background: #f0edff;

    text-decoration: none;

    font-size: 18px;

    font-weight: 700;

}


/* =========================================================
   PRODUCTS PAGE
   ========================================================= */

.products-page-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin: 0 0 15px;

}


.products-count {

    color: #777780;

    font-size: 13px;

}


.products-count strong {

    color: #202027;

    font-size: 16px;

}


.products-page {

    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;

}


.product-large {

    display: flex;

    align-items: stretch;

    gap: 18px;

    min-height: 170px;

    padding: 14px;

}


.product-large-image {

    width: 145px;

    min-width: 145px;

    height: 145px;

    display: grid;

    place-items: center;

    overflow: hidden;

    border-radius: 12px;

    background: #f0f0f4;

    font-size: 40px;

}


.product-large-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.product-large-info {

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

}


.product-large-meta {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;

    margin-bottom: 8px;

}


.alert-tag {

    max-width: 300px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    padding: 5px 8px;

    border-radius: 999px;

    color: #5940d8;

    background: #f0edff;

    font-size: 11px;

    font-weight: 700;

}


.product-large-info h2 {

    margin: 0 0 10px;

    font-size: 20px;

    line-height: 1.3;

}


.product-details {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 15px;

    color: #65656e;

    font-size: 13px;

}


.product-details strong {

    color: #202027;

    font-size: 19px;

}


.product-vinted-button {

    margin-top: auto;

}


/* =========================================================
   EMPTY
   ========================================================= */

.empty {

    grid-column: 1 / -1;

    padding: 50px 20px;

    text-align: center;

}


.empty-icon {

    margin-bottom: 8px;

    font-size: 38px;

}


.empty h2 {

    margin: 0 0 5px;

}


.empty p {

    margin: 0 0 18px;

}


/* =========================================================
   SETTINGS
   ========================================================= */

.settings-card {

    max-width: 700px;

    margin: 0 auto;

    padding: 24px;

}


.settings-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    padding-bottom: 22px;

    border-bottom: 1px solid #eeeeF2;

}


.settings-header h2 {

    margin: 0 0 5px;

    font-size: 20px;

}


.settings-header p {

    margin: 0;

    font-size: 13px;

}


.settings-form {

    display: grid;

    gap: 18px;

    padding-top: 22px;

}


.settings-form label {

    display: grid;

    gap: 7px;

    font-size: 14px;

    font-weight: 650;

}


.settings-form input {

    width: 100%;

    padding: 12px;

    border: 1px solid #dcdce4;

    border-radius: 10px;

    background: white;

}


.telegram-test {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeF2;

}


.telegram-test p {

    margin: 4px 0 0;

    font-size: 12px;

}


/* =========================================================
   SIDEBAR OVERLAY
   ========================================================= */

.sidebar-overlay {

    position: fixed;

    inset: 0;

    z-index: 90;

    background: rgba(0,0,0,.35);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;

}


.sidebar-overlay.visible {

    opacity: 1;

    visibility: visible;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    :root {

        --sidebar-width: 250px;

    }


    .sidebar {

        transform: translateX(-100%);

        transition:
            transform .22s ease;

        box-shadow: 10px 0 30px rgba(0,0,0,.12);

    }


    .sidebar.mobile-open {

        transform: translateX(0);

    }


    .main-content {

        width: 100%;

        margin-left: 0;

    }


    .mobile-menu-button {

        display: inline-flex;

    }


    .topbar {

        height: 58px;

        padding: 0 14px;

    }


    .page-content {

        padding:
            22px 14px 50px;

    }


    .footer {

        padding:
            18px 14px;

        flex-direction: column;

        gap: 5px;

    }


    .account-name {

        display: none;

    }


    .account-button {

        padding-right: 4px;

    }


    .account-dropdown {

        right: 0;

        width: 220px;

    }


    .hero {

        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 20px;

    }


    .hero h1 {

        font-size: 27px;

    }


    .hero-button {

        width: 100%;

    }


    .stats-grid {

        grid-template-columns: 1fr 1fr;

        gap: 8px;

        margin-bottom: 25px;

    }


    .stat-card {

        padding: 12px;

    }


    .stat-card:last-child {

        grid-column: 1 / -1;

    }


    .alert-grid {

        grid-template-columns: 1fr;

    }


    .products {

        grid-template-columns: 1fr;

    }


    .section-heading {

        align-items: flex-start;

    }


    .section-heading h2 {

        font-size: 18px;

    }


    .two-columns,
    .form-row {

        grid-template-columns: 1fr;

    }


    .form-card {

        padding: 18px;

    }


    .form-actions {

        flex-direction: column-reverse;

    }


    .form-actions .button,
    .form-actions button {

        width: 100%;

    }


    .product-large {

        flex-direction: column;

        padding: 10px;

        gap: 13px;

    }


    .product-large-image {

        width: 100%;

        height: 220px;

    }


    .product-large-info {

        padding: 4px 4px 8px;

    }


    .product-large-meta {

        width: 100%;

        justify-content: space-between;

    }


    .alert-tag {

        max-width: 55%;

    }


    .product-large-info h2 {

        font-size: 17px;

    }


    .product-vinted-button {

        width: 100%;

        margin-top: 3px;

    }


    .settings-card {

        padding: 18px;

    }


    .settings-header {

        flex-direction: column;

    }


    .telegram-test {

        align-items: stretch;

        flex-direction: column;

    }


    .telegram-test .button {

        width: 100%;

    }

}


@media (max-width: 380px) {

    .brand-text {

        display: none;

    }


    .stats-grid {

        grid-template-columns: 1fr;

    }


    .stat-card:last-child {

        grid-column: auto;

    }


    .account-dropdown {

        right: -5px;

        width: 210px;

    }

}
