/* Cash Cockpit Dashboard Styles */

.cc-dashboard {
    padding: 24px 28px;
    background: #f8f9fb;
    min-height: 100vh;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cc-loading,
.cc-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    font-size: 16px;
    color: #94a3b8;
}

.cc-error {
    color: #dc2626;
}

/* Section headers */
.cc-section-header {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 24px 0 14px 0;
}

.cc-section-header:first-child {
    margin-top: 0;
}

/* Grid layouts */
.cc-grid {
    display: grid;
    gap: 20px;
}

.cc-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .cc-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cc-grid-4 { grid-template-columns: 1fr; }
    .cc-grid-3 { grid-template-columns: 1fr; }
}

/* Cards base */
.cc-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.cc-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Summary stat cards */
.cc-stat-card {
    padding: 20px;
}

.cc-stat-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cc-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-icon-circle svg {
    width: 28px;
    height: 28px;
}

.cc-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.cc-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
}

/* Operation / Liquidity cards */
.cc-op-card {
    display: flex;
    flex-direction: column;
}

.cc-op-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 0 18px;
}

.cc-icon-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-icon-circle-sm svg {
    width: 20px;
    height: 20px;
}

.cc-op-title {
    font-size: 18px;
    font-weight: 600;
    color: #2B2A29;
}

.cc-op-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px 0 18px;
}

.cc-status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 12px;
}

.cc-op-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #737791;
}

.cc-op-detail {
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    flex-grow: 1;
}

.cc-op-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 18px;
    border-top: 1px solid #f0f0f0;
}

.cc-op-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4457B4;
    cursor: pointer;
    transition: color 0.2s;
}

.cc-op-action:hover {
    color: #7c3aed;
}

.cc-op-action svg {
    transition: transform 0.2s;
}

.cc-op-action:hover svg {
    transform: translateX(3px);
}
