@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f7fd;
    color: #12243c;
}

a {
    color: #0f4ab8;
    text-decoration: none;
}

.container {
    width: min(1180px, 94%);
    margin: 0 auto;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #d6e1f3;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
}

.brand {
    display: flex;
    gap: 4px;
    align-items: center;
    min-width: 0;
}

.brand-copy {
    margin-left: -9px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 64px;
    flex: 0 0 88px;
    overflow: hidden;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
    transform: scale(1.08);
    transform-origin: left center;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f4ab8, #2a7fff);
    color: #fff;
    display: grid;
    place-content: center;
    font-weight: 700;
}

.logo-wrap {
    overflow: hidden;
    padding: 0;
}

.logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand h1 {
    margin: 0;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
    line-height: 1.15;
}

.brand p {
    margin: 2px 0 0;
    color: #5a6f8f;
    font-size: clamp(0.72rem, 1.45vw, 0.86rem);
    line-height: 1.2;
}

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.92rem;
}

.btn-primary {
    background: #0f4ab8;
    color: #fff;
}

.btn-secondary {
    background: #dce8ff;
    color: #12377b;
}

.membership-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid #5d4c28;
}

.membership-chip.vip {
    background: linear-gradient(120deg, #d7ae5f, #f2d489);
    color: #1f1406;
}

.membership-chip.member {
    background: linear-gradient(120deg, #2b3038, #5a6270);
    color: #dde3ed;
}

.membership-chip.premium {
    background: linear-gradient(120deg, #3f3a2f, #6a614d);
    color: #f2dfb5;
}

.content {
    padding: 18px 0 30px;
}

.card {
    background: #fff;
    border: 1px solid #d6e1f3;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}

.hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .price {
    font-size: 2rem;
    font-weight: 700;
}

.hero .delta.positive {
    color: #118653;
}

.hero .delta.negative {
    color: #bd2d2d;
}

.muted {
    color: #5a6f8f;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.stat {
    border: 1px solid #d6e1f3;
    border-radius: 12px;
    padding: 12px;
}

.stat h3 {
    margin: 0 0 6px;
    font-size: 0.9rem;
    color: #5a6f8f;
}

.stat p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    border-bottom: 1px solid #d6e1f3;
    text-align: left;
    padding: 9px;
}

th {
    background: #ecf3ff;
}

.flash {
    margin-bottom: 12px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.92rem;
}

.flash.success {
    background: #e6f9f0;
    border: 1px solid #bdebd3;
    color: #146b46;
}

.flash.error {
    background: #ffefef;
    border: 1px solid #ffd5d5;
    color: #992828;
}

form.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: #26477b;
}

input,
select,
textarea {
    border: 1px solid #cfdcf3;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.96rem;
}

textarea {
    min-height: 86px;
}

.full {
    grid-column: 1 / -1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 14px;
}

.sidebar a {
    display: block;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 8px;
    background: #edf3ff;
}

.sidebar a.active {
    background: #0f4ab8;
    color: #fff;
}

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

.market-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    background: linear-gradient(128deg, #ffffff 0%, #f5f9ff 72%);
}

.hero-copy h2 {
    margin: 10px 0 8px;
    font-size: 1.95rem;
}

.live-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0f4ab8;
    background: #e7f0ff;
}

.hero-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ticker-panel {
    border: 1px solid #d6e1f3;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    align-self: center;
}

.ticker-panel .symbol {
    color: #536a8f;
    font-weight: 600;
}

.ticker-panel .price {
    margin: 8px 0 5px;
    font-size: 2.15rem;
    font-weight: 700;
}

.ticker-panel .delta {
    font-weight: 700;
    margin-bottom: 8px;
}

.market-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.metric-card {
    margin-bottom: 0;
}

.metric-card h3 {
    margin: 0 0 8px;
    color: #61779b;
    font-size: 0.9rem;
}

.metric-card p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.market-panels {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.panel-head h2 {
    margin: 0 0 6px;
}

.range-pill {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #cbd9f0;
    font-size: 0.8rem;
    color: #34588f;
    background: #f2f7ff;
    white-space: nowrap;
}

.chart-card {
    min-height: 430px;
}

.market-panels.market-panels-stack {
    grid-template-columns: 1fr;
    gap: 10px;
}

.chart-card.chart-card-wide {
    min-height: 0;
}

.news-card.news-card-stacked {
    min-height: 0;
}

#goldChart,
#silverChart {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
}

.news-card {
    min-height: 430px;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-list li {
    border: 1px solid #d7e3f6;
    border-radius: 11px;
    padding: 10px;
    background: #fafcff;
}

.news-list a {
    color: #133e8f;
    font-weight: 600;
    line-height: 1.35;
}

.news-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #6a7f9f;
    gap: 8px;
}

.market-table th {
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    color: #456597;
}

.strategy-card {
    margin-bottom: 0;
}

.strategy-card h3 {
    margin: 0 0 8px;
}

.positive {
    color: #128252;
}

.negative {
    color: #bf2b2b;
}

@media (max-width: 1100px) {
    .market-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .market-hero {
        grid-template-columns: 1fr;
    }
}

body.market-page {
    background: radial-gradient(circle at 20% 0%, #1a1a1a 0%, #0b0b0c 45%, #070707 100%);
    color: #f2f0ea;
}

body.market-page .topbar {
    background: rgba(9, 9, 10, 0.92);
    border-bottom: 1px solid #3a311d;
    backdrop-filter: blur(6px);
}

body.market-page .brand p,
body.market-page .muted {
    color: #c1b9a5;
}

body.market-page .brand h1 {
    color: #f6e6bb;
}

body.market-page .logo {
    background: linear-gradient(130deg, #b5892d, #ffde7a);
    color: #1d1508;
}

body.market-page .brand-logo-link {
    background: transparent;
    border: 0;
}

body.market-page .btn-primary {
    background: linear-gradient(120deg, #a87822, #d9b15f);
    color: #140f06;
}

body.market-page .btn-secondary {
    background: #2c2820;
    color: #e6d8b8;
    border: 1px solid #56472a;
}

body.market-page .card {
    border: 1px solid #3b3322;
    background: linear-gradient(180deg, rgba(29, 26, 20, 0.95), rgba(16, 15, 12, 0.95));
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

body.market-page .market-hero.luxury {
    background-image:
        linear-gradient(112deg, rgba(0, 0, 0, 0.72), rgba(12, 10, 7, 0.4)),
        url("https://upload.wikimedia.org/wikipedia/commons/4/4d/Gold_bar_400_oz.JPG");
    background-size: cover;
    background-position: center;
    border: 1px solid #5e4a1f;
}

body.market-page .hero-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: #f3e4bd;
    max-width: 760px;
}

body.market-page .ticker-panel {
    background: rgba(12, 12, 13, 0.78);
    border: 1px solid #6d5623;
}

body.market-page .ticker-panel .price {
    font-size: clamp(1.7rem, 4.2vw, 2.45rem);
    color: #ffe2a2;
}

body.market-page .live-chip {
    background: rgba(215, 173, 86, 0.18);
    border: 1px solid rgba(238, 197, 107, 0.45);
    color: #f7dc98;
}

.gold-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.gallery-card {
    overflow: hidden;
    margin-bottom: 0;
}

.gallery-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #5a4823;
}

.gallery-card h3 {
    margin: 0 0 6px;
    color: #f4deac;
}

body.market-page .market-overview-grid.compact-cards .metric-card p {
    font-size: clamp(1.05rem, 2.8vw, 1.38rem);
}

.chart-shell {
    position: relative;
    height: 260px;
    overflow: hidden;
}

body.market-page .chart-card,
body.market-page .news-card {
    min-height: 0;
}

.source-note {
    text-align: right;
    font-size: 0.74rem;
    margin-top: -6px;
}

.quote-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.quote-card {
    margin-bottom: 0;
    padding: 12px;
}

.quote-card span {
    display: block;
    font-size: 0.79rem;
    color: #cabd9f;
    margin-bottom: 7px;
}

.quote-card strong {
    display: block;
    font-size: clamp(1rem, 2.4vw, 1.34rem);
    color: #f7e3af;
    margin-bottom: 5px;
}

.quote-card em {
    font-style: normal;
    font-size: 0.79rem;
}

.chart-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.range-btn {
    border: 1px solid #5a4924;
    background: #1e1a13;
    color: #dfc98f;
    border-radius: 7px;
    padding: 5px 9px;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
}

.range-btn.active {
    background: linear-gradient(120deg, #b88d37, #e2c077);
    color: #20170b;
}

body.market-page .news-list li {
    background: rgba(22, 20, 15, 0.82);
    border: 1px solid #4c3f24;
}

body.market-page .news-list a {
    color: #f4e1b1;
}

body.market-page .market-table th {
    background: #312811;
    color: #f2d68f;
    border-color: #5b4a22;
}

body.market-page .market-table td {
    border-color: #41351f;
}

@media (max-width: 1000px) {
    .gold-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quote-strip {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .market-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .market-table th,
    .market-table td {
        white-space: nowrap;
    }

    .gold-gallery-grid {
        grid-template-columns: 1fr;
    }

    .chart-shell {
        height: 210px;
    }

    body.market-page .market-panels {
        gap: 10px;
    }

    body.market-page .news-card,
    body.market-page .chart-card {
        min-height: auto;
    }

    .quote-strip {
        grid-template-columns: 1fr;
    }
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 14px;
    align-items: stretch;
}

.auth-panel {
    margin-bottom: 0;
}

.auth-panel h3,
.auth-panel h2 {
    margin-top: 0;
    color: #f3dfac;
}

.auth-panel-copy p {
    max-width: 44ch;
}

.auth-bullets {
    margin: 16px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.auth-bullets li {
    color: #d9cbac;
    line-height: 1.4;
}

body.market-page.auth-page .auth-panel {
    background: linear-gradient(180deg, rgba(23, 21, 16, 0.96), rgba(15, 14, 11, 0.96));
    border-color: #544424;
}

body.market-page.auth-page label {
    color: #d6c7a6;
}

body.market-page.auth-page input,
body.market-page.auth-page select {
    background: #18140e;
    color: #f2e4c3;
    border-color: #5a4b2a;
}

.remember-line {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.auth-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }
}

.member-headline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.member-headline h2 {
    margin: 8px 0;
    color: #f2dfb2;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.member-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.member-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.member-market-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.member-primary-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.member-bottom-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}

.kyc-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 12px;
}

.kyc-main-panel h3 {
    margin-top: 0;
    color: #f2deae;
}

.kyc-form-grid {
    margin-top: 10px;
}

.kyc-form-grid small {
    margin-top: 4px;
}

.member-chart-card {
    min-height: 0;
}

.pro-chart {
    border: 1px solid #5a4722;
    background: linear-gradient(180deg, rgba(24, 22, 17, 0.96), rgba(16, 15, 12, 0.96));
}

.member-quote-line {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.member-quote-line strong {
    font-size: 1.3rem;
    color: #f7e3af;
}

.member-side-panel h3 {
    margin-top: 0;
    color: #f2deae;
}

.member-side-stack {
    display: grid;
    gap: 12px;
    align-content: start;
}

.allocation-chart-wrap {
    position: relative;
    height: 210px;
    margin-bottom: 8px;
}

.allocation-legend {
    display: grid;
    gap: 7px;
}

.allocation-legend div {
    display: flex;
    justify-content: space-between;
    border: 1px solid #4b3d23;
    border-radius: 9px;
    padding: 7px 9px;
}

.allocation-legend span {
    color: #bcae8e;
}

.allocation-legend strong {
    color: #f2deae;
    font-size: 0.86rem;
}

.member-headline-pro {
    border: 1px solid #5a4622;
}

.member-meta-list {
    display: grid;
    gap: 10px;
}

.member-meta-list > div {
    border: 1px solid #4f4125;
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.member-meta-list span {
    color: #bcae8e;
    font-size: 0.86rem;
}

.member-meta-list strong {
    color: #f2deae;
    font-size: 0.9rem;
    text-align: right;
}

.table-action-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.action-btn-sm {
    padding: 6px 9px;
    font-size: 0.78rem;
}

.panel-head-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.member-search-form {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.member-search-form input {
    min-width: 220px;
}

.member-search-form-block {
    margin: 8px 0 10px;
}

.member-search-form-block input {
    min-width: 320px;
}

@media (max-width: 760px) {
    .member-search-form-block input {
        min-width: 100%;
        width: 100%;
    }
}

.investment-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.investment-product-card {
    margin-bottom: 0;
    display: grid;
    gap: 12px;
}

.investment-product-card h3 {
    margin: 0 0 7px;
    color: #f2dfb2;
}

.investment-product-image-wrap {
    border: 1px solid #4b3d23;
    border-radius: 10px;
    background: #14100a;
    padding: 6px;
    height: 170px;
    display: grid;
    place-items: center;
}

.investment-product-image {
    max-height: 156px;
    max-width: 100%;
    border-radius: 7px;
    object-fit: contain;
}

.product-thumb {
    width: 76px;
    height: 54px;
    object-fit: cover;
    border: 1px solid #4b3d23;
    border-radius: 7px;
}

.product-invest-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: end;
}

.product-invest-form label {
    margin: 0;
}

@media (max-width: 1020px) {
    .member-market-layout,
    .member-primary-layout,
    .member-bottom-layout,
    .kyc-layout {
        grid-template-columns: 1fr;
    }

    .allocation-chart-wrap {
        height: 180px;
    }
}

@media (max-width: 760px) {
    .topbar .container {
        align-items: flex-start;
        gap: 8px;
    }

    .brand {
        width: 100%;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .welcome-label {
        width: 100%;
        margin-bottom: 2px;
    }

    .nav-actions .btn {
        padding: 8px 10px;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .membership-chip {
        font-size: 0.72rem;
        padding: 4px 8px;
    }

    .product-invest-form {
        grid-template-columns: 1fr;
    }

    .member-search-form-block input {
        min-width: 100%;
    }

    .member-headline {
        flex-direction: column;
    }

    .member-quote-line {
        font-size: 0.9rem;
    }

    .brand-logo-link {
        width: 84px;
        height: 54px;
        flex-basis: 84px;
    }

    .brand-logo-image {
        transform: scale(1.12);
    }

    .brand h1 {
        font-size: 1.04rem;
    }
}

@media (max-width: 480px) {
    .brand-logo-link {
        width: 78px;
        height: 50px;
        flex-basis: 78px;
    }

    .brand p {
        font-size: 0.74rem;
    }
}

.deposit-chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.deposit-menu-panel h3,
.deposit-chat-panel h3 {
    margin-top: 0;
    color: #f2deae;
}

.deposit-menu-panel h4 {
    margin: 14px 0 8px;
    color: #dfc98f;
    font-size: 0.9rem;
}

.menu-btn {
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
}

.deposit-thread-list {
    display: grid;
    gap: 8px;
}

.thread-item {
    border: 1px solid #4b3d23;
    border-radius: 10px;
    padding: 8px 9px;
    background: rgba(22, 18, 13, 0.92);
    display: grid;
    gap: 2px;
}

.thread-item strong {
    color: #f2deae;
    font-size: 0.84rem;
}

.thread-item span {
    color: #bcae8e;
    font-size: 0.78rem;
}

.thread-item.active {
    border-color: #d7ae5f;
    background: rgba(89, 67, 24, 0.34);
}

.deposit-chat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.chat-box {
    border: 1px solid #4b3d23;
    border-radius: 11px;
    background: rgba(16, 13, 10, 0.95);
    height: 360px;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.chat-msg {
    max-width: 88%;
    border: 1px solid #4a3d23;
    border-radius: 10px;
    padding: 8px 9px;
}

.chat-msg.member {
    margin-left: auto;
    background: rgba(215, 174, 95, 0.16);
}

.chat-msg.admin {
    background: rgba(36, 32, 24, 0.95);
}

.chat-msg.system {
    background: rgba(44, 36, 20, 0.92);
}

.chat-sender {
    font-size: 0.74rem;
    color: #c6b58e;
    margin-bottom: 4px;
}

.chat-content {
    color: #f1e4c5;
    line-height: 1.4;
    font-size: 0.9rem;
    white-space: pre-line;
}

.chat-time {
    margin-top: 5px;
    font-size: 0.72rem;
    color: #9e8f6c;
}

.chat-input-form {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.chat-input-form input[type="text"] {
    background: #18140f;
    border: 1px solid #5a4a28;
    color: #f3e3bf;
}

.chat-input-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.chat-input-actions input[type="file"] {
    color: #d7c89f;
    font-size: 0.78rem;
    max-width: 220px;
}

.chat-attachment {
    margin-top: 8px;
}

.chat-attachment-image {
    max-width: 180px;
    max-height: 180px;
    border-radius: 8px;
    border: 1px solid #5a4a28;
}

.empty-chat-state {
    border: 1px dashed #5b4a28;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

@media (max-width: 980px) {
    .deposit-chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-input-form {
        grid-template-columns: 1fr;
    }
}
