/* Admin Uploader Styles */

.uploader-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.uploader-header {
    text-align: center;
    margin-bottom: 3rem;
}

.uploader-header h2 {
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.upload-settings {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group select, .form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group select:focus, .form-group input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: #121216;
}

.dropzone {
    border: 1px dashed rgba(255,255,255,0.2);
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.drop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.drop-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.drop-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.browse-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(5px);
}

.browse-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.file-input {
    display: none;
}

/* Progress Area */
.progress-container {
    margin-top: 3rem;
    display: none;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.file-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.file-name {
    font-size: 0.9rem;
    width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-progress-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    margin: 0 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.file-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.file-status {
    width: 100px;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-success { color: #4caf50; }
.status-error { color: #f44336; }

/* Mobile Responsiveness for Admin */
@media (max-width: 600px) {
    .uploader-container { margin: 2rem auto; padding: 0 1rem; }
    .upload-settings { flex-direction: column; gap: 1rem; }
    .dropzone { padding: 3rem 1rem; }
    .dropzone > div[style] { flex-direction: column; gap: 1rem; }
    .browse-btn { width: 100%; }
    .file-name { width: 30%; font-size: 0.8rem; }
}
