/* Monthly Close Styles */
.monthly-close-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.monthly-close-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.monthly-close-card.border-success {
    border-left: 4px solid #28a745;
}

.monthly-close-card.border-warning {
    border-left: 4px solid #ffc107;
}

.monthly-close-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.monthly-close-card .card-body {
    padding: 1.5rem;
}

.monthly-close-card .h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.monthly-close-card .h6 {
    font-weight: 500;
    color: #6c757d;
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Summary cards */
.summary-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.summary-card .card-body {
    padding: 2rem 1.5rem;
}

.summary-card i {
    opacity: 0.9;
}

/* Financial summary table */
.financial-summary-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.financial-summary-table .table {
    margin-bottom: 0;
}

.financial-summary-table .table td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #dee2e6;
}

.financial-summary-table .table tr:last-child td {
    border-bottom: none;
}

/* Modal styles */
.close-month-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-month-modal .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.close-month-modal .modal-body {
    padding: 2rem;
}

.close-month-modal .alert {
    border-radius: 8px;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .monthly-close-card .card-body {
        padding: 1rem;
    }
    
    .summary-card .card-body {
        padding: 1.5rem 1rem;
    }
    
    .financial-summary-table .table td {
        padding: 0.75rem;
    }
}

/* Animation for loading states */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .monthly-close-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .summary-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .btn, .modal {
        display: none !important;
    }
} 