@import url('/mis-entradas-flow.css');

/* Vender entradas — page-specific */
.me-vender-help {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 8px;
    border: 1px solid #ececf0;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.me-vender-help:hover {
    border-color: #ddd6fe;
    background: #fafafa;
}

.me-vender-help__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.me-vender-help__body {
    flex: 1;
    min-width: 0;
}

.me-vender-help__title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
}

.me-vender-help__desc {
    margin: 0;
    font-size: 12px;
    color: #71717a;
}

.me-vender-help__chevron {
    flex-shrink: 0;
    color: #7c3aed;
}

/* Listed manage sheet */
.me-listed-sheet {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.me-listed-sheet[hidden] {
    display: none;
}

.me-listed-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 20, 0.45);
}

.me-listed-sheet__panel {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 20px 20px 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.me-listed-sheet__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.me-listed-sheet__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #7c3aed;
}

.me-listed-sheet__eyebrow-icon {
    flex-shrink: 0;
    color: #7c3aed;
}

.me-listed-sheet__event {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.me-listed-sheet__event-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f5;
}

.me-listed-sheet__event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.me-listed-sheet__event-info {
    flex: 1;
    min-width: 0;
}

.me-listed-sheet__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #18181b;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.me-listed-sheet__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 5px;
    margin: 0;
    font-size: 12px;
    color: #71717a;
    font-weight: 500;
    line-height: 1.4;
}

.me-listed-sheet__meta-icon {
    flex-shrink: 0;
    color: #a1a1aa;
}

.me-listed-sheet__meta-sep {
    color: #d4d4d8;
    margin: 0 1px;
}

.me-listed-sheet__body {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f3;
}

.me-listed-sheet__payout {
    margin-bottom: 16px;
    text-align: center;
}

.me-listed-sheet__payout-label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
}

.me-listed-sheet__payout-amount {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    color: #18181b;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.me-listed-sheet__comparison {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.me-listed-sheet__comparison-delta {
    font-weight: 700;
}

.me-listed-sheet__comparison-delta--gain {
    color: #16a34a;
}

.me-listed-sheet__comparison-delta--loss {
    color: #ea580c;
}

.me-listed-sheet__comparison-text {
    color: #a1a1aa;
    font-weight: 500;
}

.me-listed-sheet__prices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f9fafb;
}

.me-listed-sheet__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #52525b;
    font-weight: 500;
}

.me-listed-sheet__price-row strong {
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
    white-space: nowrap;
}

.me-listed-sheet__price-row--muted strong {
    color: #a1a1aa;
    font-weight: 600;
}

.me-listed-sheet__price-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.me-listed-sheet__price-icon {
    flex-shrink: 0;
    color: #a1a1aa;
}

.me-listed-sheet__price-icon--purple {
    color: #7c3aed;
}

.me-listed-sheet__pending {
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.me-listed-sheet__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

.me-listed-sheet__btn-edit {
    width: 100%;
    gap: 8px;
}

.me-listed-sheet__btn-icon {
    flex-shrink: 0;
}

.me-listed-sheet__btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    border: 1.5px solid #7c3aed;
    border-radius: 10px;
    background: #fff;
    color: #7c3aed;
    font-family: var(--font-roobert, inherit);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.15s;
}

.me-listed-sheet__btn-view:hover {
    background: #f5f3ff;
    color: #7c3aed;
    text-decoration: none;
}

.me-listed-sheet__cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    border: none;
    background: none;
    padding: 8px 4px 0;
    margin-top: 4px;
    font-family: var(--font-roobert, inherit);
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    cursor: pointer;
}

.me-listed-sheet__cancel:hover {
    color: #b91c1c;
}

.me-listed-sheet__cancel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fef2f2;
    color: #dc2626;
    flex-shrink: 0;
}

.me-listed-sheet__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.me-listed-sheet__close:hover {
    background: #e5e7eb;
    color: #18181b;
}

/* Sell / publish modal */
.me-sell-modal__dialog {
    max-width: 440px;
    padding: 22px 22px 20px;
    border-radius: 16px;
}

.me-sell-modal__header {
    margin-bottom: 16px;
}

.me-sell-modal__close {
    border-radius: 50%;
    background: #f3f4f6;
}

.me-sell-event {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.me-sell-event__thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f5;
}

.me-sell-event__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.me-sell-event__info {
    flex: 1;
    min-width: 0;
}

.me-sell-event__name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #18181b;
    line-height: 1.3;
}

.me-sell-event__pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f4f4f5;
    color: #52525b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.me-sell-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.me-sell-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #f0f0f3;
    border-radius: 12px;
    background: #fafafa;
}

.me-sell-ticket__left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.me-sell-ticket__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

.me-sell-ticket__field {
    min-width: 0;
}

.me-sell-ticket__field--right {
    flex-shrink: 0;
    text-align: right;
}

.me-sell-ticket__field-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a1a1aa;
    margin-bottom: 2px;
}

.me-sell-ticket__field-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #18181b;
    line-height: 1.3;
}

.me-sell-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
    font-size: 12px;
    color: #71717a;
    line-height: 1.45;
}

.me-sell-notice__icon {
    flex-shrink: 0;
    line-height: 1.45;
}

.me-sell-price-field {
    margin-bottom: 14px;
}

.me-sell-price-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #18181b;
}

.me-sell-price-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.me-sell-price-input:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.me-sell-price-input__prefix {
    font-size: 18px;
    font-weight: 600;
    color: #71717a;
    flex-shrink: 0;
}

.me-sell-price-input__control {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    border: none;
    background: transparent;
    font-family: var(--font-roobert, inherit);
    font-size: 22px;
    font-weight: 700;
    color: #18181b;
    letter-spacing: -0.02em;
    outline: none;
}

.me-sell-price-input__control::placeholder {
    color: #d4d4d8;
}

.me-sell-price-input:has(.me-sell-price-input__control--error) {
    border-color: #fca5a5;
    box-shadow: none;
}

.me-sell-summary {
    padding: 14px;
    border: 1px solid #f0f0f3;
    border-radius: 12px;
    background: #fafafa;
    margin-bottom: 4px;
}

.me-sell-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.me-sell-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #71717a;
}

.me-sell-summary__row strong {
    font-size: 13px;
    font-weight: 600;
    color: #52525b;
}

.me-sell-summary__fee {
    color: #71717a;
}

.me-sell-summary__divider {
    height: 1px;
    margin: 12px 0;
    background: #ececf0;
}

.me-sell-summary__payout {
    text-align: left;
}

.me-sell-summary__row--payout {
    align-items: baseline;
}

.me-sell-summary__row--payout span {
    font-size: 14px;
    font-weight: 600;
    color: #18181b;
}

.me-sell-summary__payout-amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #7c3aed !important;
    letter-spacing: -0.02em;
}

.me-sell-summary__comparison {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
}

.me-sell-summary__comparison-delta {
    font-weight: 700;
}

.me-sell-summary__comparison-delta--gain {
    color: #16a34a;
}

.me-sell-summary__comparison-delta--loss {
    color: #ea580c;
}

.me-sell-summary__comparison-text {
    color: #a1a1aa;
    font-weight: 500;
}

.me-sell-modal__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.me-sell-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    background: #fff;
    color: #52525b;
    font-family: var(--font-roobert, inherit);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.me-sell-btn-ghost:hover {
    background: #fafafa;
    border-color: #d4d4d8;
}

.me-sell-btn-primary {
    width: auto;
    min-width: 140px;
    min-height: 42px;
}

.me-sell-modal .me-field-error {
    margin-top: 10px;
}
