/* --- General Body & Background --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* bg-gray-900 */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.85);
    z-index: -1;
}

/* --- Dark Theme for Content Cards & Forms --- */
.bg-white.shadow-md, .bg-white.shadow-sm {
    background-color: rgba(31, 41, 55, 0.9) !important;
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(8px);
}

/* --- Text & Input Styling --- */
.text-gray-900, .text-gray-800 { color: #f9fafb !important; }
.text-gray-700 { color: #d1d5db !important; }
.text-gray-600 { color: #9ca3af !important; }
.text-gray-500 { color: #6b7280 !important; }
input, textarea, select {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #f9fafb !important;
}
input::placeholder, textarea::placeholder { color: #9ca3af !important; }

/* --- Dashboard Column Styling --- */
.bg-gray-200 { background-color: rgba(55, 65, 81, 0.7) !important; }
.border-gray-300 { border-color: #4b5563 !important; }

/* --- Job Card Specifics --- */
.job-card { background-color: #4b5563 !important; cursor: grab; touch-action: none; }
.dragging { opacity: 0.5; transform: rotate(2deg); }
.drag-over { border-style: dashed; border-color: #4f46e5; background-color: rgba(79, 70, 229, 0.1); }

/* --- Spinner --- */
.spinner { border: 2px solid rgba(255, 255, 255, 0.1); width: 16px; height: 16px; border-radius: 50%; border-left-color: #6366f1; animation: spin 1s ease infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- File Drop Area --- */
.file-drop-area { border: 2px dashed #4b5563; border-radius: 0.5rem; padding: 2.5rem 1rem; text-align: center; cursor: pointer; transition: background-color 0.2s ease-in-out; }
.file-drop-area.drag-over { background-color: #374151; border-color: #6366f1; }

/* --- THIS IS THE NEW STYLE FOR THE LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.visible {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-content {
    position: relative;
    width: 90%;
    height: 85%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}
.lightbox-content img, .lightbox-content iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}
.lightbox-close, .lightbox-download {
    position: absolute;
    top: -40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}
.lightbox-close { right: 0; }
.lightbox-download { right: 50px; font-size: 1.5rem; }
