﻿/* Custom splash screen styles */
.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.splash-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.splash-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.splash-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

/* Use consistent gradient for both light and dark themes */
/* Previously had a dark theme override that made the splash look like solid navy blue */

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .splash-title {
        font-size: 1.8rem;
    }
    .splash-tagline {
        font-size: 0.95rem;
    }
    .splash-logo {
        width: 80px;
        height: 80px;
    }
}

/* Prevent iOS Safari auto-zoom on input focus (requires font-size >= 16px) */
input, textarea, select {
    font-size: 16px !important;
}

/* Drop zone styles for file upload */
.drop-zone-active {
    outline: 3px dashed #3b82f6 !important;
    outline-offset: -3px;
    background-color: rgba(59, 130, 246, 0.1) !important;
}
