/* Main Container Styling */
.marketing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Form Styling */
.marketing-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Header Styling */
.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* Progress Bar */
.progress-container {
    background: #f1f3f4;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.progress-step {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.progress-step.active {
    color: #4CAF50;
    font-weight: 600;
}

.progress-step.completed {
    color: #4CAF50;
}

/* Step Sections */
.step-section {
    display: none !important;
    padding: 16px;
}

.step-section.active {
    display: block !important;
}

/* Vehicle Pricing Sections */
.listing-type-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.listing-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sale-pricing-fields,
.rental-pricing-fields {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.sale-pricing-fields.active,
.rental-pricing-fields.active {
    display: grid;
}

/* Category Form Visibility */
.category-form {
    display: none !important;
}

.category-form.active {
    display: block !important;
}

/* Review Section Styling */
.review-container {
    color: #2c3e50;
}

.review-summary {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
    text-transform: uppercase;
}

.summary-value {
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.review-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.review-section-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-section-header h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.review-content {
    padding: 20px;
    color: #2c3e50;
    min-height: 60px;
}

.edit-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-btn:hover {
    background: #5a6fdb;
}

/* Review Detail Items */
.detail-items,
.pricing-summary,
.media-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item,
.pricing-item,
.media-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.detail-item:last-child,
.pricing-item:last-child,
.media-item:last-child {
    border-bottom: none;
}

.detail-label,
.pricing-label,
.media-label {
    font-weight: 600;
    color: #6c757d;
    flex: 1;
}

.detail-value,
.pricing-value,
.media-count {
    color: #2c3e50;
    font-weight: 500;
    flex: 2;
    text-align: right;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
}

.contact-method {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.no-media {
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.step-section.active {
    display: block !important;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Dropify Styling */
.dropify-wrapper {
    background: #fff;
    border: 2px dashed #2c3e50;
    border-radius: 8px;
    min-height: 120px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8px;
    font-size: 11px;
    color: #2c3e50;
    position: relative;
    transition: all 0.2s ease;
}

.dropify-wrapper:hover {
    border-color: #667eea;
    background: #f8f9fe;
}

.dropify-message {
    color: #2c3e50;
    text-align: center;
    font-size: 11px;
    padding: 5px;
}

.dropify-message p {
    color: #2c3e50 !important;
    margin: 0;
    font-size: 10px;
}

.dropify-render {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}

.dropify-clear {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    cursor: pointer;
    display: none;
}

.dropify-wrapper.has-preview .dropify-clear {
    display: flex;
    align-items: center;
    justify-content: center;
}

.multiple-files {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-width: 100%;
    max-height: 100%;
}
:root {
    --primary-color: #003580;
    --secondary-color: #0071c2;
    --accent-color: #febb02;
    --success-color: #008009;
    --error-color: #cc0000;
    --dark-bg: #f5f5f5;
    --card-bg: #ffffff;
    --text-primary: #262626;
    --text-secondary: #6b6b6b;
    --invalid-color: #ff4444;
    --valid-color: #00c851;
    --border-color: #e7e7e7;
    --hover-bg: #f0f2f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 14px;
}

.marketing-container {
    min-height: 100vh;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 100%;
    overflow: hidden;
}

.form-header {
    background: var(--primary-color);
    color: white;
    padding: 24px;
    text-align: center;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

/* Form Content */
.form-content {
    padding: 32px 24px;
}

.step-section {
    display: none;
    padding: 24px;
    min-height: 400px;
}

.step-section.active {
    display: block !important;
}

/* Ensure category forms are visible when set to display block */
.category-form[style*="display: block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.category-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 53, 128, 0.15);
}

.category-card.selected {
    border-color: var(--primary-color);
    background: #f0f6ff;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Form Groups */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-group label {
    position: relative;
    display: inline-block;
}

.form-group input:required + label::after,
.form-group select:required + label::after,
.form-group textarea:required + label::after,
.form-group label[data-required="true"]::after {
    content: "*";
    color: var(--invalid-color);
    margin-left: 4px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

.error-message {
    color: var(--invalid-color);
    font-size: 0.85em;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: "⚠️";
    font-size: 1em;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--valid-color);
    background-color: #f0fff0;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--invalid-color);
    background-color: #fff0f0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-primary);
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 53, 128, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-color);
}

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

/* Checkbox Items */
.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    margin-bottom: 8px;
}

.checkbox-item:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
}

.checkbox-item.selected {
    background: #f0f6ff;
    border-color: var(--primary-color);
}

/* Navigation */
.form-navigation {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #002c5f;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--hover-bg);
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    position: relative;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Error Messages */
.error-message {
    font-size: 12px;
    color: var(--error-color);
    margin-top: 4px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Category Forms */
.category-form {
    display: none;
}

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

/* Step visibility is controlled via .step-section/.active. */

/* Responsive Design */
@media (max-width: 768px) {
    .marketing-container {
        padding: 12px;
    }

    .form-content {
        padding: 24px 16px;
    }

    .progress-container {
        padding: 12px 16px;
    }

    .form-navigation {
        padding: 12px 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .form-group.span-2 {
        grid-column: span 1;
    }

    .step-labels {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .step-indicator {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
} 


/* Step 4: Media Upload Styles */
.media-upload-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.upload-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.upload-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 53, 128, 0.1);
}

.upload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upload-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.optional {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 12px;
}

/* Simple Upload Zones */
.upload-zone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: #f0f6ff;
}

.upload-zone.has-files {
    border-color: var(--success-color);
    background: #f0fff0;
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    color: #999;
    margin-bottom: 10px;
}

.upload-zone h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.upload-zone p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.upload-zone small {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Preview Areas */
.file-preview {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.file-preview-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background: white;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
}

.file-preview-item:last-child {
    margin-bottom: 0;
}

.file-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.file-size {
    font-size: 11px;
    color: #666;
}

.remove-file {
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.remove-file:hover {
    background: #c82333;
}

/* File Preview Styles */
.file-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.file-preview-item:hover {
    background: #e9ecef;
}

.file-icon {
    font-size: 24px;
    min-width: 32px;
    text-align: center;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
    font-size: 14px;
}

.file-size {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.remove-file:hover {
    background: #c82333;
}

/* File Counter */
.file-counter {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
    text-align: center;
}

.file-counter.has-files {
    color: var(--success-color);
    font-weight: 500;
}

/* File-only preview (no images) */
.file-only-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin: 4px 0;
}

.file-only-preview .file-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.file-only-preview .file-name {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

.file-only-preview .file-size {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Vehicle Photo Categories */
.vehicle-photo-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    justify-items: center;
}

.photo-category h4 {
    color: #111;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Larger Preview Grids - Override for different contexts */
.large-image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.large-image-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.large-image-preview:hover {
    transform: scale(1.05);
}

.large-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-image-preview .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.large-image-preview .remove-btn:hover {
    background: #ff3b30;
}

.image-preview .main-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: var(--accent-color);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}

/* Video Preview */
.video-preview {
    margin-top: 20px;
}

.video-preview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.video-preview-item video {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.video-info {
    flex: 1;
}

.video-info h5 {
    color: white;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.video-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.video-preview-item .remove-btn {
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-preview-item .remove-btn:hover {
    background: #ff3b30;
}

/* Document Preview */
.document-preview {
    margin-top: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.document-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #4caf50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.document-info {
    flex: 1;
}

.document-info h5 {
    color: white;
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

.document-item .remove-btn {
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.document-item .remove-btn:hover {
    background: #ff3b30;
}

/* Poster Preview */
.poster-preview {
    margin-top: 20px;
}

.poster-preview-item {
    position: relative;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.poster-preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-preview-item .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.poster-preview-item .remove-btn:hover {
    background: #ff3b30;
}

.poster-preview-item .main-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Upload Guidelines */
.upload-guidelines {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.upload-guidelines h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.upload-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upload-guidelines li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.upload-guidelines li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.upload-guidelines li strong {
    color: white;
}

/* Step 5: Pricing & Contact Styles */
.pricing-contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pricing-section, .contact-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.pricing-section:hover, .contact-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pricing-title, .contact-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

/* Pricing Groups */
.pricing-group {
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.pricing-group.active {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
}

/* Fee Grid */
.fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
}

/* Ticket Categories */
.ticket-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.ticket-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.ticket-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.add-ticket-btn {
    background: linear-gradient(135deg, var(--accent-color), #ff6b35);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.add-ticket-btn:hover {
    background: linear-gradient(135deg, #ff6b35, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.remove-ticket-btn {
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-ticket-btn:hover {
    background: #ff3b30;
}

/* Terms & Conditions */
.terms-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.terms-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.terms-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.terms-grid .checkbox-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.terms-grid .checkbox-item:hover {
    background: #f1f3f4;
    border-color: #667eea;
}

.terms-grid .checkbox-item.required {
    border-left: 4px solid #667eea;
}

.terms-grid .checkbox-item a {
    color: #667eea;
    text-decoration: underline;
}

.terms-grid .checkbox-item a:hover {
    color: #5a6fdb;
}

.terms-note {
    background: #e7f3ff;
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.terms-note p {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.terms-note ul {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    line-height: 1.6;
}

.terms-note ul li {
    margin-bottom: 8px;
}

.terms-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms-note a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Currency and Price Input Styling */
input[type="number"] {
    position: relative;
}

.price-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.currency-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-weight: 600;
    pointer-events: none;
    z-index: 10;
}

.price-input-wrapper input {
    padding-left: 35px;
}

/* Contact Method Pills */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.contact-method-pill {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-contact-container {
        gap: 25px;
    }

    .ticket-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fee-grid {
        grid-template-columns: 1fr;
    }

    .availability-grid {
        grid-template-columns: 1fr;
    }

    .terms-grid .checkbox-item {
        padding: 12px;
    }
}

/* Animation for pricing sections */
.pricing-group {
    display: none;
    transition: all 0.3s ease;
}

.pricing-group.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Special styling for required terms */
.checkbox-item.required::before {
    content: "*";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Step 6: Review & Submit Styles */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-summary {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
}

.review-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.summary-value {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.status-pending {
    color: var(--accent-color) !important;
    background: rgba(255, 193, 7, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
}

/* Review Sections */
.review-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.review-section-header {
    background: rgba(0, 123, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-section-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.edit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-btn:hover {
    background: #ff6b35;
    transform: scale(1.05);
}

.review-content {
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Media Summary */
.media-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.media-count {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-count i {
    color: var(--primary-color);
}

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

.media-preview-small img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Submission Section */
.submission-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 87, 34, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 30px;
}

.submission-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
}

.submission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.submission-checklist h4,
.submission-info h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.checklist-item.complete {
    color: #4caf50;
}

.checklist-item.complete i {
    color: #4caf50;
}

.checklist-item.incomplete {
    color: rgba(255, 255, 255, 0.5);
}

.checklist-item i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.checklist-item.complete i::before {
    content: "\f058"; /* fa-check-circle */
}

.checklist-item.incomplete i::before {
    content: "\f111"; /* fa-circle */
}

.submission-info ul {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
}

.submission-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.submission-info strong {
    color: var(--accent-color);
}

.submission-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submission-note {
    grid-column: 1 / -1;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.submission-note p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.submission-note strong {
    color: white;
}

/* Responsive Design for Review */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .submission-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submission-actions {
        flex-direction: column;
        align-items: center;
    }

    .media-summary {
        flex-direction: column;
        gap: 10px;
    }
}

/* Additional Terms and Navigation Styling */
.terms-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.terms-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-content {
    font-size: 14px;
    line-height: 1.6;
}

.terms-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 0;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-note {
    background: white;
    border-left: 4px solid #667eea;
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
}

.terms-note p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2c3e50;
}

.terms-note ul {
    margin: 0;
    padding-left: 18px;
}

.terms-note li {
    margin-bottom: 5px;
    color: #6c757d;
}

/* Improved Error Styling */
.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* File Preview Improvements */
.file-only-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #495057;
    max-width: 200px;
}

.file-only-preview .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.file-only-preview .remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}