/* Minimal CSS since we are using Tailwind CSS */

body {
    -webkit-tap-highlight-color: transparent;
    min-height: max(884px, 100dvh);
}

.hide-scroll::-webkit-scrollbar { 
    display: none; 
}

.hide-scroll { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Toast Modernization */
.toast-container {
    z-index: 1050;
}

.toast {
    border-radius: 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    font-size: 16px;
    margin-bottom: 10px;
    padding: 15px;
    color: white;
}

.toast.bg-success { background: rgba(27, 109, 36, 0.95) !important; }
.toast.bg-danger { background: rgba(186, 26, 26, 0.95) !important; }
.toast.bg-warning { background: rgba(236, 120, 12, 0.95) !important; }
.toast.bg-info { background: rgba(0, 6, 102, 0.95) !important; }

/* Loader Glass */
#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 1rem;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    display: none;
}

.spinner-border {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 0.3rem;
    border-radius: 50%;
    border-top-color: #000666;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* View transition */
.view-section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}
.view-section.active {
    display: block;
}

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