/* Story submission & CTA styles */
.share-story-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 70%, #000) 100%);
    border-radius: 8px;
    color: #fff;
}

@media (max-width: 768px) {
    .share-story-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}

.share-story-cta__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.share-story-cta__content h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.share-story-cta__content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 15px;
}

.share-story-cta__action .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    white-space: nowrap;
}

.share-story-cta__action .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.story-intro__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.story-intro__lead {
    font-size: 18px;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}

.story-intro__step-card {
    background: #f7f5f1;
    padding: 28px 24px;
    border-radius: 8px;
    height: 100%;
    text-align: center;
}

.story-intro__step-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.story-intro__step-card p {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
}

.story-intro__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.story-intro__tips {
    background: #f7f5f1;
    padding: 28px 32px;
    border-radius: 8px;
}

.story-intro__tips h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.story-intro__tips ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.story-intro__tips li {
    margin-bottom: 8px;
    color: #555;
}

.story-wizard__steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.story-wizard__step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.story-wizard__step-indicator.is-active,
.story-wizard__step-indicator.is-complete {
    opacity: 1;
}

.story-wizard__step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.story-wizard__step-indicator.is-active .story-wizard__step-circle,
.story-wizard__step-indicator.is-complete .story-wizard__step-circle {
    background: var(--primary-color);
    color: #fff;
}

.story-wizard__step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .story-wizard__step-label {
        display: none;
    }
}

.story-wizard__progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.story-wizard__progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.story-wizard__panel {
    background: #fff;
    border: 2px solid #f7f5f1;
    padding: 36px 32px;
    border-radius: 8px;
}

.story-wizard__panel h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.story-wizard__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.story-wizard__upload {
    position: relative;
}

.story-wizard__upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}

.story-wizard__upload-label:hover {
    border-color: var(--primary-color);
}

.story-wizard__file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.story-wizard__preview img {
    max-height: 240px;
    object-fit: cover;
    width: 100%;
}

.story-wizard__preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.story-wizard__upload-feedback {
    color: #6a6258;
    font-size: 14px;
    line-height: 1.6;
}

.story-wizard__preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f5f1;
    min-height: 180px;
    box-shadow: 0 16px 30px rgba(30, 25, 18, 0.08);
}

.story-wizard__preview-card.is-featured {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.story-wizard__preview-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.story-wizard__preview-remove:hover {
    transform: scale(1.06);
    background: rgba(17, 17, 17, 0.9);
}

.story-wizard__preview-card img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.story-wizard__preview-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-wizard__guide {
    background: #f7f5f1;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
}

.story-wizard__review {
    background: #f7f5f1;
    padding: 28px;
    border-radius: 8px;
}

.story-wizard__review h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.story-wizard__review-image img {
    max-height: 280px;
    object-fit: cover;
    width: 100%;
}

.story-wizard__review-content {
    line-height: 1.8;
    color: #444;
}

.story-wizard__review-content h1,
.story-wizard__review-content h2,
.story-wizard__review-content h3,
.story-wizard__review-content h4,
.story-wizard__review-content h5,
.story-wizard__review-content h6 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.story-wizard__review-content p:last-child {
    margin-bottom: 0;
}

.story-wizard__review-content ul,
.story-wizard__review-content ol {
    padding-left: 20px;
}

.story-wizard__review-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.story-wizard__review-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 110px;
}

.story-wizard__review-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
}

.story-wizard__review-gallery-item span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-success__icon {
    font-size: 72px;
    color: var(--primary-color);
}
