/* Custom Styles for PicUploader */
:root {
    --accent: #6366f1;
    --accent-hover: #4f46e5;
}

body {
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
}

/* Custom text inputs styling - High contrast & crystal clear visibility */
input[type="text"],
input[type="password"],
textarea,
.custom-input {
    background-color: #0f172a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #818cf8 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border: 1px solid #334155 !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
.custom-input:focus {
    background-color: #1e293b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #6366f1 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4) !important;
}

input::placeholder,
textarea::placeholder,
.custom-input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    opacity: 1 !important;
}

/* Glassmorphism effects */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Safe area padding for mobile notch/home bar */
.safe-pb {
    padding-bottom: env(safe-area-inset-bottom, 1rem);
}

.safe-pt {
    padding-top: env(safe-area-inset-top, 1rem);
}

/* Custom transitions */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.slide-fade-enter-active {
    transition: all 0.4s ease-out;
}
.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateY(20px);
    opacity: 0;
}

/* Slideshow Ken Burns effect */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.ken-burns {
    animation: kenburns 15s ease-in-out infinite alternate;
}

/* Hide scrollbar for clean horizontal scrolls */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Print styles for QR table tents */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .print-card {
        border: 2px solid #000;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}
