/* Loader */
.loader-container { width: 80%; text-align: center; }

.progress-track {
    width: 100%; height: 20px; background: #222;
    border-radius: 10px; border: 1px solid #00d1ff; overflow: hidden;
}

.progress-fill {
    width: 0%; height: 100%; background: #00d1ff;
    box-shadow: 0 0 20px #00d1ff; transition: width 0.3s ease;
}

#status-text { margin-top: 20px; font-size: 1.2rem; color: #fff; }

/* Popup Overlay */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup {
    background: #222;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #444;
    text-align: center;
    width: 80%;
    height: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.popup h3 { margin-top: 0; color: #ff4757; font-size: 3rem}
.popup p { color: #ccc; line-height: 1.5; font-size: 2rem }

.popup-buttons { display: flex; gap: 15px; margin-top: 25px; justify-content: center; }

button {
    padding: 24px 50px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
    font-size: 2rem
}

button:active { transform: scale(0.95); }
.btn-yes { background: #700f0f; color: white; }
.btn-no { background: #555; color: white; }