:root {
    --wenrexa-bg-primary: #0a0a0a;
    --wenrexa-bg-secondary: #141414;
    --wenrexa-bg-tertiary: #101010;
    --wenrexa-bg-card: #1c1c1e;
    --wenrexa-bg-hover: #2c2c2e;
    --wenrexa-border: #38383a;
    --wenrexa-border-subtle: #2c2c2e;
    --wenrexa-text-primary: #f5f5f7;
    --wenrexa-text-secondary: #86868b;
    --wenrexa-text-tertiary: #6e6e73;
    --wenrexa-accent: #c8102e;
    --wenrexa-accent-hover: #e01235;
    --wenrexa-success: #30d158;
    --wenrexa-warning: #ffd60a;
    --wenrexa-error: #ff453a;
    --wenrexa-radius-sm: 8px;
    --wenrexa-radius-md: 12px !important;
    --wenrexa-radius-lg: 16px;
    --wenrexa-radius-xl: 24px;
    --wenrexa-shadow: 0 4px 24px rgba(0,0,0,0.4);
    --wenrexa-transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}




/* Main Container */
.wenrexa-creator {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Header */
.wenrexa-creator-header {
    text-align: center;
    margin-bottom: 24px;
}

.wenrexa-creator-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--wenrexa-text-primary) 0%, var(--wenrexa-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wenrexa-creator-subtitle {
    font-size: 17px;
    color: var(--wenrexa-text-secondary);
    font-weight: 400;
}

/* Horizontal Step Navigation */
.wenrexa-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--wenrexa-bg-secondary);
    border-radius: var(--wenrexa-radius-lg);
    padding: 6px;
    border: 1px solid var(--wenrexa-border-subtle);
    flex-wrap: wrap;
}

.wenrexa-step-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.wenrexa-step-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--wenrexa-radius-md);
    cursor: pointer;
    transition: var(--wenrexa-transition);
    background: transparent;
    border: none;
    font-family: inherit;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

    .wenrexa-step-tab:hover:not(.disabled) {
        background: var(--wenrexa-bg-tertiary);
    }

    .wenrexa-step-tab.active {
        background: var(--wenrexa-bg-tertiary);
    }

    .wenrexa-step-tab.disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

.wenrexa-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wenrexa-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--wenrexa-text-secondary);
    transition: var(--wenrexa-transition);
    flex-shrink: 0;
}

.wenrexa-step-tab.active .wenrexa-step-number {
    background: var(--wenrexa-accent);
    color: white;
}

.wenrexa-step-tab.completed .wenrexa-step-number {
    background: var(--wenrexa-success);
    color: white;
}

    .wenrexa-step-tab.completed .wenrexa-step-number::after {
        content: '✓';
        font-size: 12px;
    }

.wenrexa-step-tab.completed .wenrexa-step-num-text {
    display: none;
}

.wenrexa-step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--wenrexa-text-secondary);
    transition: var(--wenrexa-transition);
}

.wenrexa-step-tab.active .wenrexa-step-label {
    color: var(--wenrexa-text-primary);
}

.wenrexa-step-tab.completed .wenrexa-step-label {
    color: var(--wenrexa-text-primary);
}

/* Connector line between tabs */
.wenrexa-step-connector {
    width: 24px;
    height: 2px;
    background: var(--wenrexa-border);
    transition: var(--wenrexa-transition);
    flex-shrink: 0;
}

    .wenrexa-step-connector.completed {
        background: var(--wenrexa-success);
    }

/* Requirement Indicator Buttons */
.wenrexa-nav-indicators {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 12px;
    border-left: 1px solid var(--wenrexa-border-subtle);
    flex-shrink: 0;
    padding-right: 12px;
}
 

.wenrexa-indicator-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--wenrexa-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--wenrexa-transition);
    font-family: inherit;
}

    .wenrexa-indicator-btn i {
        font-size: 14px;
    }

    .wenrexa-indicator-btn.errors {
        background: rgba(255, 69, 58, 0.15);
        color: var(--wenrexa-error);
    }

        .wenrexa-indicator-btn.errors:hover {
            background: rgba(255, 69, 58, 0.25);
        }

        .wenrexa-indicator-btn.errors.resolved {
            background: rgba(48, 209, 88, 0.15);
            color: var(--wenrexa-success);
        }

            .wenrexa-indicator-btn.errors.resolved:hover {
                background: rgba(48, 209, 88, 0.25);
            }

    .wenrexa-indicator-btn.warnings {
        background: rgba(255, 214, 10, 0.15);
        color: var(--wenrexa-warning);
    }

        .wenrexa-indicator-btn.warnings:hover {
            background: rgba(255, 214, 10, 0.25);
        }

        .wenrexa-indicator-btn.warnings.resolved {
            background: rgba(48, 209, 88, 0.1);
            color: var(--wenrexa-success);
            opacity: 0.6;
        }

    .wenrexa-indicator-btn.active {
        box-shadow: 0 0 0 2px var(--wenrexa-bg-primary), 0 0 0 4px currentColor;
    }

.wenrexa-indicator-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wenrexa-error);
    color: white;
}

.wenrexa-indicator-btn.warnings .wenrexa-indicator-badge {
    background: var(--wenrexa-warning);
    color: #000;
}

.wenrexa-indicator-btn.resolved .wenrexa-indicator-badge {
    display: none;
}
.wenrexa-requirement-item.wenrexa-progress {
   color:white
}
/* Requirements Panel (inside card) */
.wenrexa-requirements-panel {
    display: none;
    padding: 24px;
    animation: wenrexa-fadeIn 0.3s ease;
}

    .wenrexa-requirements-panel.active {
        display: block;
    }

.wenrexa-requirements-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wenrexa-requirements-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

    .wenrexa-requirements-title.errors {
        color: var(--wenrexa-error);
    }

    .wenrexa-requirements-title.warnings {
        color: var(--wenrexa-warning);
    }

    .wenrexa-requirements-title.success {
        color: var(--wenrexa-success);
    }

.wenrexa-requirements-close {
    width: 32px;
    height: 32px;
    border-radius: var(--wenrexa-radius-sm);
    border: none;
    background: var(--wenrexa-bg-secondary);
    color: var(--wenrexa-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--wenrexa-transition);
}

    .wenrexa-requirements-close:hover {
        background: var(--wenrexa-bg-hover);
        color: var(--wenrexa-text-primary);
    }

.wenrexa-requirement-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wenrexa-requirement-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--wenrexa-bg-secondary);
    border-radius: var(--wenrexa-radius-md);
    cursor: pointer;
    transition: var(--wenrexa-transition);
}

    .wenrexa-requirement-item:hover {
        background: var(--wenrexa-bg-hover);
    }

.wenrexa-requirement-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--wenrexa-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.wenrexa-requirement-item.pending .wenrexa-requirement-icon {
    background: rgba(255, 69, 58, 0.15);
    color: var(--wenrexa-error);
}

.wenrexa-requirement-item.success .wenrexa-requirement-icon {
    background: rgba(48, 209, 88, 0.15);
    color: var(--wenrexa-success);
}

.wenrexa-requirement-item.warning .wenrexa-requirement-icon {
    background: rgba(255, 214, 10, 0.15);
    color: var(--wenrexa-warning);
}

.wenrexa-requirement-info {
    flex: 1;
}

.wenrexa-requirement-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
    margin-bottom: 2px;
}

.wenrexa-requirement-status {
    font-size: 12px;
    color: var(--wenrexa-text-tertiary);
}

.wenrexa-requirement-item.success .wenrexa-requirement-status {
    color: var(--wenrexa-success);
}

.wenrexa-requirement-item.pending .wenrexa-requirement-status {
    color: var(--wenrexa-error);
}

.wenrexa-requirement-item.warning .wenrexa-requirement-status {
    color: var(--wenrexa-warning);
}

.wenrexa-requirement-arrow {
    color: var(--wenrexa-text-tertiary);
    font-size: 12px;
}

/* Progress Steps - hidden by default, shown on mobile */
.wenrexa-steps {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.wenrexa-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wenrexa-border);
    transition: var(--wenrexa-transition);
}

    .wenrexa-step-dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--wenrexa-accent);
    }

    .wenrexa-step-dot.completed {
        background: var(--wenrexa-success);
    }

/* Mobile indicators row */
.wenrexa-mobile-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

/* Tablet: hide labels, show only numbers */
@media (max-width: 600px) {
    .wenrexa-step-nav {
        padding: 4px;
        gap: 8px;
    }

    .wenrexa-step-tab {
        padding: 10px 12px;
        gap: 0;
    }

    .wenrexa-step-label {
        display: none;
    }

    .wenrexa-step-connector {
        width: 12px;
    }

    .wenrexa-nav-indicators {
        padding-left: 8px;
        margin-left: 0;
        border-left: none;
    }

    .wenrexa-indicator-btn {
        width: 32px;
        height: 32px;
    }

        .wenrexa-indicator-btn i {
            font-size: 12px;
        }
}

@media (max-width: 420px) {
    .wenrexa-step-nav {
        justify-content: center;
    }

        .wenrexa-step-nav .wenrexa-nav-indicators {
            display: none;
        }

    .wenrexa-mobile-indicators {
        display: flex;
    }

    .wenrexa-steps {
        display: none;
    }
}

/* Main Card */
.wenrexa-card-glass {
    background: var(--wenrexa-bg-card);
    border-radius: var(--wenrexa-radius-xl);
    border: 1px solid var(--wenrexa-border-subtle);
    overflow: hidden;
    box-shadow: var(--wenrexa-shadow);
}

/* Step Content */
.wenrexa-step-content {
    padding: 40px;
    display: none;
    animation: wenrexa-fadeIn 0.4s ease;
}

    .wenrexa-step-content.active {
        display: block;
    }

@keyframes wenrexa-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Upload Zone */
.wenrexa-upload-zone {
    position: relative;
}

.wenrexa-artworks-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
 
    border-radius: var(--wenrexa-radius-md);
    border: 1px solid var(--wenrexa-border-subtle);
    min-height: 52px;
    margin-bottom: 1rem
}

.wenrexa-upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--wenrexa-bg-tertiary);
    border-radius: var(--wenrexa-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .wenrexa-upload-icon svg {
        width: 32px;
        height: 32px;
        stroke: var(--wenrexa-text-secondary);
    }

.wenrexa-upload-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
    margin-bottom: 8px;
}

.wenrexa-upload-hint {
    font-size: 14px;
    color: var(--wenrexa-text-tertiary);
}

.wenrexa-upload-preview {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: none;
}

.wenrexa-upload-zone.has-image .wenrexa-upload-preview {
    display: block;
}

.wenrexa-upload-zone.has-image .wenrexa-upload-placeholder {
    display: none;
}

/* Input Fields */
.wenrexa-field {
    margin-top: 15px;
    position: relative
}


/* Убираем стандартную стрелку */
.wenrexa-field-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px; /* Место для кастомной стрелки */
    background-image: none; /* Убираем стандартную стрелку в некоторых браузерах */
}

/* Кастомная стрелка */
.wenrexa-field-select::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(0deg);
    font-size: 12px;
    color: #333;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 1;
}

.wenrexa-field-select:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}
/* Fallback для старых браузеров */
.wenrexa-field-select select:focus + label::after {
    transform: translateY(-50%) rotate(180deg);
}


/* Для поддержки в старых браузерах */
.wenrexa-field-select::-ms-expand {
    display: none; /* Убираем стрелку в IE */
}

/* Стили при фокусе */
.wenrexa-field-selected select:focus {
    outline: none;
    border-color: #80bdff; /* Цвет как в Bootstrap */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}




.wenrexa-title {
    display: block;
    font-size: 12px;
    font-weight: 200;
    color: var(--wenrexa-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    top: 0;
    left: 0;
}



    .wenrexa-title > i {
        margin: 0rem 0.5rem;
    }

.wenrexa-label {
    display: block;
    font-size: 12px;
    font-weight: 200;
    color: var(--wenrexa-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.7rem 1rem;
}

.wenrexa-input {
    width: 100%;
    background: var(--wenrexa-bg-secondary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    padding: 16px 20px;
    font-size: 17px;
    color: var(--wenrexa-text-primary);
    transition: var(--wenrexa-transition);
    font-family: inherit;
}

    .wenrexa-input:focus {
        outline: none;
        border-color: var(--wenrexa-accent);
        box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
    }

    .wenrexa-input::placeholder {
        color: var(--wenrexa-text-tertiary);
    }

.wenrexa-input-large {
    font-size: 16px;
    font-weight: 500;
    padding: 1.7rem 1.0rem 1.2rem 1.0rem;
    text-align: start;
    letter-spacing: -0.3px;
}

/* для JS автосохранение эффект */
.wenrexa-input.is-valid,
.wenrexa-input.is-valid:focus {
    border-color: #28a745; /* зелёный */
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.25);
}

.wenrexa-input.is-invalid,
.wenrexa-input.is-invalid:focus {
    border-color: #dc3545; /* красный */
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.35);
}

.se-wrapper-wysiwyg.wysiwyg-valid {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.se-wrapper-wysiwyg.wysiwyg-invalid {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

.wenrexa-inline-hint {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #ff5b5b; /* wenrexa-error */
    opacity: 0;
    transition: opacity .25s ease;
}

    .wenrexa-inline-hint.show {
        opacity: 1;
    }

.wenrexa-step-tab.blocked {
    opacity: 0.35;
    cursor: not-allowed !important;
    pointer-events: none;
}


/* Type Selector */
/* Type Grid - Scrollable list */
.wenrexa-type-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
}

    /* Custom scrollbar */
    .wenrexa-type-grid::-webkit-scrollbar {
        width: 6px;
    }

    .wenrexa-type-grid::-webkit-scrollbar-track {
        background: var(--wenrexa-bg-secondary);
        border-radius: 3px;
    }

    .wenrexa-type-grid::-webkit-scrollbar-thumb {
        background: var(--wenrexa-border);
        border-radius: 3px;
    }

        .wenrexa-type-grid::-webkit-scrollbar-thumb:hover {
            background: var(--wenrexa-text-tertiary);
        }

.wenrexa-type-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--wenrexa-bg-secondary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    cursor: pointer;
    transition: var(--wenrexa-transition);
    flex-shrink: 0;
}

    .wenrexa-type-item:hover {
        border-color: var(--wenrexa-border);
        background: var(--wenrexa-bg-hover);
    }

    .wenrexa-type-item.selected {
        border-color: var(--wenrexa-accent);
        background: rgba(200, 16, 46, 0.08);
    }

.wenrexa-type-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--wenrexa-radius-sm);
    background: var(--wenrexa-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--wenrexa-text-secondary);
    flex-shrink: 0;
    transition: var(--wenrexa-transition);
}

.wenrexa-type-img {
    width: 40px;
    height: 40px;
    border-radius: var(--wenrexa-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--wenrexa-text-secondary);
    flex-shrink: 0;
    position: relative;
    transition: var(--wenrexa-transition);
    overflow: hidden
}


    .wenrexa-type-img > img {
        background-size: contain;
        position: absolute;
        height: inherit;
        width: inherit;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }


.wenrexa-type-item:hover .wenrexa-type-icon {
    color: var(--wenrexa-text-primary);
}

.wenrexa-type-item.selected .wenrexa-type-icon {
    background: rgba(200, 16, 46, 0.15);
    color: var(--wenrexa-accent);
}

.wenrexa-type-info {
    flex: 1;
    min-width: 0;
}

.wenrexa-type-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
    margin-bottom: 2px;
}

.wenrexa-type-desc {
    font-size: 12px;
    color: var(--wenrexa-text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wenrexa-type-item.selected .wenrexa-type-name {
    color: var(--wenrexa-accent);
}

/* Price Section */
.wenrexa-price-section {
    display: block;
    align-items: center;
    gap: 16px;
    background: var(--wenrexa-bg-secondary);
    border-radius: var(--wenrexa-radius-lg);
    padding: 24px;
    margin-top: 15px;
}

.wenrexa-price-input-wrapper {
    flex: 1;
    position: relative;
}

.wenrexa-price-currency {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 600;
    color: var(--wenrexa-text-secondary);
}

.wenrexa-price-input {
    width: 100%;
    background: var(--wenrexa-bg-tertiary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    padding: 16px 20px 16px 48px;
    font-size: 24px;
    font-weight: 600;
    color: var(--wenrexa-text-primary);
    transition: var(--wenrexa-transition);
    font-family: inherit;
}

    .wenrexa-price-input:focus {
        outline: none;
        border-color: var(--wenrexa-accent);
    }

.wenrexa-free-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--wenrexa-bg-tertiary);
    border-radius: var(--wenrexa-radius-md);
    cursor: pointer;
    transition: var(--wenrexa-transition);
}

    .wenrexa-free-toggle:hover {
        background: var(--wenrexa-bg-hover);
    }

    .wenrexa-free-toggle.active {
        background: rgba(48, 209, 88, 0.15);
    }

.wenrexa-toggle-switch {
    width: 44px;
    height: 26px;
    background: var(--wenrexa-border);
    border-radius: 13px;
    position: relative;
    transition: var(--wenrexa-transition);
}

    .wenrexa-toggle-switch::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 22px;
        background: white;
        border-radius: 50%;
        top: 2px;
        left: 2px;
        transition: var(--wenrexa-transition);
    }

.wenrexa-free-toggle.active .wenrexa-toggle-switch {
    background: var(--wenrexa-success);
}

    .wenrexa-free-toggle.active .wenrexa-toggle-switch::after {
        left: 20px;
    }

.wenrexa-toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
}

/* Expandable Section */
.wenrexa-expandable {
    margin-top: 24px;
    border-top: 1px solid var(--wenrexa-border-subtle);
    padding-top: 24px;
}

.wenrexa-expand-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 0;
}

.wenrexa-expand-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--wenrexa-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--wenrexa-transition);
}
    .wenrexa-expand-title:hover {
        color: white; 
    }


.wenrexa-expand-trigger:hover .wenrexa-expand-title {
    color: white;
    transform: scale(1.04);
}

    .wenrexa-expand-trigger:hover .wenrexa-expand-title i {
        color: white;
        transform: scale(1.04);
        transition: transform 0.1s ease;
    }







.wenrexa-expand-icon {
    width: 20px;
    height: 20px;
    transition: var(--wenrexa-transition);
}

.wenrexa-expandable.open .wenrexa-expand-icon {
    transform: rotate(180deg);
}

.wenrexa-expand-content {
    display: none;
    padding-top: 16px;
}

.wenrexa-expandable.open .wenrexa-expand-content {
    display: block;
    animation: wenrexa-fadeIn 0.3s ease;
}

/* Tags */
.wenrexa-tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
 
    border-radius: var(--wenrexa-radius-md);
    border: 1px solid var(--wenrexa-border-subtle);
    min-height: 52px;
}

.wenrexa-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--wenrexa-bg-secondary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--wenrexa-text-primary);
}

.wenrexa-tag-remove {
    width: 16px;
    height: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--wenrexa-transition);
}

    .wenrexa-tag-remove:hover {
        opacity: 1;
    }

.wenrexa-tag-input {
    flex: 1;
    min-width: 100px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--wenrexa-text-primary);
    padding: 6px;
}

    .wenrexa-tag-input:focus {
        outline: none;
    }

/* Navigation */
.wenrexa-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: var(--wenrexa-bg-secondary);
    border-top: 1px solid var(--wenrexa-border-subtle);
}

.wenrexa-btn {
    padding: 14px 28px;
    border-radius: var(--wenrexa-radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wenrexa-transition);
    border: none;
    font-family: inherit;
}

.wenrexa-btn-secondary {
    background: var(--wenrexa-bg-tertiary);
    color: var(--wenrexa-text-primary);
}

    .wenrexa-btn-secondary:hover {
        background: var(--wenrexa-bg-hover);
    }

.wenrexa-btn-primary {
    background: var(--wenrexa-accent);
    color: white;
}

    .wenrexa-btn-primary:hover {
        background: var(--wenrexa-accent-hover);
        transform: translateY(-1px);
    }

    .wenrexa-btn-primary:active {
        transform: translateY(0);
    }

.wenrexa-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quick Info */
.wenrexa-quick-info {
    display: flex;
    gap: 24px;
    padding: 16px 40px;
    background: rgba(200, 16, 46, 0.05);
    border-top: 1px solid var(--wenrexa-border-subtle);
}

.wenrexa-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wenrexa-text-secondary);
}

.wenrexa-info-icon {
    width: 16px;
    height: 16px;
    stroke: var(--wenrexa-success);
}

/* Textarea */
.wenrexa-textarea {
    width: 100%;
    background: var(--wenrexa-bg-secondary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    padding: 16px 20px;
    font-size: 15px;
    color: var(--wenrexa-text-primary);
    transition: var(--wenrexa-transition);
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

    .wenrexa-textarea:focus {
        outline: none;
        border-color: var(--wenrexa-accent);
    }

/* Success State */
.wenrexa-success-screen {
    text-align: center;
    padding: 60px 40px;
}

.wenrexa-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(48, 209, 88, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wenrexa-scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wenrexa-scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.wenrexa-success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--wenrexa-success);
}

.wenrexa-success-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wenrexa-success-text {
    color: var(--wenrexa-text-secondary);
    margin-bottom: 32px;
}

/* File formats chips */
.wenrexa-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
 

    .wenrexa-chip.selected {
        background: rgba(200, 16, 46, 0.15);
        border-color: var(--wenrexa-accent);
        color: var(--wenrexa-text-primary);
    }

/* Helper text */
.wenrexa-helper {
    font-size: 12px;
    color: var(--wenrexa-text-tertiary);
    margin-top: 8px;
}

/* Status Dropdown in Step 1 */
.wenrexa-status-field {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--wenrexa-border-subtle);
}

.wenrexa-status-dropdown {
    position: relative;
}

.wenrexa-status-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--wenrexa-bg-secondary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    cursor: pointer;
    transition: var(--wenrexa-transition);
}

    .wenrexa-status-selected:hover {
        border-color: var(--wenrexa-border);
    }

.wenrexa-status-dropdown.open .wenrexa-status-selected {
    border-color: var(--wenrexa-accent);
}

.wenrexa-status-selected i:first-child {
    font-size: 16px;
    color: var(--wenrexa-success);
}

.wenrexa-status-selected span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
}

.wenrexa-status-arrow {
    font-size: 12px;
    color: var(--wenrexa-text-tertiary);
    transition: var(--wenrexa-transition);
}

.wenrexa-status-dropdown.open .wenrexa-status-arrow {
    transform: rotate(180deg);
}

.wenrexa-status-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--wenrexa-bg-card);
    border: 1px solid var(--wenrexa-border);
    border-radius: var(--wenrexa-radius-md);
    padding: 8px;
    box-shadow: var(--wenrexa-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--wenrexa-transition);
    z-index: 100;
}

.wenrexa-status-dropdown.open .wenrexa-status-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wenrexa-status-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--wenrexa-radius-sm);
    cursor: pointer;
    transition: var(--wenrexa-transition);
}

    .wenrexa-status-option:hover {
        background: var(--wenrexa-bg-hover);
    }

    .wenrexa-status-option.selected {
        background: var(--wenrexa-bg-tertiary);
    }

    .wenrexa-status-option > i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

.wenrexa-status-option-info {
    flex: 1;
}

.wenrexa-status-option-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--wenrexa-text-primary);
    margin-bottom: 2px;
}

.wenrexa-status-option-desc {
    display: block;
    font-size: 12px;
    color: var(--wenrexa-text-tertiary);
}

/* Responsive */
@media (max-width: 768px) {
    .wenrexa-creator {
        padding: 24px 16px;
    }

    .wenrexa-creator-header {
        margin-bottom: 20px;
    }

    .wenrexa-creator-title {
        font-size: 24px;
    }

    .wenrexa-step-content,
    .wenrexa-requirements-panel {
        padding: 20px;
    }

    .wenrexa-type-grid {
        max-height: 280px;
    }

    .wenrexa-nav {
        padding: 16px 20px;
    }

    .wenrexa-price-section {
        flex-direction: column;
    }

    .wenrexa-quick-info {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
}
.wenrexa-tag.is-locked {
    background: #333;
    color: #757575;
}

@media (max-width: 480px) {
    .wenrexa-upload-zone {
        padding: 40px 20px;
    }

    .wenrexa-input-large {
        font-size: 20px;
        padding: 16px 20px;
    }

    .wenrexa-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .wenrexa-requirement-item {
        padding: 12px 14px;
    }
}





.wenrexa-tag.is-busy {
    pointer-events: none;
    opacity: 0.5;
    transition: opacity .25s ease;
}








.input-group > .form-control, .input-group > .form-floating, .input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    width: auto;
    background: var(--wenrexa-bg-secondary);
    border: 1px solid var(--wenrexa-border-subtle);
    border-radius: var(--wenrexa-radius-md);
    padding: 16px 20px;
    color: var(--wenrexa-text-primary);
    transition: var(--wenrexa-transition);
    font-family: inherit;
}



.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: var(--wenrexa-radius-md);
}



.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control, .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select, .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: var(--wenrexa-radius-md);
    border-bottom-right-radius: var(--wenrexa-radius-md);
}









































/* Storage Card */
.wenrexa-file-storage {
    background: #151617;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wenrexa-file-storage-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.wenrexa-file-storage-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wenrexa-file-storage-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

    .wenrexa-file-storage-value span {
        color: rgba(255, 255, 255, 0.4);
    }

/* Progress Bar */
.wenrexa-file-progress {
    height: 6px;
    background: #1c1c1e;
    border-radius: 3px;
    overflow: hidden;
}

.wenrexa-file-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #30d158, #34c759);
    border-radius: 3px;
    transition: width 0.5s ease;
    min-width: 4px;
}

/* Files Container */
.wenrexa-file-container {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

/* File Pill */
.wenrexa-file-pill {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    gap: 14px;
    background: #151617;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

    .wenrexa-file-pill:hover {
        background: #1c1c1e;
        border-color: rgba(255, 255, 255, 0.1);
    }

/* Drag Handle */ 
.wenrexa-file-drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: color 0.2s ease;
    flex-shrink: 0;
    padding: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 17pt;
    color: #3b3b3b;
}

.wenrexa-file-pill:hover .wenrexa-file-drag-handle {
    color: #fff;
}

.wenrexa-file-drag-handle:hover {
    color: #707070 !important;
}

.wenrexa-file-drag-handle:active {
    cursor: grabbing;
}

.wenrexa-file-drag-handle i {
    font-size: 18px;
}

/* Thumbnail */
.wenrexa-file-thumb {
    width: 44px;
    height: 44px;
    background: #1c1c1e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .wenrexa-file-thumb i {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.45);
    }

.wenrexa-file-thumb--image {
    background: linear-gradient(135deg, #5e5ce6 0%, #bf5af2 100%);
    border: none;
}

    .wenrexa-file-thumb--image i {
        color: #ffffff;
    }

.wenrexa-file-thumb--archive {
    background: linear-gradient(135deg, #ff9f0a 0%, #ff375f 100%);
    border: none;
}

    .wenrexa-file-thumb--archive i {
        color: #ffffff;
    }

.wenrexa-file-thumb--video {
    background: linear-gradient(135deg, #ff375f 0%, #ff2d55 100%);
    border: none;
}

    .wenrexa-file-thumb--video i {
        color: #ffffff;
    }

.wenrexa-file-thumb--audio {
    background: linear-gradient(135deg, #ff6482 0%, #ff2d55 100%);
    border: none;
}

    .wenrexa-file-thumb--audio i {
        color: #ffffff;
    }

.wenrexa-file-thumb--document {
    background: linear-gradient(135deg, #0a84ff 0%, #5ac8fa 100%);
    border: none;
}

    .wenrexa-file-thumb--document i {
        color: #ffffff;
    }

/* Main Content */
.wenrexa-file-main {
    flex: 1;
    min-width: 0;
}

.wenrexa-file-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

/* Meta Info */
.wenrexa-file-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

    .wenrexa-file-meta > span {
        display: inline-flex;
        align-items: center;
    }

/* Badge */
.wenrexa-file-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wenrexa-file-badge--public {
    background: rgba(48, 209, 88, 0.15);
    color: #30d158;
}

.wenrexa-file-badge--hidden {
    background: rgba(255, 69, 58, 0.15);
    color: #ff453a;
}

/* Separator Dot */
.wenrexa-file-dot {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Actions */
.wenrexa-file-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.wenrexa-file-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    background: #1c1c1e;
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .wenrexa-file-btn:hover {
        background: #2c2c2e;
        color: #ffffff;
    }

    .wenrexa-file-btn i {
        font-size: 15px;
    }

.wenrexa-file-btn--download:hover {
    background: rgba(10, 132, 255, 0.18);
    color: #0a84ff;
}

.wenrexa-file-btn--edit:hover {
    background: rgba(255, 159, 10, 0.18);
    color: #ff9f0a;
}

.wenrexa-file-btn--delete:hover {
    background: rgba(255, 69, 58, 0.18);
    color: #ff453a;
}

/* Empty State */
.wenrexa-file-empty {
    padding: 60px 20px;
    text-align: center;
    background: #151617;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 16px;
}

.wenrexa-file-empty-icon {
    width: 72px;
    height: 72px;
    background: #1c1c1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .wenrexa-file-empty-icon i {
        font-size: 32px;
        color: rgba(255, 255, 255, 0.3);
    }

.wenrexa-file-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.wenrexa-file-empty-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
       MODAL STYLES - Apple Style
       ======================================== */
.wenrexa-file-modal {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
}

.wenrexa-file-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
}

    .wenrexa-file-modal-header .modal-title {
        font-size: 18px;
        font-weight: 600;
    }

.wenrexa-file-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .wenrexa-file-modal-close:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

.wenrexa-file-modal-body {
    padding: 24px;
}

.wenrexa-file-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    gap: 12px;
}

 


.wenrexa-file-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

 
 

 

/* Modal Buttons */
.wenrexa-file-btn-primary,
.wenrexa-file-btn-secondary,
.wenrexa-file-btn-danger {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wenrexa-file-btn-primary {
    background: #0a84ff;
    color: #ffffff;
}

    .wenrexa-file-btn-primary:hover {
        background: #409cff;
    }

.wenrexa-file-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

    .wenrexa-file-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
    }

.wenrexa-file-btn-danger {
    background: #ff453a;
    color: #ffffff;
}

    .wenrexa-file-btn-danger:hover {
        background: #ff6961;
    }

/* Delete Warning */
.wenrexa-file-delete-warning {
    text-align: center;
    padding: 20px 0;
}

.wenrexa-file-delete-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 69, 58, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

    .wenrexa-file-delete-icon i {
        font-size: 28px;
        color: #ff453a;
    }

.wenrexa-file-delete-warning p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .wenrexa-file-pill {
        padding: 12px 14px;
        gap: 12px;
    }



    .wenrexa-file-name {
        font-size: 14px;
    }

    .wenrexa-file-meta {
        font-size: 11px;
        gap: 6px;
    }

    .wenrexa-file-btn {
        width: 34px;
        height: 34px;
    }

        .wenrexa-file-btn i {
            font-size: 14px;
        }



    .wenrexa-file-actions {
        gap: 4px;
    }

  

    .wenrexa-file-storage-header {
        flex-direction: column;
        gap: 4px;
    }
}
 