.upload-hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.upload-hero h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
    font-weight: 700;
}

.upload-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.6;
}

.upload-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.upload-step {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.upload-step h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}

.step-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.file-label {
    display: block;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.file-label:hover {
    border-color: #667eea;
    background: #f5f5ff;
}

.file-label input[type='file'] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-label__text {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.file-label__hint {
    display: block;
    font-size: 0.875rem;
    color: #999;
}

.upload-form label {
    display: block;
    margin-bottom: 1.5rem;
}

.upload-form label:not(.file-label) {
    font-weight: 600;
    color: #333;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.upload-form input[type='text'],
.upload-form input[type='url'],
.upload-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.upload-form input[type='text']:focus,
.upload-form input[type='url']:focus,
.upload-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.upload-form textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #e53e3e;
}

.optional {
    color: #999;
    font-weight: normal;
    font-size: 0.875rem;
}

.preview-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.preview-block h3 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    color: #333;
}

.inline-preview-shell {
    min-height: 300px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    overflow: hidden;
}

.preview-empty {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.ghost-button {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ghost-button:hover {
    background: #f5f5f5;
    border-color: #999;
}

.primary {
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.primary:hover:not(:disabled) {
    background: #5568d3;
}

.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.upload-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.upload-status.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.inline-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 300px;
    position: relative;
}

.inline-preview__label {
    position: absolute;
    top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 2px;
}

.light-label {
    left: 8px;
}

.dark-label {
    right: 8px;
}

.inline-preview__frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.inline-preview__frame.light {
    border-right: 1px solid #ddd;
}

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

    .upload-hero h1 {
        font-size: 2rem;
    }

    .upload-content {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .upload-step {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }
}
