/* ==========================================================
   Rotaryana Branch Pricelist App - Custom Stylesheet
   Mobile-First & High Performance UI
   ========================================================== */

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
}

/* Glassmorphism & Card elevation */
.card-shadow {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

.card-shadow-lg {
    box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
}

/* Dynamic Anti-Screenshot Watermark Layer */
.watermark-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    overflow: hidden;
    opacity: 0.12;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    align-content: space-around;
    user-select: none;
    -webkit-user-select: none;
}

.watermark-text {
    transform: rotate(-25deg);
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-align: center;
}

/* Keypad Button Styling for PIN Login */
.keypad-btn {
    transition: all 0.15s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.keypad-btn:active {
    transform: scale(0.92);
    background-color: #e2e8f0;
}

/* PIN Indicator Dots */
.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 2px solid #94a3b8;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-dot.filled {
    background-color: #0284c7;
    border-color: #0284c7;
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modal Transitions */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

/* Subtle Shimmer for Loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Badge Pulse Animation for Locked Status */
@keyframes badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.04); }
}

.animate-badge-pulse {
    animation: badge-pulse 2s infinite ease-in-out;
}
