
        .zib-advanced-uploader {
            max-width: 900px;
            margin: 30px auto;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
        }
        .uploader-header {
            background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
            color: #fff;
            padding: 30px;
            text-align: center;
        }
        .uploader-header h3 {
            margin: 0;
            font-size: 26px;
            font-weight: 600;
        }
        .uploader-header p {
            margin: 10px 0 0;
            opacity: 0.9;
            font-size: 14px;
        }
        .uploader-body {
            padding: 30px;
        }
        .form-group {
            margin-bottom: 25px;
        }
        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }
        .file-upload-btn {
            display: inline-block;
            background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
            color: #fff;
            padding: 14px 32px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            border: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .file-upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .file-upload-btn:active {
            transform: translateY(0);
        }
        .file-upload-icon {
            margin-right: 8px;
            font-size: 18px;
        }
        .file-input-hidden {
            display: none;
        }
        .selected-file-name {
            margin-top: 12px;
            padding: 10px 15px;
            background: #f0f7ff;
            border-radius: 10px;
            font-size: 13px;
            color: #2271b1;
            display: inline-block;
        }
        .image-preview {
            margin-top: 20px;
            text-align: center;
            display: none;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 16px;
            border: 1px solid #e9ecef;
        }
        .image-preview img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 0px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
        }
        .checkbox-group input {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        .checkbox-group label {
            margin: 0;
            cursor: pointer;
        }
        .crop-options, .watermark-options {
            margin-top: 15px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border: 1px solid #e9ecef;
        }
        .option-row {
            margin-bottom: 15px;
        }
        .option-row select, .option-row input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
        }
        .option-row select:focus, .option-row input:focus {
            border-color: #2271b1;
            outline: none;
            box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
        }
        .size-inputs {
            display: flex;
            gap: 10px;
        }
        .size-inputs input {
            flex: 1;
        }
        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
            color: #fff;
            padding: 16px 30px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        .upload-progress {
            text-align: center;
            padding: 40px;
            background: #f8f9fa;
            border-radius: 16px;
            margin-top: 20px;
            display: none;
        }
        .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #2271b1;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .upload-result {
            margin-top: 25px;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 16px;
            display: none;
        }
        .upload-success {
            text-align: center;
        }
        .success-icon {
            font-size: 48px;
            color: #28a745;
            margin-bottom: 15px;
            display: inline-block;
        }
        .upload-success img {
            max-width: 100%;
            max-height: 400px;
            border-radius: 0px;
            margin: 15px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        .download-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #28a745;
            color: #fff;
            padding: 12px 28px;
            text-decoration: none;
            border-radius: 50px;
            margin-top: 15px;
            transition: all 0.3s;
        }
        .download-link:hover {
            background: #218838;
            color: #fff;
            transform: translateY(-2px);
        }
        .file-info {
            margin-top: 15px;
            padding: 15px;
            background: #e9ecef;
            border-radius: 12px;
            font-size: 13px;
            color: #555;
            text-align: left;
        }
        .upload-error {
            text-align: center;
            padding: 20px;
            background: #f8d7da;
            color: #721c24;
            border-radius: 12px;
        }
        .error-icon {
            font-size: 24px;
            margin-right: 8px;
        }
        .permission-denied {
            text-align: center;
            padding: 60px 40px;
            background: #fff3f0;
            border-radius: 20px;
            border: 1px solid #ffccbc;
        }
        .permission-denied .lock-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }
        .permission-denied h3 {
            color: #d32f2f;
            margin: 0 0 10px 0;
        }
        .permission-denied p {
            color: #666;
        }
        @media (max-width: 768px) {
            .uploader-body {
                padding: 20px;
            }
            .uploader-header {
                padding: 20px;
            }
            .uploader-header h3 {
                font-size: 20px;
            }
            .file-upload-btn {
                padding: 12px 24px;
                font-size: 14px;
            }
        }
        