.bg-login {
    background-image: url('src/images/bg-login.jpg');
    background-size: cover;
    background-position: center;
}

:root {
    --primary-color: #004FAF; /* Example primary color */
    --secondary-color: ; /* Example secondary color */
    --text-color: ; /* Example text color */
    --background-color: ; /* Example background color */
}

@keyframes slideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.animate-slideIn {
  animation: slideIn 0.3s ease-out;
}

/* Global Input Padding */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="tel"],
input[type="url"],
input[type="search"],
select {
    padding: 0.625rem !important;
}

/* FullCalendar Custom Styling */
.fc-header-toolbar {
    padding: 1.5rem 1rem !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.fc-toolbar-chunk {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.fc-button {
    padding: 0.75rem 1.25rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    border: 2px solid transparent !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.fc-button:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #1f2937 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.fc-button-active, .fc-button:focus {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
}

.fc-today-button {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.fc-today-button:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3) !important;
}

.fc-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    letter-spacing: -0.025em !important;
}

.fc-prev-button, .fc-next-button {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: transparent !important;
    color: #374151 !important;
    min-width: 3rem !important;
    min-height: 3rem !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.fc-prev-button:hover, .fc-next-button:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #1f2937 !important;
    transform: translateY(-1px) scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.fc-button-group {
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.fc-button-group .fc-button {
    border-radius: 0 !important;
    margin: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.fc-button-group .fc-button:first-child {
    border-top-left-radius: 0.75rem !important;
    border-bottom-left-radius: 0.75rem !important;
}

.fc-button-group .fc-button:last-child {
    border-top-right-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
    border-right: none !important;
}

/* Calendar Grid Improvements */
.fc {
    background: #ffffff !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.fc-daygrid-day {
    border-color: #f1f5f9 !important;
    transition: all 0.2s ease !important;
}

.fc-daygrid-day:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
}

.fc-daygrid-day-number {
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.5rem !important;
}

.fc-day-today {
    background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
    border-color: #3b82f6 !important;
}

.fc-day-today .fc-daygrid-day-number {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 2rem !important;
    height: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0.25rem !important;
}

.fc-event {
    border-radius: 0.375rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.5rem !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}

.fc-event:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.fc-col-header-cell {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-color: #e2e8f0 !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.75rem !important;
    padding: 1rem 0.5rem !important;
}

.fc-daygrid-week-number {
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

/* Time Grid Improvements */
.fc-timegrid-slot {
    border-color: #f1f5f9 !important;
}

.fc-timegrid-slot-label {
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
}

.fc-timegrid-now-indicator-line {
    border-color: #ef4444 !important;
    border-width: 2px !important;
}

.fc-timegrid-now-indicator-arrow {
    border-left-color: #ef4444 !important;
}

/* List View Improvements */
.fc-list-day-cushion {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    color: #374151 !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 1rem !important;
}

.fc-list-event {
    border-left: 4px solid #3b82f6 !important;
    transition: all 0.2s ease !important;
}

.fc-list-event:hover {
    background: #f8fafc !important;
    transform: translateX(4px) !important;
}

.fc-toolbar {
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

/* Weekend Styling */
.fc-day-sat, .fc-day-sun {
    background: rgba(239, 68, 68, 0.05) !important;
}

/* Scrollbar Styling */
.fc-scroller::-webkit-scrollbar {
    width: 6px !important;
}

.fc-scroller::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

.fc-scroller::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

.fc-scroller::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Loading Animation */
.fc-loading {
    position: relative !important;
}

.fc-loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 2rem !important;
    height: 2rem !important;
    margin: -1rem 0 0 -1rem !important;
    border: 3px solid #f3f4f6 !important;
    border-top: 3px solid #3b82f6 !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
    z-index: 1000 !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .fc-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    
    .fc-toolbar-chunk {
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .fc-title {
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    .fc-button {
        padding: 0.625rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .fc-header-toolbar {
        padding: 1rem !important;
    }
}

/* Calendar Navigation Buttons Styling */
.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9; /* light background */
    border-radius: 9999px; /* pill shape */
    padding: 6px 12px;
    width: 90px; /* adjust width */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.nav-btn {
    background: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #3b82f6; /* blue background on hover */
    color: white;
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.95);
    background: #2563eb; /* darker blue on active */
}

/* Override FullCalendar default button styling for navigation */
.fc-toolbar-chunk:first-child {
    display: flex;
    align-items: center;
}

.fc-prev-button,
.fc-next-button {
    background: white !important;
    border: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
}

.fc-prev-button:hover,
.fc-next-button:hover {
    background: #3b82f6 !important; /* blue background on hover */
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3) !important;
}

.fc-prev-button:active,
.fc-next-button:active {
    transform: scale(0.95) !important;
    background: #2563eb !important; /* darker blue on active */
}

.fc-today-button {
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-left: 12px !important;
    transition: all 0.2s ease !important;
}

.fc-today-button:hover {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
}
