/* =============================================
   STUDIO UPLOAD PANEL - ConincStudio™
   Floating Upload Panel Component
   Version: 2.0 (SC Class System)
   ============================================= */

.sc-upload-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(145deg, #120A1F, #1B1333);
    backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(245, 179, 1, 0.15);
    border-radius: 24px;
    padding: 20px 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(245, 179, 1, 0.05),
        inset 0 1px 0 rgba(245, 179, 1, 0.05);
    z-index: 1000;
    max-width: 340px;
    min-width: 280px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.sc-upload-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(245, 179, 1, 0.04) 0%,
        rgba(157, 77, 255, 0.02) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.sc-upload-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #F5B301 20%,
        #FF8C42 50%,
        #9D4DFF 80%,
        transparent 100%
    );
    opacity: 0.6;
    border-radius: 2px;
    animation: panelGlow 3s ease-in-out infinite;
}

.sc-upload-panel:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(245, 179, 1, 0.25);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.95),
        0 0 60px rgba(245, 179, 1, 0.08),
        0 0 100px rgba(157, 77, 255, 0.04),
        inset 0 1px 0 rgba(245, 179, 1, 0.08);
}

.sc-upload-handle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.3;
    margin-bottom: 14px;
    cursor: grab;
    text-align: center;
    color: #EEEEEE;
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: opacity 0.3s ease;
    user-select: none;
}

.sc-upload-handle::before {
    content: '✦';
    margin-right: 8px;
    color: #F5B301;
    opacity: 0.5;
}

.sc-upload-handle::after {
    content: '✦';
    margin-left: 8px;
    color: #F5B301;
    opacity: 0.5;
}

.sc-upload-handle:hover {
    opacity: 0.6;
}

.sc-upload-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sc-upload-btn {
    font-size: 0.8rem;
    padding: 10px 18px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    text-align: center;
    flex: 1 0 auto;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.sc-upload-panel input[type="file"] {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sc-upload-panel {
        bottom: 16px;
        right: 16px;  
        left: 16px;
        max-width: none;
        border-radius: 20px;
        padding: 16px 18px;
        min-width: auto;
    }

    .sc-upload-handle {
        font-size: 0.6rem;
        margin-bottom: 10px;
    }

    .sc-upload-btn {
        font-size: 0.75rem;
        padding: 8px 14px;
        min-width: 80px;
        flex: 1 0 40%;
    }
}

@media (max-width: 480px) {
    .sc-upload-panel {
        bottom: 12px;
        right: 12px;
        left: 12px;
        border-radius: 16px;
        padding: 14px 14px;
    }

    .sc-upload-content {
        gap: 8px;
    }

    .sc-upload-btn {
        font-size: 0.7rem;
        padding: 6px 12px;
        min-width: 60px;
        flex: 1 0 45%;
    }
}