@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #f59e0b;
    --background-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.antridong-container {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-main);
    min-height: 100vh;
    padding: 20px;
}

/* Queue Header Card */
.queue-status-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.queue-number-display {
    font-size: 5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.queue-estimation {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Ready for Pickup Section */
.ready-orders-card {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.ready-orders-card h3 {
    color: #10b981;
    margin-top: 0;
    margin-bottom: 15px;
}

.ready-numbers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.ready-number-badge {
    background: #10b981;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    padding: 10px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.menu-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.menu-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.menu-content {
    padding: 20px;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.menu-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s;
}

.menu-btn:hover {
    background: var(--primary-hover);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-gradient);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modal Styling */
.antridong-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #1e293b;
    padding: 30px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.denomination-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.denom-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.denom-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Apply Manrope to Numbers */
.queue-number-display, 
.queue-estimation, 
.menu-price, 
.cart-total, 
.ready-number-badge, 
#cart-count,
#final-queue-number,
#antridong-waiting-count,
    font-family: 'Manrope', sans-serif !important;
    font-variant-numeric: tabular-nums;
}

/* Responsive Header Grid Refined */
.res-header-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 35px;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}

.res-header-info {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.res-header-qr {
    flex-shrink: 0;
    text-align: center;
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 650px) {
    .res-header-grid {
        padding: 20px;
        gap: 20px;
    }
    .res-header-info, .res-header-qr {
        flex: 0 0 100% !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .res-header-info {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .res-header-info h1 {
        font-size: 1.4rem !important;
    }
}

