/* ============================================
   EVENT VISUALIZER — Landing + Form + Preview
   ============================================ */

/* --- Hero --- */
.dj-ev-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0d2847 100%);
    overflow: hidden;
    padding: 89px 0 55px;
}

.dj-ev-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 55px 55px;
    z-index: 1;
}

.dj-ev-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.dj-ev-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(220, 53, 69, 0.5);
    border-radius: 50%;
    animation: djEvFloat 8s ease-in-out infinite;
}

.dj-ev-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.dj-ev-particle:nth-child(2) { top: 40%; left: 85%; animation-delay: 1.3s; }
.dj-ev-particle:nth-child(3) { top: 70%; left: 25%; animation-delay: 2.6s; }
.dj-ev-particle:nth-child(4) { top: 25%; left: 65%; animation-delay: 3.9s; }
.dj-ev-particle:nth-child(5) { top: 80%; left: 75%; animation-delay: 5.2s; }
.dj-ev-particle:nth-child(6) { top: 55%; left: 45%; animation-delay: 6.5s; }

@keyframes djEvFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-34px) scale(1.3); opacity: 1; }
}

.dj-ev-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dj-ev-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 8px 21px;
    border-radius: 55px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 21px;
}

.dj-ev-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 21px;
}

.dj-ev-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 610px;
    margin: 0 auto 34px;
}

.dj-ev-hero-buttons {
    display: flex;
    gap: 13px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.dj-ev-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 13px 34px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.dj-ev-btn-primary:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 21px rgba(220, 53, 69, 0.3);
}

.dj-ev-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 13px 34px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.dj-ev-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.dj-ev-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.dj-ev-stat {
    text-align: center;
}

.dj-ev-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #dc3545;
}

.dj-ev-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dj-ev-stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
}

/* --- Section Headers --- */
.dj-ev-section-header {
    text-align: center;
    margin-bottom: 55px;
}

.dj-ev-section-badge {
    display: inline-block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 5px 18px;
    border-radius: 55px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.dj-ev-section-title {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 13px;
}

.dj-ev-section-desc {
    font-size: 16px;
    color: #6c757d;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Gallery --- */
.dj-ev-gallery-section {
    padding: 89px 0;
    background: #f8f9fa;
}

.dj-ev-gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 13px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dj-ev-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 21px rgba(0, 0, 0, 0.15);
}

.dj-ev-gallery-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.dj-ev-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 24px;
}

.dj-ev-gallery-card:hover .dj-ev-gallery-overlay {
    opacity: 1;
}

.dj-ev-gallery-card-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
}

.dj-ev-gallery-card-badge span {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* --- Gallery Lightbox --- */
.dj-ev-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.dj-ev-lightbox-active {
    display: flex;
}

.dj-ev-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.dj-ev-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-ev-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 34px rgba(0, 0, 0, 0.4);
}

.dj-ev-lightbox-close {
    position: fixed;
    top: 21px;
    right: 21px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-ev-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dj-ev-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-ev-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dj-ev-lightbox-prev {
    left: 21px;
}

.dj-ev-lightbox-next {
    right: 21px;
}

/* --- How It Works --- */
.dj-ev-howitworks {
    padding: 89px 0;
}

.dj-ev-step-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 13px;
    padding: 34px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.dj-ev-step-card:hover {
    border-color: #dc3545;
    box-shadow: 0 8px 34px rgba(220, 53, 69, 0.1);
    transform: translateY(-5px);
}

.dj-ev-step-number {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.dj-ev-step-icon {
    width: 55px;
    height: 55px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 13px auto 21px;
    font-size: 21px;
    color: #dc3545;
}

.dj-ev-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.dj-ev-step-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* --- Pricing --- */
.dj-ev-pricing {
    padding: 89px 0;
    background: #f8f9fa;
}

.dj-ev-price-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 13px;
    padding: 34px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    height: 100%;
}

.dj-ev-price-card--featured {
    border-color: #dc3545;
    box-shadow: 0 8px 34px rgba(220, 53, 69, 0.12);
    transform: scale(1.03);
}

.dj-ev-price-badge-free,
.dj-ev-price-badge-pro {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 21px;
    border-radius: 55px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dj-ev-price-badge-free {
    background: #e9ecef;
    color: #495057;
}

.dj-ev-price-badge-pro {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
}

.dj-ev-price-title {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 13px 0 8px;
}

.dj-ev-price-amount {
    margin-bottom: 21px;
}

.dj-ev-price-currency {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a2e;
    vertical-align: top;
    line-height: 1;
}

.dj-ev-price-value {
    font-size: 55px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.dj-ev-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 21px;
    text-align: left;
}

.dj-ev-price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.dj-ev-price-features li:last-child {
    border-bottom: none;
}

.dj-ev-price-features li i.fa-check {
    color: #28a745;
    font-size: 13px;
}

.dj-ev-price-features li i.fa-times {
    color: #ccc;
    font-size: 13px;
}

.dj-ev-price-feature-disabled {
    color: #adb5bd !important;
}

.dj-ev-price-btn-primary {
    display: block;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 13px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.dj-ev-price-btn-primary:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    color: #fff;
    transform: translateY(-2px);
}

.dj-ev-price-btn-outline {
    display: block;
    background: transparent;
    color: #1a1a2e;
    padding: 13px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.dj-ev-price-btn-outline:hover {
    border-color: #dc3545;
    color: #dc3545;
}

/* --- FAQ --- */
.dj-ev-faq {
    padding: 89px 0;
}

.dj-ev-faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 13px;
    overflow: hidden;
}

.dj-ev-faq-btn {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 15px;
    padding: 18px 21px;
}

.dj-ev-faq-btn:not(.collapsed) {
    background: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

.dj-ev-faq-body {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
}

/* --- CTA --- */
.dj-ev-cta-section {
    position: relative;
    padding: 89px 0;
    background: linear-gradient(135deg, #0a0a1a, #1a1a3e);
    overflow: hidden;
}

.dj-ev-cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.dj-ev-cta-shape-1 {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.08);
}

.dj-ev-cta-shape-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.05);
}

.dj-ev-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.dj-ev-cta-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 13px;
}

.dj-ev-cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 34px;
}

.dj-ev-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 16px 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s;
}

.dj-ev-cta-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 21px rgba(220, 53, 69, 0.4);
}

/* ============================================
   AUTH SECTION (INLINE LOGIN/REGISTER)
   ============================================ */
.dj-ev-auth-section {
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 13px;
    padding: 0;
    margin-bottom: 21px;
    overflow: hidden;
    box-shadow: 0 4px 21px rgba(220, 53, 69, 0.08);
}

.dj-ev-auth-header {
    text-align: center;
    padding: 28px 28px 0;
}

.dj-ev-auth-icon {
    width: 48px;
    height: 48px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 21px;
    margin-bottom: 13px;
}

.dj-ev-auth-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 5px;
}

.dj-ev-auth-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.dj-ev-auth-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-top: 21px;
}

.dj-ev-auth-tab {
    flex: 1;
    padding: 13px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dj-ev-auth-tab:first-child {
    border-right: 1px solid #e9ecef;
}

.dj-ev-auth-tab.active {
    background: #fff;
    color: #dc3545;
    box-shadow: inset 0 -3px 0 #dc3545;
}

.dj-ev-auth-tab:hover:not(.active) {
    background: #f0f0f0;
    color: #495057;
}

.dj-ev-auth-body {
    padding: 21px 28px 28px;
}

.dj-ev-auth-panel {
    display: none;
}

.dj-ev-auth-panel.active {
    display: block;
}

.dj-ev-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.dj-ev-auth-submit:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-1px);
    box-shadow: 0 4px 13px rgba(220, 53, 69, 0.25);
}

.dj-ev-auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dj-ev-auth-welcome {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 16px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 21px;
    font-size: 14px;
    color: #155724;
}

.dj-ev-auth-welcome i {
    font-size: 18px;
    color: #28a745;
    flex-shrink: 0;
}

.dj-ev-auth-welcome strong {
    font-weight: 700;
}

.dj-ev-auth-login-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 8px;
    padding: 13px 18px;
    margin-bottom: 13px;
    font-size: 13px;
    font-weight: 600;
    color: #856404;
}

.dj-ev-auth-login-notice i {
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================
   FORM PAGE
   ============================================ */
.dj-ev-form-page {
    padding: 55px 0 89px;
    background: #f8f9fa;
    min-height: 100vh;
}

.dj-ev-form-header {
    text-align: center;
    margin-bottom: 34px;
}

.dj-ev-form-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 21px;
    transition: color 0.2s;
}

.dj-ev-form-back:hover {
    color: #dc3545;
}

.dj-ev-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 5px 18px;
    border-radius: 55px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
}

.dj-ev-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.dj-ev-form-subtitle {
    font-size: 15px;
    color: #6c757d;
}

.dj-ev-form-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 13px;
    padding: 28px;
    margin-bottom: 21px;
}

.dj-ev-form-section-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 21px;
}

.dj-ev-form-section-icon {
    width: 40px;
    height: 40px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 16px;
    flex-shrink: 0;
}

.dj-ev-form-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.dj-ev-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.dj-ev-form-input {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dj-ev-form-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Venue Toggle */
.dj-ev-venue-toggle-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

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

.dj-ev-venue-toggle-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dj-ev-venue-toggle-card i {
    font-size: 16px;
    color: #6c757d;
    transition: color 0.2s;
}

.dj-ev-venue-toggle-card span {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    transition: color 0.2s;
}

.dj-ev-venue-toggle-option input[type="radio"]:checked + .dj-ev-venue-toggle-card {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.dj-ev-venue-toggle-option input[type="radio"]:checked + .dj-ev-venue-toggle-card i,
.dj-ev-venue-toggle-option input[type="radio"]:checked + .dj-ev-venue-toggle-card span {
    color: #dc3545;
}

/* Layout Grid */
.dj-ev-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

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

.dj-ev-layout-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 18px 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dj-ev-layout-icon-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-ev-layout-svg {
    width: 48px;
    height: 48px;
    color: #6c757d;
    transition: color 0.2s;
}

.dj-ev-layout-card i {
    font-size: 21px;
    color: #6c757d;
    display: block;
    margin-bottom: 8px;
}

.dj-ev-layout-card span {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.dj-ev-layout-option input[type="radio"]:checked + .dj-ev-layout-card {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.dj-ev-layout-option input[type="radio"]:checked + .dj-ev-layout-card i,
.dj-ev-layout-option input[type="radio"]:checked + .dj-ev-layout-card .dj-ev-layout-svg {
    color: #dc3545;
}

.dj-ev-layout-option input[type="radio"]:checked + .dj-ev-layout-card span {
    color: #dc3545;
}

/* Color Picker */
.dj-ev-color-picker-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dj-ev-color-input {
    width: 44px;
    height: 44px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
}

.dj-ev-color-text {
    flex: 1;
}

/* File Upload */
.dj-ev-file-upload {
    position: relative;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 34px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dj-ev-file-upload:hover,
.dj-ev-file-dragover {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.03);
}

.dj-ev-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dj-ev-file-icon {
    font-size: 34px;
    color: #ccc;
    margin-bottom: 8px;
}

.dj-ev-file-text {
    font-size: 14px;
    color: #495057;
    margin-bottom: 5px;
}

.dj-ev-file-hint {
    font-size: 12px;
    color: #adb5bd;
}

.dj-ev-file-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 13px;
}

.dj-ev-file-preview img {
    max-height: 55px;
    max-width: 120px;
    border-radius: 5px;
    object-fit: contain;
}

.dj-ev-file-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-ev-file-upload-sm {
    padding: 21px;
}

.dj-ev-file-icon-sm {
    font-size: 24px !important;
}

.dj-ev-file-preview-doc {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
}

.dj-ev-file-icon-doc {
    font-size: 28px;
    color: #28a745;
}

.dj-ev-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    word-break: break-all;
    flex: 1;
}

.dj-ev-brand-img-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px;
}

.dj-ev-brand-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.dj-ev-brand-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Box */
.dj-ev-form-info-box {
    display: flex;
    gap: 13px;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 8px;
    padding: 18px 21px;
    margin-bottom: 21px;
}

.dj-ev-form-info-box > i {
    color: #0d6efd;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.dj-ev-form-info-box strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 3px;
    font-size: 14px;
}

.dj-ev-form-info-box p {
    margin: 0;
    font-size: 13px;
    color: #495057;
    line-height: 1.5;
}

/* Submit */
.dj-ev-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.dj-ev-form-submit:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 21px rgba(220, 53, 69, 0.3);
}

.dj-ev-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   PREVIEW PAGE
   ============================================ */
.dj-ev-preview-page {
    padding: 55px 0 89px;
    background: #f8f9fa;
    min-height: 100vh;
}

.dj-ev-preview-header {
    margin-bottom: 34px;
}

.dj-ev-preview-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-ev-preview-title i {
    color: #dc3545;
}

.dj-ev-preview-container {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 34px;
}

.dj-ev-preview-image-wrap {
    position: relative;
}

.dj-ev-preview-image {
    width: 100%;
    display: block;
}

.dj-ev-preview-watermark-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 13px;
    border-radius: 55px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.dj-ev-preview-details {
    padding: 21px 28px;
    border-top: 1px solid #e9ecef;
}

.dj-ev-detail-item {
    padding: 8px 0;
}

.dj-ev-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.dj-ev-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-ev-color-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Upgrade Box */
.dj-ev-upgrade-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #ffc107;
    border-radius: 13px;
    padding: 34px;
    text-align: center;
}

.dj-ev-upgrade-content {
    display: flex;
    align-items: center;
    gap: 21px;
    text-align: left;
    margin-bottom: 21px;
}

.dj-ev-upgrade-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.dj-ev-upgrade-text h3 {
    font-size: 21px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 5px;
}

.dj-ev-upgrade-text p {
    font-size: 14px;
    color: #495057;
    margin: 0;
    line-height: 1.5;
}

.dj-ev-upgrade-pricing {
    margin-bottom: 21px;
}

.dj-ev-upgrade-currency {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a2e;
    vertical-align: top;
}

.dj-ev-upgrade-amount {
    font-size: 55px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.dj-ev-upgrade-label {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-top: 3px;
}

.dj-ev-upgrade-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px 21px;
    margin-bottom: 21px;
}

.dj-ev-upgrade-feature {
    font-size: 13px;
    font-weight: 600;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dj-ev-upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 16px 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 13px;
}

.dj-ev-upgrade-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 21px rgba(220, 53, 69, 0.3);
}

.dj-ev-upgrade-secure {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.dj-ev-upgrade-secure i {
    color: #28a745;
}

/* Processing */
.dj-ev-processing {
    text-align: center;
    padding: 89px 0;
}

.dj-ev-processing-spinner {
    width: 55px;
    height: 55px;
    border: 4px solid #e9ecef;
    border-top-color: #dc3545;
    border-radius: 50%;
    margin: 0 auto 21px;
    animation: djEvSpin 0.8s linear infinite;
}

@keyframes djEvSpin {
    to { transform: rotate(360deg); }
}

.dj-ev-processing h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.dj-ev-processing p {
    color: #6c757d;
    font-size: 14px;
}

/* --- Equipment Section --- */
.dj-ev-form-section-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 2px 0 0;
}

.dj-ev-equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dj-ev-equipment-grid .dj-ev-equipment-item--full {
    grid-column: 1 / -1;
}

.dj-ev-equipment-item {
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 72px;
    justify-content: center;
}

.dj-ev-equipment-item:hover {
    border-color: #d1d5db;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dj-ev-equipment-item--active {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.02);
    box-shadow: 0 2px 12px rgba(220, 53, 69, 0.08);
}

.dj-ev-equipment-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    cursor: pointer;
}

.dj-ev-equipment-toggle strong {
    font-size: 14px;
    color: #1a1a2e;
    display: block;
    line-height: 1.3;
}

.dj-ev-equipment-desc {
    font-size: 12px;
    color: #9ca3af;
    margin: 3px 0 0;
    line-height: 1.4;
}

.dj-ev-equipment-options {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #f3f4f6;
}

.dj-ev-form-row {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.dj-ev-form-col {
    flex: 1;
    min-width: 100px;
}

.dj-ev-form-col label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 5px;
    display: block;
}

.dj-ev-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    vertical-align: middle;
}

.dj-ev-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.dj-ev-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d1d5db;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.dj-ev-switch-slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.dj-ev-switch input:checked + .dj-ev-switch-slider {
    background: #dc3545;
}

.dj-ev-switch input:checked + .dj-ev-switch-slider:before {
    transform: translateX(20px);
}

.dj-ev-light-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.dj-ev-light-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #fafbfc;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 110px;
    justify-content: center;
}

.dj-ev-light-option:hover {
    border-color: #d1d5db;
    background: #fff;
}

.dj-ev-light-option input {
    display: none;
}

.dj-ev-light-option input:checked + span {
    color: #dc3545;
    font-weight: 600;
}

.dj-ev-light-option:has(input:checked) {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.04);
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.1);
}

.dj-ev-equipment-item--light {
    padding: 18px;
    background: #fff;
}

.dj-ev-equipment-item--light > label {
    margin-bottom: 0;
}

.dj-ev-equipment-item--light > label strong {
    font-size: 14px;
    color: #1a1a2e;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* --- Venue Two-Step Dropdown --- */
.dj-ev-venue-search-wrap {
    position: relative;
}

.dj-ev-venue-search-wrap #evVenueSearchInput {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.dj-ev-venue-search-wrap #evVenueSelect {
    margin-top: 0 !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* --- Remix / Render Mode Tabs --- */
.dj-ev-remix-mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 21px;
}

.dj-ev-remix-tab {
    padding: 10px 21px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #374151;
    flex: 1;
    text-align: center;
}

.dj-ev-remix-tab.active {
    border-color: #6366f1;
    background: #6366f1;
    color: #fff;
}

.dj-ev-remix-tab:hover:not(.active) {
    border-color: #6366f1;
    color: #6366f1;
}

.dj-ev-remix-dropzone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 34px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dj-ev-remix-dropzone:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

.dj-ev-remix-dropzone p {
    margin: 0 0 13px;
    color: #6b7280;
    font-size: 14px;
}

/* ============================================
   Paid Preview — Render Grid (2x2 Square)
   ============================================ */
.dj-ev-paid-render-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 13px;
}

.dj-ev-paid-render-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.dj-ev-paid-render-item:hover {
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.15);
}

.dj-ev-paid-render-img {
    width: 100%;
    display: block;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.dj-ev-paid-render-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 21px;
}

/* ============================================
   Paid Preview — Toolbar (tags + actions)
   ============================================ */
.dj-ev-paid-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-top: 1px solid #e9ecef;
    gap: 13px;
    flex-wrap: wrap;
}

.dj-ev-paid-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dj-ev-paid-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    background: #f1f3f5;
    padding: 4px 10px;
    border-radius: 21px;
}

.dj-ev-paid-tag i {
    font-size: 10px;
    color: #6c757d;
}

.dj-ev-paid-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dj-ev-paid-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.dj-ev-paid-action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.dj-ev-paid-action-new {
    background: #6366f1;
    color: #fff;
}

.dj-ev-paid-action-new:hover {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.3);
}

.dj-ev-paid-action-3d {
    background: #059669;
    color: #fff;
}

.dj-ev-paid-action-3d:hover {
    background: #047857;
    color: #fff;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.3);
}

.dj-ev-paid-action-pdf {
    background: #d97706;
    color: #fff;
}

.dj-ev-paid-action-pdf:hover {
    background: #b45309;
    color: #fff;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

/* ============================================
   Paid Preview — CTA Box (Horizontal Compact)
   ============================================ */
.dj-ev-paid-cta-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 18px 21px;
    margin-top: 13px;
}

.dj-ev-paid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 21px;
}

.dj-ev-paid-cta-text {
    flex: 1;
    min-width: 0;
}

.dj-ev-paid-cta-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 3px;
}

.dj-ev-paid-cta-desc {
    font-size: 13px;
    color: #495057;
    margin: 0;
}

.dj-ev-paid-cta-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.dj-ev-paid-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dj-ev-paid-cta-primary:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.3);
}

.dj-ev-paid-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #fff;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dj-ev-paid-cta-secondary:hover {
    border-color: #6c757d;
    color: #1a1a2e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .dj-ev-hero-title { font-size: 34px; }
    .dj-ev-hero-subtitle { font-size: 16px; }
    .dj-ev-section-title { font-size: 28px; }
    .dj-ev-cta-title { font-size: 28px; }
}

@media (max-width: 767px) {
    .dj-ev-hero { min-height: 520px; padding: 55px 0 34px; }
    .dj-ev-hero-title { font-size: 28px; }
    .dj-ev-hero-stats { gap: 21px; }
    .dj-ev-stat-number { font-size: 21px; }
    .dj-ev-layout-grid { grid-template-columns: repeat(2, 1fr); }
    .dj-ev-upgrade-content { flex-direction: column; text-align: center; }
    .dj-ev-price-card--featured { transform: none; }
    .dj-ev-hero-buttons { flex-direction: column; align-items: center; }
    .dj-ev-paid-toolbar { flex-direction: column; align-items: flex-start; }
    .dj-ev-paid-toolbar-right { width: 100%; }
    .dj-ev-paid-action-btn { flex: 1; justify-content: center; }
    .dj-ev-paid-cta-inner { flex-direction: column; text-align: center; }
    .dj-ev-paid-cta-buttons { justify-content: center; }
    .dj-ev-equipment-grid { grid-template-columns: 1fr; }
    .dj-ev-light-presets { flex-direction: column; }
    .dj-ev-light-option { min-width: unset; }
}

@media (max-width: 575px) {
    .dj-ev-hero-title { font-size: 24px; }
    .dj-ev-form-section { padding: 21px; }
    .dj-ev-upgrade-box { padding: 21px; }
    .dj-ev-form-title { font-size: 24px; }
    .dj-ev-venue-toggle-wrap { grid-template-columns: 1fr; }
    .dj-ev-brand-thumb { width: 55px; height: 55px; }
    .dj-ev-auth-body { padding: 18px 21px 21px; }
    .dj-ev-auth-header { padding: 21px 21px 0; }
    .dj-ev-auth-tab { font-size: 13px; padding: 10px; }
    .dj-ev-paid-render-grid { grid-template-columns: 1fr 1fr; gap: 5px; padding: 8px; }
    .dj-ev-paid-cta-box { padding: 13px; }
    .dj-ev-paid-cta-title { font-size: 14px; }
    .dj-ev-paid-cta-desc { font-size: 12px; }
    .dj-ev-paid-cta-buttons { flex-direction: column; width: 100%; }
    .dj-ev-paid-cta-primary,
    .dj-ev-paid-cta-secondary { justify-content: center; }
    .dj-ev-paid-toolbar-right { flex-direction: column; }
    .dj-ev-paid-action-btn { justify-content: center; width: 100%; }
}

/* ── Page Layout (2-Column: Form + Chat Sidebar) ── */
.dj-ev-page-layout {
    display: flex;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    align-items: flex-start;
}

.dj-ev-form-column {
    flex: 1;
    min-width: 0;
}

/* ── AI Chat Sidebar ── */
.dj-ev-chat-sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 200px;
    align-self: flex-start;
    height: calc(100vh - 220px);
    margin-left: 0;
}

.dj-ev-chat-sidebar-inner {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.dj-ev-chat-sidebar-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 12px 16px;
    flex-shrink: 0;
    max-height: 50px;
    display: flex;
    align-items: center;
}

.dj-ev-chat-sidebar-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-ev-chat-sidebar-emoji {
    font-size: 20px;
    line-height: 1;
}

.dj-ev-chat-sidebar-title {
    font-size: 13px;
    display: block;
}

.dj-ev-chat-sidebar-subtitle {
    font-size: 11px;
    margin: 1px 0 0;
    opacity: 0.85;
}

.dj-ev-chat-sidebar-quick {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafafa;
    flex-shrink: 0;
}

.dj-ev-chat-sidebar-quick-label {
    font-size: 10px;
    color: #6b7280;
    margin: 0 0 4px;
}

.dj-ev-chat-sidebar-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.dj-ev-quick-btn {
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    color: #374151;
}

.dj-ev-quick-btn:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
    color: #6366f1;
}

.dj-ev-chat-sidebar-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.dj-ev-chat-msg {
    padding: 10px 14px;
    margin: 6px 0;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
}

.dj-ev-chat-msg.bot {
    background: #f3f4f6;
    color: #1f2937;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.dj-ev-chat-msg.user {
    background: #6366f1;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    text-align: right;
}

.dj-ev-chat-msg.dj-ev-chat-typing {
    color: #9ca3af;
    font-style: italic;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
}

.dj-ev-chat-sidebar-input {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
}

.dj-ev-chat-sidebar-input-wrap {
    display: flex;
    gap: 8px;
}

.dj-ev-chat-sidebar-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.dj-ev-chat-sidebar-field:focus {
    border-color: #6366f1;
}

.dj-ev-chat-sidebar-send {
    padding: 10px 18px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dj-ev-chat-sidebar-send:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.dj-ev-chat-color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ── Mobile Chat Toggle (visible only on <=1024px) ── */
.dj-ev-chat-toggle-mobile {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #6366f1;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dj-ev-chat-toggle-mobile:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.dj-ev-chat-toggle-icon {
    font-size: 24px;
    color: #fff;
    line-height: 1;
}

/* ── Responsive: Sidebar → Mobile Overlay ── */
@media (max-width: 1024px) {
    .dj-ev-page-layout {
        flex-direction: column;
        max-width: 720px;
    }

    .dj-ev-form-column {
        max-width: 100%;
    }

    .dj-ev-chat-sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.5);
        padding: 20px;
    }

    .dj-ev-chat-sidebar--mobile-open {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dj-ev-chat-sidebar--mobile-open .dj-ev-chat-sidebar-inner {
        max-width: 420px;
        width: 100%;
        max-height: calc(100vh - 40px);
        box-shadow: 0 8px 34px rgba(0, 0, 0, 0.25);
    }

    .dj-ev-chat-toggle-mobile {
        display: flex;
    }
}

/* Decor Reference Upload */
.dj-ev-decor-subtitle {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.55;
    margin-bottom: 13px;
}

.dj-ev-decor-preview-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 13px;
    position: relative;
}

.dj-ev-decor-preview-img {
    max-height: 89px;
    max-width: 144px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #dee2e6;
}
