/* General Styling */
.budget-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.budget-card {
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.budget-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.allocation-bar {
    transition: width 0.8s ease-in-out;
}

.input-field {
    @apply w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition;
}
.input-field-table {
    @apply w-full px-3 py-2 border border-gray-300 rounded focus:ring-2 focus:ring-blue-500 focus:border-transparent text-center transition;
}

.grade-row:hover {
    background-color: #f8fafc;
}

/* Table styling */
.th-cell {
    @apply border border-gray-300 px-4 py-3 text-center font-semibold;
}
.td-cell {
    @apply border border-gray-300 px-4 py-3;
}

/* Summary Row */
.summary-row {
    @apply flex justify-between items-center py-2 border-b border-white border-opacity-20;
}

/* Save Button */
.save-button {
    @apply flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-lg text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-all duration-300 ease-in-out shadow-md hover:shadow-lg;
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
}
.notification.show {
    transform: translateY(0);
    opacity: 1;
}
.notification.success {
    background-color: #28a745; /* Green */
}
.notification.error {
    background-color: #dc3545; /* Red */
}
.hidden {
    display: none;
}
