/**
 * Admin Calendar Widget Styles
 * Calendar styling specifically for admin dashboard
 */

/* Admin Calendar Widget Container */
#admin-calendar-widget {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

#admin-calendar-widget:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Admin Calendar Header */
.admin-calendar-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.admin-calendar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Admin Month/Year Clickable Elements */
.admin-month-year-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.admin-month-selector,
.admin-year-selector {
    position: relative;
    display: inline-block;
}

.admin-month-button,
.admin-year-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.admin-month-button:hover,
.admin-year-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.admin-month-button.active,
.admin-year-button.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Admin Dropdown Menus */
.admin-month-dropdown,
.admin-year-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.2s ease;
}

.admin-month-dropdown.show,
.admin-year-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.admin-month-dropdown {
    width: 160px;
}

.admin-year-dropdown {
    width: 100px;
}

.admin-dropdown-item {
    padding: 10px 16px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.admin-dropdown-item:last-child {
    border-bottom: none;
}

.admin-dropdown-item:hover {
    background: #f9fafb;
    color: #3b82f6;
}

.admin-dropdown-item.selected {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
}

.admin-dropdown-item.selected::after {
    content: "✓";
    float: right;
    color: #3b82f6;
}

/* Admin Navigation Buttons */
.admin-calendar-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
}

.admin-calendar-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.admin-calendar-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.admin-calendar-nav.prev {
    left: 8px;
}

.admin-calendar-nav.next {
    right: 8px;
}

/* Admin Day Names Header */
.admin-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.admin-calendar-weekday {
    padding: 0.5rem 0.25rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Admin Calendar Days Grid */
.admin-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 240px;
    background: white;
}

/* Admin Calendar Day Cells */
.admin-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
    font-weight: 500;
    user-select: none;
}

.admin-calendar-day:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* Admin Current Month Days */
.admin-calendar-day.current-month {
    color: #374151;
    background: white;
}

.admin-calendar-day.current-month:hover {
    background: #f9fafb;
    color: #1f2937;
    transform: scale(1.05);
}

/* Admin Previous/Next Month Days */
.admin-calendar-day.prev-month,
.admin-calendar-day.next-month {
    color: #9ca3af;
    background: #fafafa;
    cursor: default;
    font-weight: 400;
}

.admin-calendar-day.prev-month:hover,
.admin-calendar-day.next-month:hover {
    background: #fafafa;
    transform: none;
}

/* Admin Today Highlight - Only when no events present */
.admin-calendar-day.today:not(.has-event) {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.admin-calendar-day.today:not(.has-event)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.admin-calendar-day.today:not(.has-event):hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* Calendar day selection styling */
.admin-calendar-day.selected {
    outline: 3px solid #3b82f6 !important;
    outline-offset: -3px;
    border-radius: 6px;
    position: relative;
    z-index: 2;
}

/* Multi-date selection styling */
.admin-calendar-day.multi-selected {
    outline: 2px solid #10b981 !important;
    outline-offset: -2px;
    border-radius: 6px;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3);
}

/* Today indicator styling - Only apply if no events */
.admin-calendar-day.today:not(.has-event) {
    background-color: #ef4444 !important;
    color: white !important;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.admin-calendar-day.today:not(.has-event)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Today with events - keep category color but add today indicator */
.admin-calendar-day.today.has-event {
    position: relative;
    font-weight: bold !important;
    /* Keep category background color, just add indicator */
}

.admin-calendar-day.today.has-event::before {
    content: 'HARI INI';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 6px;
    color: white;
    background: rgba(0,0,0,0.7);
    padding: 1px 2px;
    border-radius: 2px;
    text-shadow: none;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Weekend styling */
.admin-calendar-day.weekend {
    color: #dc2626;
    font-weight: 500;
}

/* Events styling */
.admin-calendar-day.has-event {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
}

/* Enhanced visual feedback for operations - Simplified */
.admin-calendar-day.current-month {
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.admin-calendar-day.current-month:hover:not(.selected):not(.multi-selected):not(.today) {
    background-color: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

/* Restore smooth styling but keep no problematic transitions */
.admin-calendar-day,
.admin-calendar-day.current-month {
    border-radius: 6px;
}

.admin-calendar-day.selected,
.admin-calendar-day.multi-selected {
    border-radius: 6px;
}

/* Restore box shadow for multi-selected only */
.admin-calendar-day.multi-selected {
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3) !important;
}

/* Remove excessive animations and fix empty ruleset */
.admin-calendar-day.newly-selected {
    background-color: inherit;
}

/* Hover effects for selection */
.admin-calendar-day.current-month:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
    position: relative;
}

/* Selection help text */
.admin-selection-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
    border-left: 3px solid #3b82f6;
}

/* Clear selection button styling */
.admin-clear-selection {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-clear-selection:hover {
    background-color: #fecaca;
    border-color: #f87171;
}

/* Multi-date form enhancements */
.admin-multi-date-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.admin-multi-date-info .date-count {
    font-weight: 600;
    color: #1d4ed8;
}

/* Enhanced calendar day styling for better interaction */
.admin-calendar-day {
    cursor: pointer;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.admin-calendar-day.current-month {
    position: relative;
}

/* Prevent ALL text selection and browser drag behavior */
.admin-calendar-widget {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Disable all browser drag/drop behavior */
.admin-calendar-widget *,
.admin-calendar-widget *::before,
.admin-calendar-widget *::after {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
}

/* Remove any selection styling */
.admin-calendar-widget *::selection {
    background: transparent !important;
}

.admin-calendar-widget *::-moz-selection {
    background: transparent !important;
}

/* For days with events that are selected - preserve their category color */
.admin-calendar-day.selected.has-event {
    /* Keep the background color from inline styling */
    /* Only add the outline effect */
    border: 3px solid white !important;
    box-shadow: 0 0 0 3px #3b82f6 !important;
}

/* Hover effect for selected days */
.admin-calendar-day.selected:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
}

.admin-calendar-day.selected.has-event:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px #3b82f6, 0 4px 12px rgba(0,0,0,0.2) !important;
}

.admin-calendar-day.selected:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Admin Weekend Days */
.admin-calendar-day.weekend {
    color: #dc2626;
    font-weight: 600;
}

/* Make Sunday specifically more prominent */
.admin-calendar-day.sunday {
    color: #b91c1c !important; /* Darker red for Sunday */
    font-weight: 700 !important;
    background: #fef2f2; /* Light red background */
}

.admin-calendar-day.weekend:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-calendar-day.sunday:hover {
    background: #fee2e2; /* Slightly darker red background on hover */
    color: #991b1b;
}

/* Admin Days with Events - Remove dot styling, use background color instead */
.admin-calendar-day.has-event {
    position: relative;
}

/* Disable dot styling - we use background colors instead */
.admin-calendar-day.has-event::after {
    display: none !important;
}

.admin-calendar-day.has-event.today::after {
    display: none !important;
}

.admin-calendar-day.has-event.selected::after {
    display: none !important;
}

/* Admin Current Date Info */
#admin-current-date-info {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #374151;
    text-align: center;
    font-weight: 500;
}

/* Admin Activity Section */
#admin-activity-section {
    background: white;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

#admin-activity-section h5 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
}

#admin-activity-content {
    min-height: 50px;
    /* Remove max-height and overflow to allow natural height */
    /* max-height: 150px; */
    /* overflow-y: auto; */
}

/* Activity section should expand naturally for better UX */
#admin-activity-section {
    /* Allow natural height expansion for multi-date selection */
}

/* Improve readability for multiple activities */
.admin-activity-item-checkbox:nth-child(even) {
    background: #f1f5f9; /* Slight alternating background */
}

.admin-activity-item-checkbox:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px); /* Subtle lift effect */
}

.admin-activity-item {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.admin-activity-item:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
    transform: translateX(2px);
}

.admin-activity-item:last-child {
    margin-bottom: 0;
}

.admin-activity-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

.admin-activity-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 0.5rem;
    /* Removed padding-right since buttons are now at bottom */
}

/* Desktop: larger title for better readability */
@media (min-width: 768px) {
    .admin-activity-title {
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }
}

/* Large desktop: even larger */
@media (min-width: 1024px) {
    .admin-activity-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
}

.admin-activity-description {
    font-size: 0.875rem; /* Reduced from 1rem */
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    /* Removed padding-right since buttons are now at bottom */
}

/* Desktop: slightly larger but still smaller than before */
@media (min-width: 768px) {
    .admin-activity-description {
        font-size: 1rem; /* Reduced from 1.125rem */
        line-height: 1.6;
    }
}

/* Large desktop: moderate size */
@media (min-width: 1024px) {
    .admin-activity-description {
        font-size: 1.125rem; /* Reduced from original larger size */
        line-height: 1.6;
    }
}

.admin-activity-actions {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-wrap: wrap;
    max-width: 250px;
}

.admin-activity-item:hover .admin-activity-actions {
    opacity: 1;
}

/* Always show action buttons on mobile for better touch UX */
@media (max-width: 767px) {
    .admin-activity-actions {
        opacity: 0.9;
        position: static;
        margin-top: 0.5rem;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .admin-activity-item:hover .admin-activity-actions {
        opacity: 1;
    }

    .admin-activity-action {
        min-width: 60px;
        font-size: 0.65rem;
    }

    .admin-activity-action i {
        font-size: 0.6rem;
    }

    .admin-activity-action span {
        font-size: 0.65rem;
    }
}

.admin-activity-action {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    color: #6b7280;
    min-width: 70px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.admin-activity-action i {
    font-size: 0.7rem;
}

.admin-activity-action span {
    font-size: 0.7rem;
    white-space: nowrap;
}

.admin-activity-action:hover {
    background: white;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.admin-activity-action.edit:hover {
    color: #3b82f6;
    border-color: #3b82f6;
}

.admin-activity-action.delete:hover {
    color: #dc2626;
    border-color: #dc2626;
}

.admin-activity-placeholder {
    text-align: center;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-style: italic;
    padding: 1rem;
}

/* Checkbox-based activity items for multiple date selection */
.admin-activity-item-checkbox {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem; /* Increased spacing for better visibility */
    transition: all 0.2s ease;
    position: relative;
}

.admin-activity-item-checkbox:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px); /* Subtle lift effect */
}

.admin-activity-item-checkbox:has(.activity-checkbox:checked) {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.activity-checkbox {
    width: 1.125rem; /* Increased from 1rem */
    height: 1.125rem; /* Increased from 1rem */
    border-radius: 4px;
    border: 2px solid #d1d5db;
    transition: all 0.2s ease;
    cursor: pointer; /* Make it clear it's clickable */
}

.activity-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.activity-checkbox:hover {
    border-color: #3b82f6;
}

.admin-activity-date {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
}

.admin-activity-empty {
    text-align: center;
    color: #6b7280;
    font-size: 0.8125rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px dashed #d1d5db;
}

.admin-activity-loading {
    text-align: center;
    color: #6b7280;
    font-size: 0.8125rem;
    padding: 0.75rem;
}

.admin-activity-loading::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Admin Add Activity Form */
#admin-add-activity-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.75rem;
}

#admin-add-activity-form h6 {
    margin: 0 0 0.75rem 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

#admin-add-activity-form input,
#admin-add-activity-form textarea {
    font-size: 0.8125rem;
}

#admin-add-activity-form button {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #admin-calendar-widget {
        border-radius: 6px;
    }

    .admin-calendar-header {
        padding: 0.75rem;
    }

    .admin-calendar-header h3 {
        font-size: 1rem;
    }

    .admin-calendar-nav {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }

    .admin-calendar-weekday {
        padding: 0.4rem 0.125rem;
        font-size: 0.75rem;
    }

    .admin-calendar-day {
        height: 30px;
        font-size: 0.875rem;
    }

    .admin-calendar-days {
        min-height: 210px;
    }

    #admin-current-date-info {
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    #admin-activity-section {
        padding: 0.75rem;
    }
}

/* Focus states for accessibility */
.admin-calendar-nav:focus,
.admin-calendar-day:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    z-index: 10;
}

/* Animation for transitions */
.admin-calendar-transition {
    transition: all 0.15s ease;
}

.admin-calendar-slide-out {
    opacity: 0;
    transform: translateX(-8px);
}

.admin-calendar-slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Additional Activity Status and Type Styles */
.admin-activity-location {
    font-size: 0.6875rem;
    color: #059669;
    margin-top: 0.25rem;
    margin-right: 80px;
}

.admin-activity-status {
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Category Background Colors for Admin Calendar Days */
.admin-calendar-day.has-event.libur-nasional {
    background: #dc2626 !important;
    color: white !important;
}

.admin-calendar-day.has-event.libur-univ {
    background: #7c3aed !important;
    color: white !important;
}

.admin-calendar-day.has-event.minggu-tenang {
    background: #d97706 !important;
    color: white !important;
}

.admin-calendar-day.has-event.administrasi-akademik {
    background: #3b82f6 !important;
    color: white !important;
}

.admin-calendar-day.has-event.awal-kuliah {
    background: #eab308 !important;
    color: white !important;
}

.admin-calendar-day.has-event.kegiatan-besar {
    background: #059669 !important;
    color: white !important;
}

/* Multiple categories indicator */
.admin-calendar-day.has-event.multiple-categories {
    background: linear-gradient(45deg, #dc2626 25%, #3b82f6 25%, #3b82f6 50%, #059669 50%, #059669 75%, #eab308 75%) !important;
    color: white !important;
}

.admin-calendar-day.has-event:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure default white background for days without events */
.admin-calendar-day.current-month:not(.has-event) {
    background: white !important;
    color: #374151 !important;
}

/* Category Background Colors for Admin Activity Items */
.admin-activity-item.libur-nasional {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.admin-activity-item.libur-nasional .admin-activity-title {
    color: #dc2626 !important;
}

.admin-activity-item.libur-univ {
    background: #faf5ff !important;
    border-color: #e9d5ff !important;
}

.admin-activity-item.libur-univ .admin-activity-title {
    color: #7c3aed !important;
}

.admin-activity-item.minggu-tenang {
    background: #fffbeb !important;
    border-color: #fed7aa !important;
}

.admin-activity-item.minggu-tenang .admin-activity-title {
    color: #d97706 !important;
}

.admin-activity-item.administrasi-akademik {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.admin-activity-item.administrasi-akademik .admin-activity-title {
    color: #3b82f6 !important;
}

.admin-activity-item.awal-kuliah {
    background: #fefce8 !important;
    border-color: #fde68a !important;
}

.admin-activity-item.awal-kuliah .admin-activity-title {
    color: #eab308 !important;
}

.admin-activity-item.kegiatan-besar {
    background: #ecfdf5 !important;
    border-color: #bbf7d0 !important;
}

.admin-activity-item.kegiatan-besar .admin-activity-title {
    color: #059669 !important;
}

.admin-activity-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.admin-activity-status.inactive {
    background: #fef3c7;
    color: #d97706;
}

.admin-activity-action.toggle {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

.admin-activity-action.toggle.active {
    background: #dcfce7;
    color: #16a34a;
    border-color: #16a34a;
}

.admin-activity-action.toggle.inactive {
    background: #fef3c7;
    color: #d97706;
    border-color: #d97706;
}

.admin-activity-action.toggle:hover {
    background: #f3f4f6;
}
