/* 
   Money Counter Custom Styles
   Designed with premium aesthetics and smooth micro-interactions.
*/

:root {
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Card styling */
.money-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.money-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.gradient-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 16px 16px 0 0;
}

/* Denomination listing */
.denom-row {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
    transition: background-color 0.2s ease;
    align-items: center;
}

.denom-row:hover {
    background-color: #f8fafc;
}

.denom-row:last-child {
    border-bottom: none;
}

.denom-badge {
    min-width: 90px;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Sticky totals bar on mobile */
.sticky-totals {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.05);
    z-index: 1020;
    padding: 15px 0;
}

/* Pulse animation for successful status */
@keyframes pulse-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-active {
    animation: pulse-success 0.3s ease-in-out;
}

/* Increment/Decrement Button styles */
.btn-qty {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.15s ease;
}

.btn-qty:active {
    transform: scale(0.9);
}

.input-qty {
    text-align: center;
    font-weight: 600;
    max-width: 80px;
    border-radius: 10px;
}

/* Typography styles */
.text-amount {
    font-family: 'Outfit', 'Inter', monospace;
    font-weight: 700;
}

.subtotal-text {
    font-weight: 600;
    color: #475569;
}

/* Header Navbar style */
.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll adjustment */
html {
    scroll-behavior: smooth;
}
