/* ========== UPLOAD PROGRESS & TOAST STYLES ========== */

/* Progress Bar Overlay */
#upload-progress {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-progress-container {
    background: #131722;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    min-width: 400px;
    max-width: 90%;
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    transition: width 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.upload-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.upload-status {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.95rem;
}

.upload-percentage {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

/* Toast Notifications */
.upload-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    max-width: 400px;
}

.upload-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.upload-toast-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
}

.upload-toast-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.4);
}

/* Responsive */
@media (max-width: 600px) {
    .upload-progress-container {
        min-width: auto;
        width: 90%;
        padding: 1.5rem;
    }

    .upload-toast {
        right: 1rem;
        bottom: 1rem;
        max-width: calc(100% - 2rem);
    }
}