/* Custom Styles for premium aesthetics & Mobile App Shell */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* Native Mobile App Feel */
html, body {
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
    touch-action: manipulation;
}

/* Safe Area Support for iOS / Android Notches & Home Indicator */
.safe-top {
    padding-top: env(safe-area-inset-top, 0px);
}
.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Glassmorphism effects */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.app-glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.08);
}

.app-glass-header {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.slide-up-sheet {
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Form focus ring styling */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
    outline: none;
}

/* Status dots */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.orange { background-color: #f97316; box-shadow: 0 0 5px #f97316; }
.status-dot.blue { background-color: #3b82f6; box-shadow: 0 0 5px #3b82f6; }
.status-dot.green { background-color: #22c55e; box-shadow: 0 0 5px #22c55e; }

/* Mobile App Main Content Bottom Clearance for Fixed Tab Bar */
@media (max-width: 767px) {
    /* Hide scrollbar on mobile for cleaner app look */
    ::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }
}
