/* ===== Upload Overlay ===== */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.upload-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.upload-card {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
}

.upload-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
}

.upload-close:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.upload-icon {
    font-size: 3rem;
    color: #3B82F6;
    margin-bottom: 1.5rem;
    background: #EFF6FF;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.upload-area {
    border: 2px dashed #D1D5DB;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: all 0.2s;
    background: #F9FAFB;
}

.upload-area:hover, .upload-area.drag-over {
    border-color: #3B82F6;
    background: #EFF6FF;
}

.upload-text {
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.upload-subtext {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.upload-progress {
    margin-top: 1.5rem;
    display: none;
}

.progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #3B82F6;
    width: 0%;
    transition: width 0.3s ease;
}

.upload-status {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4B5563;
}

.upload-btn-float {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111827;
    color: white;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 990;
    transition: all 0.2s;
}

.upload-btn-float:hover {
    transform: scale(1.1);
    background: #3B82F6;
}
