/* Modal Overlay with Backdrop Blur */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Modal Content Box */
.modal-content {
    background: white;
    padding: 25px 40px; /* Reduced padding (was 40px 50px) */
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    max-width: 400px; /* Slightly narrower max-width */
    width: 90%;
    text-align: center;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: popIn 0.3s ease-out forwards;
}

/* Success Icon Style */
.success-icon-container {
    margin-bottom: 10px; /* Reduced margin (was 20px) */
    color: #28a745;
}
.success-icon {
    width: 48px; /* Reduced icon size (was 64px) */
    height: 48px;
}

/* Typography */
.modal-content h2 {
    margin: 0 0 5px 0;
    color: #212529;
    font-size: 1.5rem; /* Slightly smaller heading */
    font-weight: 700;
}

.modal-content p {
    margin: 0 0 20px 0; /* Reduced bottom spacing (was 30px) */
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.4;
}

/* Progress Bar Container */
.modal-progress-track {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

/* Progress Bar Fill */
.modal-progress-fill {
    height: 100%;
    background-color: #0072CE;
    width: 0%;
    border-radius: 3px;
}

/* Animation Keyframes */
@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 100%; }
}