/* Inherit dashboard styles */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-header {
    background: none;
    padding: 0 0 1.5rem 0;
    border: none;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Chart styles */
.chart-container {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    height: 300px;
    position: relative;
}

/* Form styles */
.radio-group .btn-group {
    gap: 0.5rem;
}

.btn-check:checked + .btn-outline-success {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-check:checked + .btn-outline-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-check:checked + .btn-outline-primary {
    background: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
    border-color: #007bff !important;
}

/* Table styles */
.table-responsive {
    border-radius: 8px;
}

.table {
    margin-bottom: 0;
}

.table-badge {
    padding: 0.4em 0.8em;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.table-badge.income {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.table-badge.expense {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.table-badge.transfer {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        padding: 1rem;
    }

    .chart-container {
        height: 250px;
    }

    .table td {
        white-space: nowrap;
    }
}
