

body { font-family: 'Inter', sans-serif; }
.animate-fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Custom scrollbar for main content */
.main-content-scroll::-webkit-scrollbar { width: 8px; }
.main-content-scroll::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.main-content-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.main-content-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.dropdown-menu {
	display: none;
	position: absolute;
	z-index: 10;
}

.dropdown-menu.show {
	display: block;
}

/* Lightbox styles */
.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
}
.lightbox.show {
	display: flex;
}
.lightbox-content {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 0.5rem;
}
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 30px;
	color: white;
	cursor: pointer;
	transition: color 0.2s;
}
.lightbox-close:hover {
	color: #ccc;
}

/* ==========================================================================
   Drag and Drop Zone Styles
   ========================================================================== */

/* Base drop zone styles */
.drop-zone {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
}

/* Hover state */
.drop-zone:hover {
    background-color: rgb(226 232 240) !important;
    border-color: rgb(148 163 184) !important;
}

/* Drag over state */
.drop-zone.dragover {
    background-color: rgb(224 231 255) !important;
    border-color: rgb(99 102 241) !important;
    transform: scale(1.02);
}

.drop-zone.dragover i {
    color: rgb(99 102 241);
}

/* Focus and interaction states */
.drop-zone:focus {
    outline: 2px solid rgb(99 102 241);
    outline-offset: 2px;
}

.drop-zone:focus-visible {
    outline: 2px solid rgb(99 102 241);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Loading state */
.drop-zone.uploading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.drop-zone.uploading:hover {
    background-color: inherit !important;
    border-color: inherit !important;
    transform: none !important;
}

.drop-zone.uploading i.fa-spinner {
    color: rgb(99 102 241);
    margin-right: 0.5rem;
}

/* ==========================================================================
   Accessibility and Browser Support
   ========================================================================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .drop-zone {
        border-width: 3px;
    }
    
    .drop-zone:hover {
        border-color: rgb(30 64 175) !important;
    }
    
    .drop-zone.dragover {
        border-color: rgb(30 64 175) !important;
        background-color: rgb(219 234 254) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .drop-zone {
        transition: none;
    }
    
    .drop-zone.dragover {
        transform: none;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Screen reader only class */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Mobile optimizations */
@media (max-width: 768px) {
    .drop-zone {
        min-height: 80px; /* Larger touch target on mobile */
    }
    
    .drop-zone.dragover {
        transform: scale(1.01); /* Smaller scale on mobile */
    }
}
