/* ========================================
   AIRBNB-STYLE WIZARD - PREMIUM DESIGN
   WITH PROPER CONTAINMENT & COLORS
   ======================================== */

/* CSS Reset for Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Base Styles */
:root {
    --airbnb-red: #FF385C;
    --airbnb-red-dark: #E31C5F;
    --airbnb-red-light: #FFE8E8;
    --airbnb-black: #222222;
    --airbnb-gray-dark: #717171;
    --airbnb-gray: #DDDDDD;
    --airbnb-gray-light: #EBEBEB;
    --airbnb-bg: #FFFFFF;
    --airbnb-bg-secondary: #F7F7F7;
    --success-green: #00A699;
    --success-green-light: #E8F4F3;
    --warning-orange: #FFB400;
    --warning-orange-light: #FFF8E8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.14);
}

/* Wizard Mode Container */
.wizard-mode {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Main Container */
.wizard-container {
    position: relative;
    max-width: 1032px;
    margin: 0 auto;
    background: var(--airbnb-bg);
    min-height: 100vh;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), var(--shadow-lg);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (min-width: 750px) {
    .wizard-container {
        margin: 24px auto;
        min-height: auto;
        border-radius: 32px;
        width: 90%;
        max-width: 1032px;
        overflow: hidden;
    }
}

/* ========================================
   CLOSE BUTTON
   ======================================== */
.wizard-close {
    position: sticky;
    top: 16px;
    right: 16px;
    float: right;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--airbnb-black);
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.wizard-close i {
    font-size: 16px;
}

.wizard-close:hover {
    border-color: var(--airbnb-black);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
    background: white;
}

/* ========================================
   PROGRESS BAR - AIRBNB STYLE
   ======================================== */
.wizard-progress {
    padding: 32px 48px 24px;
    border-bottom: 1px solid var(--airbnb-gray-light);
    background: var(--airbnb-bg);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
    position: relative;
    z-index: 2;
    background: var(--airbnb-bg);
    padding: 0 8px;
    flex: 1;
    min-width: 60px;
}

.step:hover {
    opacity: 0.8;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--airbnb-bg);
    border: 2px solid var(--airbnb-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--airbnb-gray-dark);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
    position: relative;
}

.step.completed .step-number {
    background: var(--success-green);
    border-color: var(--success-green);
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

.step.completed .step-number span {
    display: none;
}

.step.active .step-number {
    border-color: var(--airbnb-red);
    color: var(--airbnb-red);
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 56, 92, 0.15);
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--airbnb-gray-dark);
    transition: color 0.2s ease;
}

.step.active .step-label {
    color: var(--airbnb-red);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--success-green);
}

.progress-bar {
    background: var(--airbnb-gray-light);
    border-radius: 4px;
    height: 4px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--airbnb-red), var(--warning-orange), var(--success-green));
    height: 100%;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.4, 1);
    border-radius: 4px;
}

/* ========================================
   WIZARD CONTENT - PROPER CONTAINMENT
   ======================================== */
.wizard-content {
    padding: 0;
    min-height: 550px;
    overflow-x: hidden;
}

.wizard-step {
    display: none;
    padding: 48px 80px;
    animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .wizard-step {
        padding: 32px 24px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step.active {
    display: block;
}

/* Step Headers */
.step-header {
    text-align: left;
    margin-bottom: 40px;
}

.step-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--airbnb-black);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-header p {
    font-size: 16px;
    color: var(--airbnb-gray-dark);
    line-height: 1.4;
}

/* ========================================
   IMPORT CARD - AIRBNB STYLE
   ======================================== */
.import-card {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 24px;
    border: 1px solid var(--airbnb-gray-light);
}

.import-card i.fa-airbnb {
    font-size: 56px;
    background: linear-gradient(135deg, var(--airbnb-red), var(--airbnb-red-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.import-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--airbnb-black);
}

.url-input-group {
    display: flex;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.url-input-group .form-control {
    flex: 1;
    min-width: 200px;
}

.btn-import {
    background: linear-gradient(135deg, var(--airbnb-red), var(--airbnb-red-dark));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-import:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

.btn-skip {
    background: transparent;
    border: 1px solid var(--airbnb-gray);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
    color: var(--airbnb-black);
}

.btn-skip:hover {
    border-color: var(--airbnb-red);
    color: var(--airbnb-red);
    background: var(--airbnb-red-light);
}

.import-or {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.import-or::before,
.import-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 50px);
    height: 1px;
    background: var(--airbnb-gray);
}

.import-or::before {
    left: 0;
}

.import-or::after {
    right: 0;
}

.import-or span {
    background: var(--airbnb-bg);
    padding: 0 16px;
    color: var(--airbnb-gray-dark);
    font-size: 14px;
}

/* Import Preview */
.import-preview {
    margin-top: 24px;
    padding: 20px;
    background: var(--success-green-light);
    border-radius: 16px;
    border: 1px solid var(--success-green);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.preview-success {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--success-green);
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 166, 153, 0.2);
}

.preview-success i {
    font-size: 20px;
}

.preview-details p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--airbnb-black);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.preview-details i {
    width: 20px;
    color: var(--airbnb-gray-dark);
    margin-right: 8px;
}

/* ========================================
   FORM ELEMENTS - PROPER CONTAINMENT
   ======================================== */
.form-group {
    margin-bottom: 28px;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--airbnb-black);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--airbnb-gray);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: var(--airbnb-bg);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--airbnb-red);
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

.form-control::placeholder {
    color: var(--airbnb-gray-dark);
    opacity: 0.5;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.required {
    color: var(--airbnb-red);
    margin-left: 2px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--airbnb-gray-dark);
}

/* ========================================
   STATS GRID - PROPERTY DETAILS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
    border: 1px solid var(--airbnb-gray-light);
}

.stat-card:hover {
    border-color: var(--airbnb-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.stat-card i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--airbnb-red), var(--warning-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-control {
    flex: 1;
}

.stat-control label {
    display: block;
    font-size: 13px;
    color: var(--airbnb-gray-dark);
    margin-bottom: 6px;
}

.stat-control input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--airbnb-gray);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    background: var(--airbnb-bg);
    box-sizing: border-box;
}

.stat-control input:focus {
    outline: none;
    border-color: var(--airbnb-red);
    box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.1);
}

/* Commission Preview */
.commission-preview-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 20px;
    margin: 24px 0;
    border: 1px solid var(--airbnb-gray-light);
}

.commission-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.commission-info span {
    font-size: 16px;
    color: var(--airbnb-black);
}

.commission-info span:first-child {
    font-weight: 600;
}

.commission-info span:last-child {
    color: var(--success-green);
    font-weight: 700;
    font-size: 20px;
}

/* ========================================
   AMENITIES - GRID LAYOUT
   ======================================== */
.amenities-section {
    margin-top: 32px;
    width: 100%;
}

.amenities-section > label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    color: var(--airbnb-black);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    width: 100%;
}

.amenity-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--airbnb-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--airbnb-bg);
}

.amenity-checkbox:hover {
    border-color: var(--airbnb-red);
    transform: translateY(-2px);
    background: var(--airbnb-red-light);
}

.amenity-checkbox.selected {
    border-color: var(--airbnb-red);
    background: linear-gradient(135deg, var(--airbnb-red-light), white);
}

.amenity-checkbox input {
    display: none;
}

.amenity-checkbox i {
    font-size: 20px;
    color: var(--airbnb-gray-dark);
    transition: color 0.2s ease;
}

.amenity-checkbox.selected i {
    color: var(--airbnb-red);
}

.amenity-checkbox span {
    font-size: 14px;
    color: var(--airbnb-black);
}

/* ========================================
   PHOTO UPLOAD - AIRBNB STYLE
   ======================================== */
.photo-upload-card {
    border: 2px dashed var(--airbnb-gray);
    border-radius: 24px;
    padding: 60px 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    width: 100%;
}

.photo-upload-card:hover {
    border-color: var(--airbnb-red);
    background: var(--airbnb-red-light);
    transform: scale(1.01);
}

.photo-upload-card i {
    font-size: 48px;
    background: linear-gradient(135deg, var(--airbnb-red), var(--warning-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.photo-upload-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--airbnb-black);
}

.photo-upload-card p {
    font-size: 14px;
    color: var(--airbnb-gray-dark);
    margin-bottom: 20px;
}

.btn-upload {
    margin-top: 8px;
    padding: 12px 24px;
    background: var(--airbnb-bg);
    border: 1px solid var(--airbnb-gray);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upload:hover {
    border-color: var(--airbnb-red);
    color: var(--airbnb-red);
    transform: translateY(-1px);
}

/* Photo Preview Grid */
.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
    width: 100%;
}

.photo-preview-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.photo-preview-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.photo-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.photo-preview-container:hover .remove-photo {
    opacity: 1;
}

.remove-photo:hover {
    background: var(--airbnb-red);
    transform: scale(1.1);
}

.cover-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--airbnb-red), var(--airbnb-red-dark));
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.photo-preview-container.is-cover {
    outline: 3px solid var(--airbnb-red);
    outline-offset: -3px;
}

.set-cover-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: all 0.2s ease;
}

.photo-preview-container:hover .set-cover-btn {
    opacity: 1;
}

.set-cover-btn:hover {
    background: var(--airbnb-red);
    transform: scale(1.05);
}

.photo-count {
    grid-column: 1 / -1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: var(--airbnb-gray-dark);
    background: var(--airbnb-bg-secondary);
    border-radius: 12px;
}

/* ========================================
   MAP CONTAINER
   ======================================== */
.map-container {
    margin-top: 16px;
    width: 100%;
}

#locationMap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--airbnb-gray-light);
    margin-bottom: 16px;
    width: 100%;
    height: 300px;
}

.coordinates-info {
    display: flex;
    gap: 24px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--airbnb-gray-dark);
    flex-wrap: wrap;
}

.coordinates-info i {
    margin-right: 6px;
    color: var(--airbnb-red);
}

/* ========================================
   CALENDAR CARD
   ======================================== */
.calendar-card {
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
}

.ical-preview {
    margin-top: 24px;
    padding: 20px;
    background: var(--airbnb-bg);
    border-radius: 16px;
    border: 1px solid var(--airbnb-gray-light);
}

.preview-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--airbnb-gray-light);
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--airbnb-gray-dark);
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--airbnb-red), var(--warning-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blocked-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.date-badge {
    padding: 6px 14px;
    background: var(--airbnb-bg-secondary);
    border-radius: 30px;
    font-size: 13px;
    color: var(--airbnb-black);
}

.date-badge.blocked {
    background: var(--airbnb-red-light);
    color: var(--airbnb-red);
}




/* ========================================
   REVIEW CARD
   ======================================== */
.review-card {
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
}

.review-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--airbnb-gray-light);
}

.review-section:first-child {
    padding-top: 0;
}

.review-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-section h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--airbnb-gray-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-section p {
    font-size: 18px;
    font-weight: 500;
    color: var(--airbnb-black);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-photos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

/* ========================================
   NAVIGATION BUTTONS - AIRBNB STYLE
   ======================================== */
.wizard-navigation {
    padding: 24px 80px 40px;
    border-top: 1px solid var(--airbnb-gray-light);
    display: flex;
    justify-content: space-between;
    background: var(--airbnb-bg);
    position: sticky;
    bottom: 0;
    z-index: 10;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .wizard-navigation {
        padding: 20px 24px 32px;
    }
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 120px;
}

.btn-prev {
    background: transparent;
    color: var(--airbnb-black);
    border: 1px solid var(--airbnb-gray);
}

.btn-prev:hover {
    border-color: var(--airbnb-red);
    color: var(--airbnb-red);
    background: var(--airbnb-red-light);
}

.btn-next {
    background: linear-gradient(135deg, var(--airbnb-black), #333333);
    color: white;
}

.btn-next:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
}

.btn-submit {
    background: linear-gradient(135deg, var(--success-green), #008489);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(450px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
    z-index: 1000;
    font-size: 15px;
    font-weight: 500;
    max-width: 90%;
    width: 400px;
}

@media (max-width: 640px) {
    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: none;
    }
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left: 4px solid var(--success-green);
}

.toast-notification.success i {
    color: var(--success-green);
}

.toast-notification.error {
    border-left: 4px solid var(--airbnb-red);
}

.toast-notification.error i {
    color: var(--airbnb-red);
}

.toast-notification.info {
    border-left: 4px solid var(--warning-orange);
}

.toast-notification.info i {
    color: var(--warning-orange);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1100;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    overflow: hidden;
    animation: scaleUp 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--airbnb-gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--airbnb-black);
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--airbnb-gray-dark);
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--airbnb-red);
}

.modal-body {
    padding: 24px 28px;
}

.modal-body ol {
    margin: 0;
    padding-left: 20px;
}

.modal-body li {
    margin: 12px 0;
    color: var(--airbnb-black);
    line-height: 1.5;
}

.modal-body p {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--airbnb-gray-light);
    color: var(--airbnb-gray-dark);
    font-size: 14px;
}

.modal-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid var(--airbnb-gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-danger {
    background: linear-gradient(135deg, var(--airbnb-red), var(--airbnb-red-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, var(--airbnb-bg-secondary) 0%, white 100%);
    border-radius: 16px;
    color: var(--airbnb-gray-dark);
}

.loading-indicator i {
    color: var(--airbnb-red);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .progress-steps {
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
        gap: 24px;
    }
    
    .step {
        min-width: 60px;
    }
    
    .step-label {
        display: none;
    }
    
    .step-header h2 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .wizard-close span {
        display: none;
    }
    
    .wizard-close {
        padding: 10px 14px;
    }
    
    .commission-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .url-input-group {
        flex-direction: column;
    }
    
    .btn-import {
        width: 100%;
        justify-content: center;
    }
    
    .photo-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .remove-photo,
    .set-cover-btn {
        opacity: 1;
    }

    .preview-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.btn-secondary {
    background: var(--airbnb-bg);
    border: 1px solid var(--airbnb-gray);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--airbnb-red);
    color: var(--airbnb-red);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 24px;
}

.mb-4 {
    margin-bottom: 24px;
}

/* Fix for any overflowing elements */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Enhanced Amenity Checkbox Styles */
.amenity-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--airbnb-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
    background: var(--airbnb-bg);
    user-select: none; /* Prevent text selection while clicking */
}

.amenity-checkbox:active {
    transform: scale(0.98);
}

.amenity-checkbox:hover {
    border-color: var(--airbnb-red);
    background: var(--airbnb-red-light);
    transform: translateY(-2px);
}

.amenity-checkbox.selected {
    border-color: var(--airbnb-red);
    background: linear-gradient(135deg, var(--airbnb-red-light), white);
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.15);
}

.amenity-checkbox.selected i {
    color: var(--airbnb-red);
    transform: scale(1.1);
}

.amenity-checkbox.selected span {
    color: var(--airbnb-red);
    font-weight: 500;
}

.amenity-checkbox i {
    font-size: 20px;
    color: var(--airbnb-gray-dark);
    transition: all 0.2s ease;
    width: 24px;
    text-align: center;
}

.amenity-checkbox span {
    font-size: 14px;
    color: var(--airbnb-black);
    transition: all 0.2s ease;
}

/* Ripple effect for better feedback */
.amenity-checkbox {
    position: relative;
    overflow: hidden;
}

.amenity-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 56, 92, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    pointer-events: none;
}

.amenity-checkbox:active::after {
    width: 200px;
    height: 200px;
}

/* ========== ICAL TUTORIAL STYLES ========== */

.tutorial-banner {
    background: linear-gradient(135deg, #f8f0ff 0%, #f0e6ff 100%);
    border: 2px solid #8b5cf6;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-tutorial {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #7c3aed;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-tutorial:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-tutorial:active {
    transform: translateY(0);
}

.btn-tutorial i {
    font-size: 1.2rem;
}

.tutorial-hint {
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tutorial-hint i {
    color: #8b5cf6;
}

.tutorial-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tutorial-link:hover {
    color: #5b21b6;
    text-decoration: underline;
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.video-modal-content {
    background: #1a1a1a;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.video-modal-header {
    padding: 16px 24px;
    background: #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3a3a;
}

.video-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-modal-header h3 i {
    color: #ef4444;
}

.close-video-modal {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

.close-video-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.video-modal-body {
    padding: 0;
    background: #000;
    position: relative;
}

.video-modal-body iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.video-modal-footer {
    padding: 16px 24px;
    background: #2a2a2a;
    border-top: 1px solid #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.video-modal-footer .steps-summary {
    color: #d1d5db;
    font-size: 0.9rem;
}

.video-modal-footer .steps-summary strong {
    color: white;
}

.video-modal-footer .btn-close-video {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-modal-footer .btn-close-video:hover {
    background: #6d28d9;
}

/* Responsive */
@media (max-width: 768px) {
    .tutorial-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .btn-tutorial {
        justify-content: center;
        width: 100%;
    }

    .tutorial-hint {
        justify-content: center;
    }

    .video-modal-content {
        max-width: 100%;
        margin: 10px;
        border-radius: 12px;
    }

    .video-modal-header {
        padding: 12px 16px;
    }

    .video-modal-header h3 {
        font-size: 0.95rem;
    }

    .video-modal-footer {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}