/* /volume/ section-specific styles */

#app { max-width: 1135px !important; }

.container {
    max-width: 1200px;
}

/* Cores / Grays multi-token layout */
.cores-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
}

/* Two-column GRAYS view: give each side more room than a 4-up cores row */
.cores-container--grays {
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.cores-container--grays .core-column {
    flex: 1 1 50%;
    font-size: inherit;
}

.core-column {
    flex: 1;
    min-width: 0;
    font-size: smaller;
}

.core-column table {
    width: 100%;
    font-size: 0.9em;
}

.core-column th,
.core-column td {
    padding: 4px;
}

.core-column .total-volume,
.core-column .total-liquidity,
.core-column .total-tokens {
    font-size: 1.2em;
    margin-top: 10px;
}

.core-column .hdrdex,
.core-column .dexid {
    display: none;
}

/* Toggle LP button */
.toggle-hidemelp {
    padding: 4px 12px !important;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.hidemelp {
    display: none;
}

.total-liquidity {
    margin-bottom: 20px;
}

.total-tokens { min-width: 800px; }

.results pre {
    display: none;
}

.results p {
    font-size: 12px;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
}

input[type="text"] {
    margin-bottom: 20px;
}

select {
    margin-bottom: 20px;
}

.pulsexv1 {
    color: crimson;
    font-weight: bold;
}

/* Volume footer section */
.footerlocal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    font-size: 0.8em;
}

.footsl {
    flex: 1;
}

.footsl ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footsl li {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 0.85em;
}

.footsl .label {
    width: 90px;
    color: var(--text-secondary);
    text-align: left;
}

.footsl .links a {
    color: var(--accent-blue);
}

.footsl .links a:hover {
    text-decoration: underline;
}

.footsr {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 10px;
}

img.gecko { width: 140px; }

.footsr img.faucet {
    max-width: 70px;
    height: auto;
    display: block;
    margin: 0 auto 5px;
}

.footsr a {
    text-decoration: none;
}

.footsr p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .cores-container {
        flex-direction: column;
    }
    .core-column {
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .dexid, .hdrdex, .tblcol6 {
        display: none;
    }
}
