/* Custom styles for Shift Manager Pro */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Logo styles */
.logo-mxp-header {
    height: 100px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

/* Dark mode styles */
.dark body {
    background-color: #0f172a;
    color: #e2e8f0;
}

.dark .bg-white {
    background-color: #1e293b !important;
}

.dark .bg-gray-50 {
    background-color: #0f172a !important;
}

.dark .bg-gray-100 {
    background-color: #1e293b !important;
}

.dark .bg-blue-50 {
    background-color: #1e293b !important;
}

.dark .text-gray-800 {
    color: #e2e8f0 !important;
}

.dark .text-gray-700 {
    color: #cbd5e1 !important;
}

.dark .text-gray-600 {
    color: #94a3b8 !important;
}

.dark .text-gray-500 {
    color: #64748b !important;
}

.dark .border-gray-200 {
    border-color: #334155 !important;
}

.dark .border-gray-300 {
    border-color: #475569 !important;
}

.dark .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3) !important;
}

.dark .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3) !important;
}

.dark .bg-gradient-to-br {
    background: linear-gradient(to bottom right, #0f172a, #1e293b, #334155) !important;
}

.dark .bg-gradient-to-r {
    background: linear-gradient(to right, #1e40af, #4338ca) !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Shift cards */
.shift-morning,
.shift-day,
.shift-night {
    transition: all 0.2s ease;
    animation: fadeIn 0.3s ease;
}

.shift-morning:hover,
.shift-day:hover,
.shift-night:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Gantt chart */
.gantt-bar {
    transition: all 0.2s ease;
    cursor: pointer;
}

.gantt-bar:hover {
    transform: scaleY(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gantt-bar {
        font-size: 10px;
        padding: 0 4px;
    }
}
