/* Custom styles for Financial Tracker */

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease-in-out;
}

/* Profile image styling */
.navbar .rounded-circle {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Chart container */
#balanceChart {
    max-height: 400px;
}

/* Transaction table styling */
.table-responsive .table {
    margin-bottom: 0;
}

/* Form styling improvements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button improvements */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .card-body .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .card-body .flex-shrink-0 {
        margin-bottom: 1rem;
    }
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error states */
.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Custom scrollbar for tables */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--bs-gray-100);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--bs-gray-400);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-500);
}
