/* === CREATE PAGE === */

.create-page {
    min-height: 100vh;
    padding: 120px 0 80px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.progress-step--active .progress-step__num {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: var(--gold);
}

.progress-step__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.progress-step--active .progress-step__label {
    color: var(--gold);
}

.progress-step__line {
    width: 80px;
    height: 1px;
    background: var(--border);
    margin: 0 16px;
    margin-bottom: 24px;
}

/* Grid Layout */
.create-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.create-section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Upload Zone */
.upload-zone {
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.upload-zone.drag-over {
    transform: scale(1.01);
}

.upload-zone__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    text-align: center;
}

.upload-zone__icon {
    margin-bottom: 8px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(-6px); opacity: 0.8; }
}

.upload-zone__text {
    font-size: 1.1rem;
    font-weight: 500;
}

.upload-zone__sub {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.upload-zone__hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Preview nach Upload */
.upload-preview {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
}

.upload-preview img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: block;
}

.upload-preview__info {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

.upload-preview__name {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* Style Selector */
.style-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.style-option {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    user-select: none;
}

.style-option:hover {
    border-color: var(--border-light);
    background: var(--surface-2);
}

.style-option--selected {
    border-color: var(--gold) !important;
    background: var(--gold-dim) !important;
}

.style-option__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: #0A0A0F;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    z-index: 2;
}

.style-option__img {
    width: 100px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-2);
    flex-shrink: 0;
}

.style-option__body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.style-option__check {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
}

.style-option--selected .style-option__check {
    background: var(--gold);
    border-color: var(--gold);
    color: #0A0A0F;
}

.style-option__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
}

.style-option__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Generate Button */
#generateBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

#generateBtn:not(:disabled) {
    cursor: pointer;
}

.generate-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .create-grid {
        grid-template-columns: 1fr;
    }
    .progress-step__line { width: 40px; }
}
