/* Static utilities for exchange / POS card grids — no CDN Tailwind on Filament pages. */
.ex-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ex-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.ex-grid-page {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .ex-grid-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ex-grid-page {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.ex-grid-2col {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.ex-card {
    background-color: rgb(55 65 81);
    border-radius: 0.375rem;
    overflow: hidden;
    padding: 0.5rem;
}

.ex-card-pos {
    background-color: rgb(75 85 99);
    border-radius: 0 0 0.375rem 0.375rem;
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    padding: 0.5rem;
    color: #fff;
}

.ex-card-img {
    border-radius: 0.375rem;
    width: 100%;
}

.ex-card-img-round {
    border-radius: 9999px;
    width: 100%;
}

.ex-card-title {
    width: 100%;
    margin: 0.25rem 0;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #fff;
}

.ex-card-title-sm {
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 700;
    color: #fff;
}

.ex-btn-sell {
    background-color: rgb(185 28 28);
    text-align: center;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
}

.ex-btn-buy {
    background-color: rgb(21 128 61);
    text-align: center;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
}

.ex-label-cyan {
    width: 83.333333%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #fff;
    border-radius: 0.5rem;
    background-color: rgb(14 116 144);
}

.ex-currency-card {
    border-radius: 0.375rem;
    overflow: hidden;
    padding: 0.5rem;
    cursor: pointer;
    background-color: rgb(55 65 81);
}

.ex-currency-card.is-active {
    background-color: rgb(185 28 28);
}

.ex-pl-6 {
    padding-left: 1.5rem;
}

.ex-pr-8 {
    padding-right: 2rem;
}

.ex-border-r {
    border-right: 2px solid rgba(156, 163, 175, 0.5);
}

.ex-profit-grid {
    display: grid;
    margin-top: 1rem;
    width: 100%;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .ex-profit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ex-span-2 {
        grid-column: span 2 / span 2;
    }
}

.ex-box {
    padding: 2rem 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #fff;
    border-radius: 0.375rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.ex-box-green {
    background-color: rgb(21 128 61);
}

.ex-box-red {
    background-color: rgb(185 28 28);
}

.ex-box-red-dark {
    background-color: rgb(127 29 29);
}

.ex-box-red-deep {
    background-color: rgb(153 27 27);
}
