body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #111827;
}

body.dark-mode {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
    color: #e5e7eb !important;
}

.card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.drop-zone-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #d1d5db;
}

.drop-zone-gradient.dragover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1f2937;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.deployment-status {
    transition: all 0.3s ease;
}

.deployment-status.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #34d399;
}

.deployment-status.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #f87171;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.card,
.feature-card,
.bg-white {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.bg-gray-50 {
    background-color: #f9fafb !important;
}

.bg-blue-50 {
    background-color: #eff6ff !important;
}

.bg-red-50 {
    background-color: #fef2f2 !important;
}

.bg-green-50 {
    background-color: #f0fdf4 !important;
}

.drop-zone-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: 2px dashed #d1d5db !important;
}

/* Ensure buttons use correct light-mode colors by default */
button.bg-primary-600 {
    background-color: #2563eb !important;
    color: white !important;
}

button.bg-gray-600 {
    background-color: #4b5563 !important;
    color: white !important;
}

button.bg-blue-600 {
    background-color: #2563eb !important;
    color: white !important;
}

.dark-mode .card,
.dark-mode .feature-card,
.dark-mode .bg-white,
.dark-mode .bg-gray-50,
.dark-mode .bg-blue-50,
.dark-mode .bg-red-50,
.dark-mode .bg-green-50,
.dark-mode .drop-zone-gradient,
.dark-mode .bg-gray-100,
.dark-mode .bg-gray-900,
.dark-mode .bg-gray-200,
.dark-mode .bg-gray-600,
.dark-mode .bg-gray-800,
.dark-mode .bg-gray-700,
.dark-mode .bg-blue-50,
.dark-mode .bg-green-200,
.dark-mode .bg-yellow-50,
.dark-mode .bg-red-200,
.dark-mode .bg-green-50,
.dark-mode .bg-red-50,
.dark-mode .bg-blue-200,
.dark-mode .bg-gray-100,
.dark-mode .bg-gray-200,
.dark-mode .bg-gray-300,
.dark-mode .bg-gray-400,
.dark-mode .bg-gray-500,
.dark-mode .bg-gray-600,
.dark-mode .bg-gray-700,
.dark-mode .bg-gray-800,
.dark-mode .bg-gray-900,
.dark-mode .bg-primary-100,
.dark-mode .bg-primary-900,
.dark-mode .bg-blue-600,
.dark-mode .bg-blue-700,
.dark-mode .bg-green-600,
.dark-mode .bg-green-700,
.dark-mode .bg-red-600,
.dark-mode .bg-red-700,
.dark-mode .bg-yellow-600,
.dark-mode .bg-yellow-700,
.dark-mode .bg-indigo-600,
.dark-mode .bg-indigo-700,
.dark-mode .bg-purple-600,
.dark-mode .bg-purple-700,
.dark-mode .bg-pink-600,
.dark-mode .bg-pink-700,
.dark-mode .bg-gray-50,
.dark-mode .bg-gray-100,
.dark-mode .bg-gray-200,
.dark-mode .bg-gray-300,
.dark-mode .bg-gray-400,
.dark-mode .bg-gray-500,
.dark-mode .bg-gray-600,
.dark-mode .bg-gray-700,
.dark-mode .bg-gray-800,
.dark-mode .bg-gray-900,
.dark-mode .bg-white {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
}

.dark-mode button.bg-primary-600 {
    background-color: #2563eb !important;
    color: white !important;
}
.dark-mode button.bg-primary-600:hover {
    background-color: #1d4ed8 !important;
}
.dark-mode button.bg-primary-700 {
    background-color: #1d4ed8 !important;
}
.dark-mode button.bg-gray-600 {
    background-color: #4b5563 !important;
    color: white !important;
}
.dark-mode button.bg-gray-600:hover {
    background-color: #374151 !important;
}
.dark-mode button.bg-blue-600 {
    background-color: #2563eb !important;
    color: white !important;
}
.dark-mode button.bg-blue-600:hover {
    background-color: #1d4ed8 !important;
}
.dark-mode button.bg-green-600 {
    background-color: #059669 !important;
    color: white !important;
}
.dark-mode button.bg-green-600:hover {
    background-color: #047857 !important;
}

/* Text and border colors */
.dark-mode .text-gray-900,
.dark-mode .text-gray-800,
.dark-mode .text-gray-700,
.dark-mode .text-gray-600,
.dark-mode .text-gray-500,
.dark-mode .text-gray-400,
.dark-mode .text-gray-300,
.dark-mode .text-gray-200,
.dark-mode .text-gray-100,
.dark-mode .text-primary-600,
.dark-mode .text-primary-700,
.dark-mode .text-primary-800,
.dark-mode .text-primary-900,
.dark-mode .text-blue-600,
.dark-mode .text-blue-700,
.dark-mode .text-green-600,
.dark-mode .text-green-700,
.dark-mode .text-red-600,
.dark-mode .text-red-700,
.dark-mode .text-yellow-600,
.dark-mode .text-yellow-700,
.dark-mode .text-indigo-600,
.dark-mode .text-indigo-700,
.dark-mode .text-purple-600,
.dark-mode .text-purple-700,
.dark-mode .text-pink-600,
.dark-mode .text-pink-700,
.dark-mode .text-white,
.dark-mode .text-black {
    color: #e5e7eb !important;
}

.dark-mode .border-gray-200,
.dark-mode .border-gray-300,
.dark-mode .border-gray-400,
.dark-mode .border-gray-500,
.dark-mode .border-gray-600,
.dark-mode .border-gray-700,
.dark-mode .border-gray-800,
.dark-mode .border-gray-900,
.dark-mode .border-primary-600,
.dark-mode .border-blue-600,
.dark-mode .border-green-600,
.dark-mode .border-red-600,
.dark-mode .border-yellow-600,
.dark-mode .border-indigo-600,
.dark-mode .border-purple-600,
.dark-mode .border-pink-600,
.dark-mode .border-white,
.dark-mode .border-black {
    border-color: #374151 !important;
}

.dark-mode .drop-zone-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
    border-color: #4b5563 !important;
}

.dark-mode .drop-zone-gradient.dragover {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%) !important;
    border-color: #3b82f6 !important;
}

.dark-mode .toast {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

.dark-mode .bg-gray-900 {
    background-color: #111827 !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-badge.warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-badge.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.log-line {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin: 0.25rem 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.log-line.info { color: #1e40af; }
.log-line.warn { color: #92400e; }
.log-line.error { color: #dc2626; }
.log-line.success { color: #059669; }

.timestamp {
    color: #6b7280;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.dark-mode .status-badge.success {
    background-color: #166534;
    color: #d1fae5;
    border: 1px solid #a7f3d0;
}

.dark-mode .status-badge.warning {
    background-color: #78350f;
    color: #fef3c7;
    border: 1px solid #fde68a;
}

.dark-mode .status-badge.error {
    background-color: #991b1b;
    color: #fee2e2;
    border: 1px solid #fecaca;
}

.dark-mode .log-line.info { color: #93c5fd !important; }
.dark-mode .log-line.warn { color: #fde68a !important; }
.dark-mode .log-line.error { color: #fecaca !important; }
.dark-mode .log-line.success { color: #d1fae5 !important; }
.dark-mode .timestamp { color: #9ca3af !important; }
