/* Container Defaults */
.cm-table-container, .cm-slider-wrapper {
    width: 100%;
    margin: 15px 0;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}

.cm-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 8px;
    border: 1px solid #e2e8f0;
}

/* Table Design */
.cm-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    text-align: right;
}

.cm-price-table th {
    background: #f8fafc;
    color: #475569;
    padding: 14px 18px;
    font-size: 0.9em;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

.cm-price-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95em;
    vertical-align: middle;
}

.cm-price-table tr:hover td {
    background-color: #f8fafc;
}

.cm-table-name {
    display: flex;
    align-items: center;
}

.cm-time {
    color: #64748b;
    font-size: 0.85em;
}

/* Card / Slider Design */
.cm-currency-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cm-currency-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.cm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.cm-card-title-group {
    display: flex;
    align-items: center;
}

.cm-curr-title {
    font-weight: 700;
    font-size: 1em;
    color: #1e293b;
}

.cm-curr-code {
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
}

.cm-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.cm-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92em;
}

.cm-buy-val, .cm-sell-val {
    font-weight: 700;
}

.cm-card-footer {
    border-top: 1px dashed #f1f5f9;
    padding-top: 8px;
    font-size: 0.78em;
    color: #94a3b8;
    text-align: left;
}

.cm-nav-btn {
    color: #3b82f6 !important;
    transform: scale(0.6);
}
