/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 4px;
}

body {
    background-color: #050505; /* Solid Black */
    -webkit-tap-highlight-color: transparent; 
}

.market-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:active {
    transform: scale(0.98);
}

.badge-buka {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Glowing Login Button */
.glow-login-btn {
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.2); border-color: #7f1d1d; color: #9ca3af; }
    50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.8), inset 0 0 10px rgba(220, 38, 38, 0.4); border-color: #ef4444; color: #ffffff; }
    100% { box-shadow: 0 0 5px rgba(220, 38, 38, 0.2); border-color: #7f1d1d; color: #9ca3af; }
}

.badge-tutup {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Glossy Red Button */
.btn-prediksi {
    background: linear-gradient(to bottom, #ef4444 0%, #dc2626 40%, #b91c1c 60%, #991b1b 100%);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.8);
    color: white;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid #7f1d1d;
    transition: all 0.2s;
}

.btn-prediksi:active {
    background: linear-gradient(to bottom, #991b1b 0%, #b91c1c 40%, #dc2626 60%, #ef4444 100%);
    transform: scale(0.98);
}

/* Modal Animations */
.modal-active {
    display: flex !important;
}
.modal-show {
    opacity: 1 !important;
}
.modal-show > div {
    transform: scale(1) !important;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #2a0000, #1a0000);
    color: #ff4444;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    margin: 0.15rem;
    border: 1px solid #7f1d1d;
    box-shadow: 0 2px 3px rgba(0,0,0,0.5);
}
