.col-md-8.col-sm-8:has(.add-listing-form-container) {
    width: 100%;
}

.add-listing-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-introduction {
    text-align: center;
    margin-bottom: 30px;
}

.form-progress {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.step {
    width: 33.33%;
    text-align: center;
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
    transform: translateX(0);
}

.step.completed:after {
    background: #2ecc71;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    color: #999;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.step-label {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    line-height: 1.4;
}

.step.active .step-number {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.required {
    color: red;
    margin-left: 4px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.next-step,
.prev-step,
.submit-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.next-step,
.submit-button {
    background-color: var(--primary-color);
    color: white;
}

.prev-step {
    background-color: #6c757d;
    color: white;
}

.required-notice {
    font-size: 0.9em;
    color: #666;
    margin-top: 20px;
}

.success-message {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

.success-message h3 {
    color: #3c763d;
    margin-bottom: 15px;
}

.social-media-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin: 30px 0;
}

.social-media-section h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.social-media-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.social-icon.facebook { background: #3b5998; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.linkedin { background: #0077b5; }
.social-icon.instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-icon.youtube { background: #ff0000; }
.social-icon.video { background: #4CAF50; }

.social-media-item .form-control {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.social-media-item .form-control:focus {
    border-color: #2d7fe0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(45,127,224,0.1);
}

.video-presentation {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.video-presentation .form-control {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
}

.image-preview, .gallery-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
}

.preview-logo img, .preview-featured-image img {
    width: 'auto';
}

.upload-image-btn, .upload-gallery-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.upload-image-btn:hover, .upload-gallery-btn:hover {
    background: #005177;
}

@media (max-width: 768px) {
    .form-progress {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .step {
        width: 100%;
        margin-bottom: 20px;
        padding: 0;
        flex-direction: row;
        align-items: center;
    }

    .step:after {
        display: none;
    }

    .step-number {
        margin: 0 15px 0 0;
    }

    .step-label {
        margin-top: 0;
        text-align: left;
        width: auto;
    }

    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-media-section {
        padding: 15px;
    }
}

/* Section upload médias */
.media-upload-section {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.upload-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.upload-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.upload-container {
    position: relative;
}

.upload-zone {
    position: relative;
    border: 2px dashed #ddd;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-zone i {
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
}

.upload-zone p {
    margin: 0 0 5px 0;
    color: #333;
}

.upload-zone .file-info {
    font-size: 0.9em;
    color: #666;
}

.upload-zone:hover {
    border-color: #2d7fe0;
    background: #f0f7ff;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2d7fe0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 14px;
}

.upload-btn:hover {
    background: #2468b8;
}

.upload-btn i {
    font-size: 16px;
    margin-top: 5px;
}

/* Business Hours Styles */
.business-hours-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.weekdays-hours {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.day-block {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.day-block:hover {
    border-color: #2d7fe0;
    background: #fff;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.day-header label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.hours-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-toggle input[type="checkbox"] {
    margin: 0;
}

.hours-toggle label {
    font-size: 14px;
    color: #666;
}

.hours-inputs {
    transition: all 0.3s ease;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-slot select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    min-width: 120px;
}

.time-slot span {
    color: #666;
    padding: 0 5px;
}

.weekend-day {
    background: #f0f7ff;
    border-color: #d0e3ff;
}

.weekend-day:hover {
    background: #f8fbff;
}

/* Style pour les selects désactivés */
select:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-slot {
        flex-direction: column;
        align-items: stretch;
    }
    
    .time-slot span {
        text-align: center;
        padding: 5px 0;
    }
}

.hours-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-hours-btn {
    background: none;
    border: none;
    color: #2d7fe0;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.copy-hours-btn:hover {
    color: #1b60b3;
    transform: scale(1.1);
}

.submission-success {
    text-align: center;
    padding: 40px 20px;
    background: #f8fff8;
    border-radius: 8px;
    margin: 20px 0;
}

.submission-success i {
    color: #2ecc71;
    font-size: 48px;
    margin-bottom: 20px;
}

.submission-success h3 {
    color: #2ecc71;
    margin-bottom: 15px;
}

.submission-success p {
    color: #666;
    font-size: 16px;
}

.submission-error {
    background: #fff2f2;
    color: #e74c3c;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submission-error i {
    font-size: 20px;
}

.image-preview-item,
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.image-preview-item img,
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image:hover {
    background: #ff4444;
    color: white;
}

.remove-image i {
    font-size: 16px;
}

.upload-zone {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.upload-zone.has-image {
    border-color: #2d7fe0;
    background-color: #f8fbff;
}

.upload-zone.dragover {
    border-color: #2d7fe0;
    background-color: #f0f7ff;
}

.upload-btn {
    background: #2d7fe0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.upload-btn:hover {
    background: #2468b8;
}

.hours-error {
    background-color: #fff2f2;
    color: #e74c3c;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hours-error i {
    font-size: 16px;
}

/* Ajouter ces styles */
.account-section {
    margin-bottom: 30px;
}

.has-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.has-account label {
    user-select: none;
}

.has-account input[type="checkbox"] {
    cursor: pointer;
}

.login-fields {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}