/**
 * Create Event Modal Styles
 * Multi-step form styling
 */

/* ========================================
   MODAL OVERLAY
======================================== */
.create-event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    padding: 20px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.create-event-modal.active {
    display: flex;
}

/* ========================================
   MODAL CONTAINER
======================================== */
.modal-container {
    background: linear-gradient(135deg, #1a3d3d 0%, #0d2626 100%);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 255, 34, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   MODAL HEADER
======================================== */
.create-event-modal .modal-header {
    display: block;
    padding: 24px 30px;
    padding-right: 60px;
    position: relative;
    border-bottom: none;
    background: none;
}

.create-event-modal .modal-header h2 {
    color: #8BFF22;
    font-size: 28px;
    margin: 0 0 6px 0;
    font-weight: 700;
    line-height: 1.2;
}

.create-event-modal .modal-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

.create-event-modal .close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 0;
}

.create-event-modal .close-modal:hover {
    color: #8BFF22;
    background: rgba(139, 255, 34, 0.1);
    transform: rotate(90deg);
}

/* ========================================
   PROGRESS BAR
======================================== */
.progress-container {
    padding: 20px 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-circle {
    background: #8BFF22;
    border-color: #8BFF22;
    color: #0F2A2A;
    box-shadow: 0 0 20px rgba(139, 255, 34, 0.5);
}

.progress-step.completed .progress-step-circle {
    background: rgba(139, 255, 34, 0.3);
    border-color: #8BFF22;
    color: #8BFF22;
}

.progress-step-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* ========================================
   TOAST NOTIFICATIONS
======================================== */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a3d3d 0%, #0d2626 100%);
    border-radius: 12px;
    border-left: 4px solid #8BFF22;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.error {
    border-left-color: #ff4d4d;
}

.toast-notification.success {
    border-left-color: #4CAF50;
}

.toast-notification .icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-notification .message {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-notification.removing {
    animation: slideOutRight 0.3s ease-out forwards;
}

/* ========================================
   CATEGORY GRID
======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.category-item {
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 255, 34, 0.3);
    transform: translateY(-2px);
}

.category-item.selected {
    background: rgba(139, 255, 34, 0.15);
    border-color: #8BFF22;
    box-shadow: 0 4px 12px rgba(139, 255, 34, 0.3);
}

.category-item .icon {
    font-size: 36px;
    color: #8BFF22;
    display: block;
}

.category-item .name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.category-item input[type="radio"] {
    display: none;
}

.progress-step.active .progress-step-label {
    color: #8BFF22;
    font-weight: 600;
}

/* ========================================
   PROGRESS CONTAINER
======================================== */
.progress-container {
    padding: 20px 30px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 -30px;
    width: calc(100% + 60px);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8BFF22, #6ED717);
    width: 0;
    transition: width 0.3s ease;
}

/* ========================================
   MODAL BODY
======================================== */
.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(139, 255, 34, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 255, 34, 0.5);
}

/* ========================================
   FORM STEPS
======================================== */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label .required {
    color: #ff4444;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #8BFF22;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 255, 34, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

select.form-control {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

select.form-control option {
    background: #1a3d3d;
    color: #fff;
    padding: 10px;
}

/* ========================================
   RADIO BUTTONS
======================================== */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 150px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-label {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.radio-option input[type="radio"]:checked + .radio-label {
    background: rgba(139, 255, 34, 0.1);
    border-color: #8BFF22;
    color: #8BFF22;
}

.radio-label:hover {
    border-color: rgba(139, 255, 34, 0.5);
}

/* ========================================
   CHECKBOX
======================================== */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #8BFF22;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

/* ========================================
   CONDITIONAL FIELDS
======================================== */
.conditional-fields {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #8BFF22;
}

/* ========================================
   FEATURES
======================================== */
.features-input-group {
    display: flex;
    gap: 10px;
    align-items: end;
}

.features-input-group #feature_text {
    flex: 1;
}

.features-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(139, 255, 34, 0.05);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 8px;
}

.feature-title {
    flex: 1;
    color: #fff;
    font-weight: 500;
}

.btn-remove-feature {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    color: #ff4444;
    transition: all 0.3s ease;
    font-size: 12px;
}

.btn-remove-feature:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
}

/* ========================================
   SPEAKERS SECTION
======================================== */
.speakers-section {
    margin-bottom: 20px;
}

.speaker-input-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.speakers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.speaker-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(139, 255, 34, 0.05);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 12px;
}

.speaker-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.speaker-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #8BFF22;
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    color: #8BFF22;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.speaker-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.speaker-bio {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
}

.btn-remove-speaker {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    color: #ff4444;
    transition: all 0.3s ease;
    font-size: 12px;
    white-space: nowrap;
}

.btn-remove-speaker:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
}

/* ========================================
   AGENDA SECTION
======================================== */
.agenda-section {
    margin-bottom: 20px;
}

.agenda-input-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* ── Multi-Day Agenda: Info Bar + Day Tabs ── */
.agenda-day-info {
    background: rgba(139, 255, 34, 0.06);
    border: 1px solid rgba(139, 255, 34, 0.15);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.agenda-day-info strong {
    color: #8BFF22;
}

.agenda-day-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.agenda-day-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.3;
}

.agenda-day-tab:hover {
    background: rgba(139, 255, 34, 0.08);
    border-color: rgba(139, 255, 34, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.agenda-day-tab.active {
    background: rgba(139, 255, 34, 0.12);
    border-color: rgba(139, 255, 34, 0.5);
    color: #fff;
    box-shadow: 0 0 8px rgba(139, 255, 34, 0.15);
}

.agenda-day-tab small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1px;
}

.agenda-day-tab.active small {
    color: rgba(139, 255, 34, 0.6);
}

.agenda-day-tab-badge {
    display: inline-block;
    background: rgba(139, 255, 34, 0.2);
    color: #8BFF22;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Agenda Toolbar ── */
.agenda-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: rgba(139, 255, 34, 0.04);
    border: 1px solid rgba(139, 255, 34, 0.1);
    border-radius: 8px;
}

.agenda-count-badge {
    font-size: 12px;
    color: rgba(139, 255, 34, 0.7);
    font-weight: 600;
}

.agenda-toolbar-right {
    display: flex;
    gap: 8px;
}

.btn-agenda-tool {
    background: rgba(139, 255, 34, 0.08);
    border: 1px solid rgba(139, 255, 34, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-agenda-tool:hover {
    background: rgba(139, 255, 34, 0.15);
    border-color: rgba(139, 255, 34, 0.4);
    color: #fff;
}

.btn-agenda-tool-danger {
    background: rgba(255, 68, 68, 0.06);
    border-color: rgba(255, 68, 68, 0.2);
    color: rgba(255, 68, 68, 0.8);
}

.btn-agenda-tool-danger:hover {
    background: rgba(255, 68, 68, 0.15);
    border-color: rgba(255, 68, 68, 0.4);
    color: #ff4444;
}

/* ── Agenda List ── */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Agenda Item — View Mode ── */
.agenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(139, 255, 34, 0.04);
    border: 1px solid rgba(139, 255, 34, 0.15);
    border-radius: 10px;
    border-left: 3px solid #8BFF22;
    transition: all 0.2s;
    cursor: default;
}

.agenda-item:hover {
    background: rgba(139, 255, 34, 0.08);
    border-color: rgba(139, 255, 34, 0.25);
}

/* ── Drag Handle ── */
.agenda-drag-handle {
    cursor: grab;
    color: rgba(255, 255, 255, 0.25);
    font-size: 18px;
    line-height: 1;
    padding: 4px 2px;
    user-select: none;
    transition: color 0.2s;
    flex-shrink: 0;
}

.agenda-drag-handle:hover {
    color: rgba(139, 255, 34, 0.6);
}

.agenda-item-dragging {
    opacity: 0.4;
    border-style: dashed;
}

.agenda-drag-over {
    border-color: #8BFF22 !important;
    background: rgba(139, 255, 34, 0.12) !important;
    box-shadow: 0 0 0 2px rgba(139, 255, 34, 0.15);
}

/* ── Time Badge ── */
.agenda-time {
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.agenda-time-badge {
    background: rgba(139, 255, 34, 0.15);
    color: #8BFF22;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.agenda-duration-badge {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Content ── */
.agenda-content {
    flex: 1;
    min-width: 0;
}

.agenda-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.agenda-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.agenda-speaker {
    color: #8BFF22;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.agenda-speaker::before {
    content: '🎤';
}

/* ── Item Actions (edit / remove) ── */
.agenda-item-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.btn-agenda-edit {
    background: rgba(139, 255, 34, 0.08);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    font-size: 13px;
}

.btn-agenda-edit:hover {
    background: rgba(139, 255, 34, 0.15);
    color: #8BFF22;
}

.btn-remove-agenda {
    background: rgba(255, 68, 68, 0.06);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    color: rgba(255, 68, 68, 0.6);
    transition: all 0.2s;
    font-size: 13px;
}

.btn-remove-agenda:hover {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

/* ── Agenda Item — Edit Mode ── */
.agenda-item-editing {
    background: rgba(139, 255, 34, 0.06);
    border-color: rgba(139, 255, 34, 0.4);
    border-left-width: 3px;
    padding: 16px;
    cursor: default;
}

.agenda-edit-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agenda-edit-row {
    display: flex;
    gap: 10px;
}

.agenda-edit-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agenda-edit-field label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-edit-time {
    flex: 0 0 100px;
}

.agenda-edit-input {
    font-size: 13px !important;
    padding: 6px 10px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(139, 255, 34, 0.25) !important;
}

.agenda-edit-input:focus {
    border-color: #8BFF22 !important;
    box-shadow: 0 0 0 2px rgba(139, 255, 34, 0.1) !important;
}

.agenda-edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-agenda-save {
    background: rgba(139, 255, 34, 0.15);
    border: 1px solid rgba(139, 255, 34, 0.4);
    color: #8BFF22;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-agenda-save:hover {
    background: rgba(139, 255, 34, 0.25);
    border-color: #8BFF22;
}

.btn-agenda-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-agenda-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── Auto-Assign Dialog ── */
.agenda-auto-dialog {
    background: rgba(13, 38, 38, 0.95);
    border: 1px solid rgba(139, 255, 34, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.agenda-auto-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #8BFF22;
}

.agenda-auto-preview {
    max-height: 180px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

/* ========================================
   IMAGE UPLOAD
======================================== */
.image-upload-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-box {
    border: 2px dashed rgba(139, 255, 34, 0.3);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #8BFF22;
    background: rgba(139, 255, 34, 0.05);
}

.upload-box input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.upload-box img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: none;
    margin: 10px auto;
}

/* AI Image Badge */
.ai-image-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(139, 255, 34, 0.2), rgba(139, 255, 34, 0.1));
    border: 1px solid rgba(139, 255, 34, 0.4);
    color: #8BFF22;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
    letter-spacing: 0.3px;
    animation: aiBadgePulse 2s ease-in-out infinite;
}

@keyframes aiBadgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.upload-box:has(.ai-image-badge[style*="display:block"]),
.upload-box:has(.ai-image-badge[style*="display: block"]) {
    border-color: rgba(139, 255, 34, 0.5);
    background: rgba(139, 255, 34, 0.03);
}

/* ========================================
   PREVIEW
======================================== */
.preview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.preview-header {
    margin-bottom: 20px;
}

.preview-title {
    font-size: 24px;
    color: #8BFF22;
    margin-bottom: 10px;
}

.preview-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.preview-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.preview-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.preview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-feature {
    background: rgba(139, 255, 34, 0.1);
    border: 1px solid rgba(139, 255, 34, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #8BFF22;
}

/* ========================================
   MODAL FOOTER
======================================== */
.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.modal-footer > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-modal {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-prev {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #8BFF22, #6ED717);
    color: #0F2A2A;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 255, 34, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 255, 34, 0.4);
}

.btn-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    color: #ff4444;
    border-color: #ff4444;
}

.btn-modal:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step-label {
        display: none;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-option {
        min-width: 100%;
    }
    
    .features-input-group {
        grid-template-columns: 1fr;
    }
    
    .image-upload-group {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-modal {
        width: 100%;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ========================================
   EARLY BIRD PRICING
======================================== */
.early-bird-section {
    background: rgba(139, 255, 34, 0.05);
    border: 1px solid rgba(139, 255, 34, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.early-bird-section:hover {
    border-color: rgba(139, 255, 34, 0.3);
}

.early-bird-header {
    margin-bottom: 0;
}

.early-bird-header label {
    color: #8BFF22;
    font-weight: 600;
    font-size: 14px;
}

.early-bird-fields {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.early-bird-discount {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.early-bird-days {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

/* ========================================
   REVENUE ESTIMATOR
======================================== */
.revenue-estimator {
    background: linear-gradient(135deg, rgba(139, 255, 34, 0.05) 0%, rgba(0, 200, 150, 0.05) 100%);
    border: 1px solid rgba(139, 255, 34, 0.12);
    border-radius: 12px;
    padding: 16px;
    margin: 15px 0;
}

.revenue-estimator-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.revenue-slider-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.revenue-slider-group label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.revenue-slider-group label span {
    color: #8BFF22;
    font-weight: 600;
}

.revenue-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.2s;
}

.revenue-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8BFF22;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139, 255, 34, 0.3);
    transition: transform 0.2s;
}

.revenue-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.revenue-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8BFF22;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(139, 255, 34, 0.3);
}

.revenue-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.revenue-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.revenue-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.revenue-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.revenue-stat-highlight {
    background: rgba(139, 255, 34, 0.1);
    border: 1px solid rgba(139, 255, 34, 0.2);
}

.revenue-stat-highlight .revenue-stat-value {
    color: #8BFF22;
}

/* ========================================
   PROMO CODES
======================================== */
.promo-code-input-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
}

.promo-codes-list {
    margin-top: 10px;
}

.promo-code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.promo-code-item:hover {
    border-color: rgba(139, 255, 34, 0.2);
}

.promo-code-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-code-badge {
    background: rgba(139, 255, 34, 0.15);
    color: #8BFF22;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    font-family: monospace;
    letter-spacing: 1px;
}

.promo-code-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.promo-code-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.promo-code-remove:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* ========================================
   GROUP DISCOUNT
======================================== */
.group-discount-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
}

.group-discount-preview {
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   TICKET TIERS
======================================== */
.ticket-tiers-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
}

.tier-presets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.btn-tier-preset {
    background: rgba(139, 255, 34, 0.08);
    border: 1px solid rgba(139, 255, 34, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-tier-preset:hover {
    background: rgba(139, 255, 34, 0.15);
    border-color: rgba(139, 255, 34, 0.4);
}

.ticket-tier-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 36px 12px 12px;
    margin-top: 8px;
    transition: all 0.2s;
}

.ticket-tier-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tier-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.tier-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.tier-item-icon {
    font-size: 22px;
}

.tier-item-info {
    display: flex;
    flex-direction: column;
}

.tier-item-name {
    font-size: 14px;
    color: #fff;
}

.tier-item-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.tier-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.tier-item-price {
    font-size: 16px;
    font-weight: 700;
}

.tier-item-qty {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.tier-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-perk-tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
}

.tier-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

.tier-item-remove:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.tier-revenue-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.tier-rev-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    min-width: 100px;
}

.tier-rev-bar-wrap {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.tier-rev-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.tier-rev-price {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    min-width: 60px;
    text-align: right;
}
