/* =====================================================
 * 17-views-accounts.css - Accounts View
 * ===================================================== */

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.account-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 0 !important;
    padding: 20px;
    transition: all 0.2s ease;
}

.account-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.account-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.account-type-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--text-muted);
}

.account-card.account-cash .account-icon {
    background: #dcfce7;
    color: #166534;
}

.account-card.account-bank .account-icon {
    background: #dbeafe;
    color: #1e40af;
}

.account-card.account-credit .account-icon {
    background: #fee2e2;
    color: #991b1b;
}

.account-body {
    margin-bottom: 15px;
}

.account-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.account-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.account-balance .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.account-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.account-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}
