.jmfu-frontend-uploader {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.jmfu-frontend-uploader h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1d2327;
}

.jmfu-frontend-drop {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jmfu-frontend-drop:hover,
.jmfu-frontend-drop.drag-over {
    border-color: #0073aa;
    background: #eff6ff;
}

.jmfu-frontend-drop.drag-over {
    transform: scale(1.01);
}

.jmfu-frontend-drop p {
    margin: 8px 0;
    color: #64748b;
}

.jmfu-browse-link {
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.jmfu-browse-link:hover {
    color: #005177;
}

.jmfu-help-text {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 12px !important;
}

/* File Preview */
#jmfu-frontend-file-list {
    margin-top: 15px;
}

.jmfu-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
}

.jmfu-file-item .file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jmfu-file-item .file-icon {
    font-size: 18px;
}

.jmfu-file-item .file-name {
    font-weight: 500;
    color: #334155;
    font-size: 14px;
}

.jmfu-file-item .file-size {
    color: #94a3b8;
    font-size: 12px;
}

.jmfu-file-item .file-remove {
    color: #ef4444;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
}

.jmfu-file-item .file-remove:hover {
    background: #fef2f2;
}

/* Buttons */
.jmfu-btn-primary {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 12px 8px 0 0;
    transition: background 0.2s;
}

.jmfu-btn-primary:hover {
    background: #005a87;
}

.jmfu-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.jmfu-btn-secondary:hover {
    background: #e2e8f0;
}

/* Progress */
.jmfu-progress-bar {
    width: 100%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.jmfu-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #005a87);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

#jmfu-frontend-progress-text {
    text-align: center;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

/* Results */
#jmfu-frontend-results {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

#jmfu-frontend-results.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

#jmfu-frontend-results.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

#jmfu-frontend-results ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* Login Required */
.jmfu-login-required {
    text-align: center;
    padding: 30px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
}

.jmfu-login-required a {
    color: #0073aa;
    font-weight: 600;
}
