/* =============================================
   Event Creation Wizard Styles
   Dark Luxury Theme
   ============================================= */

.wizard-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a192f 0%, #112240 100%);
    color: #ffffff;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Header */
.wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wizard-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #8892b0;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #d4af37;
}

.wizard-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-name {
    font-size: 0.875rem;
    color: #8892b0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #0a192f;
    font-size: 0.875rem;
}

/* Progress Steps */
.wizard-progress {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #8892b0;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.75rem;
    color: #5a6a8a;
    text-align: center;
    max-width: 80px;
}

.progress-step.active .step-number {
    background: #d4af37;
    border-color: #d4af37;
    color: #0a192f;
}

.progress-step.active .step-label {
    color: #d4af37;
}

.progress-step.completed .step-number {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #d4af37;
}

.progress-step.completed .step-label {
    color: #8892b0;
}

/* Main Content */
.wizard-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

/* Step Container */
.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.section-desc {
    color: #a8b2d1;
    margin: 0 0 2rem 0;
}

/* Event Type Cards */
.event-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.event-type-card {
    position: relative;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-type-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.event-type-card.selected {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}

.event-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.event-type-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.event-type-name {
    font-weight: 500;
}

/* Form */
.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .event-type-card {
        flex-direction: column !important;
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #a8b2d1;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a6a8a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #0a192f;
    color: #ffffff;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Theme Selection */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.theme-card {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.theme-card.selected {
    border-color: #d4af37;
}

.theme-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-preview {
    height: 60px;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.theme-name {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* Theme colors */
.theme-preview.elegant-gold {
    background: linear-gradient(135deg, #0a192f 50%, #d4af37 50%);
}

.theme-preview.professional-blue {
    background: linear-gradient(135deg, #1e3a5f 50%, #3b82f6 50%);
}

.theme-preview.warm-coral {
    background: linear-gradient(135deg, #1c1917 50%, #f97316 50%);
}

.theme-preview.festive-purple {
    background: linear-gradient(135deg, #0f0a1e 50%, #a855f7 50%);
}

.theme-preview.nature-green {
    background: linear-gradient(135deg, #0a1f0d 50%, #22c55e 50%);
}

/* Schedule Builder */
.schedule-builder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.schedule-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.schedule-item input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.schedule-item input:first-child {
    max-width: 100px;
}

.schedule-item .remove-btn {
    width: 36px;
    height: 36px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 0.5rem;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-item .remove-btn:hover {
    background: rgba(220, 53, 69, 0.2);
}

.add-schedule-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 0.5rem;
    color: #d4af37;
    cursor: pointer;
    transition: all 0.2s;
}

.add-schedule-btn:hover {
    background: rgba(212, 175, 55, 0.15);
}

/* Contacts Builder */
.contacts-builder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
    .contact-item {
        grid-template-columns: 1fr 1fr;
    }

    .contact-item .remove-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Preview Panel */
.preview-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.preview-header {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-device-toggle {
    display: flex;
    gap: 0.5rem;
}

.device-btn {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #8892b0;
    cursor: pointer;
}

.device-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
}

.preview-frame {
    padding: 1.25rem;
    display: flex;
    justify-content: center;
}

.preview-mobile {
    width: 320px;
    height: 568px;
    background: #0a192f;
    border-radius: 2rem;
    border: 3px solid #333;
    padding: 1rem;
    overflow: hidden;
}

.preview-mobile iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    color: #0a192f;
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.nav-btn.success {
    background: #28a745;
    border: none;
    color: #ffffff;
}

.nav-btn.success:hover {
    background: #218838;
}

/* Publish Success */
.publish-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i,
.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.publish-success h2 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
}

.publish-success p {
    color: #a8b2d1;
    margin: 0 0 2rem 0;
}

.invite-link-box {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.invite-link-box input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.copy-link-btn {
    padding: 0.875rem 1.25rem;
    background: #d4af37;
    border: none;
    border-radius: 0.5rem;
    color: #0a192f;
    font-weight: 600;
    cursor: pointer;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.email {
    background: #8892b0;
}