.upload-section {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dropzone {
    border: 2px dashed rgba(212, 167, 106, 0.4);
    border-radius: 14px;
    padding: 1.5rem;
    background: rgba(212, 167, 106, 0.06);
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.drag-over {
    border-color: #d4a76a;
    background: rgba(212, 167, 106, 0.12);
}

.dropzone input[type="file"] {
    position: relative;
    z-index: 2;
    background: transparent;
}

.dropzone-hint {
    margin-top: 0.75rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.95rem;
}

.dropzone-hint i {
    font-size: 1.6rem;
    color: #b38d56;
    margin-bottom: 0.4rem;
}

.upload-form .form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.upload-progress {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.upload-status {
    font-weight: 600;
    color: #b38d56;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-status.active::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(179, 141, 86, 0.3);
    border-top-color: #b38d56;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.progress-item {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.progress-item .progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.4rem;
    gap: 1rem;
}

.progress-item .progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(212, 167, 106, 0.2);
    overflow: hidden;
}

.progress-item .progress-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4a76a, #b38d56);
    transition: width 0.2s ease;
}

.preview-card {
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.preview-card img,
.preview-card video {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #000;
}

.preview-card .preview-info {
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.preview-card .preview-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-uploads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.recent-uploads-grid .recent-item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.recent-uploads-grid img,
.recent-uploads-grid video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #000;
}

.recent-uploads-grid .recent-caption {
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 768px) {
    .upload-section {
        padding: 2rem 1.5rem;
    }
}
