/* ===== УЛЬТРА-КОМПАКТНЫЕ СТИЛИ PWA С МИНИМАЛЬНЫМ ЛЕВОРОЖНЫМ ЗАЗОРОМ ===== */
* {
    -webkit-tap-highlight-color: transparent;
}

.pwa-body {
    background: var(--bg-app, #0b0e1b);
    min-height: 100vh;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* АНИМАЦИИ */
@keyframes slideUp {
    from { transform: translateY(100%) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* GLASSMORPHISM И КАРТОЧКИ */
.glass-card {
    background: var(--bg-card, #14182e);
    border: 1px solid var(--border-main, rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow-sm, 0 4px 12px rgba(0,0,0,0.3));
}

.property-card-compact {
    background: var(--bg-card, #14182e);
    border: 1px solid var(--border-main, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm, 0 4px 12px rgba(0,0,0,0.25));
}

.badge-compact {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-daily {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-monthly {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

/* BOTTOM NAV */
.pwa-bottom-nav {
    background: var(--bg-card, #14182e);
    border-top: 1px solid var(--border-main, rgba(255, 255, 255, 0.05));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    height: 68px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.nav-item.active .nav-icon {
    background: rgba(99, 102, 241, 0.15);
}

.fab {
    width: 52px;
    height: 54px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.08);
    position: relative;
    margin-top: -8px;
}

.fab:active {
    transform: scale(0.88);
}

.fab .pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.35);
    animation: fabPulse 2s ease-out infinite;
}

.fab svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.ocr-drop-zone {
    border: 2px dashed var(--border-main, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    background: var(--bg-surface, rgba(255, 255, 255, 0.02));
    cursor: pointer;
}
