.wizard-container {
    margin: -30px -30px 0 -30px;
    border-radius: 20px;
}

/* Step Indicator */
.wizard-steps-indicator {
    background: linear-gradient(135deg, #1e293f 0%, #253044 100%);
    padding: 40px 30px;
    border-bottom: 3px solid rgba(255, 90, 95, 0.2);
    position: relative;
    overflow: hidden;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.wizard-steps-indicator::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 90, 95, 0.1) 0%,
        transparent 70%
    );
    animation: pulse-glow-wizard 6s ease-in-out infinite;
}

@keyframes pulse-glow-wizard {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.wizard-step:hover .wizard-step__number {
    transform: scale(1.05);
    border-color: rgba(255, 90, 95, 0.2);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.15);
    background: rgba(255, 255, 255, 0.12);
}

.wizard-step:hover .wizard-step__label {
    color: rgba(255, 255, 255, 0.7);
}

.wizard-step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    z-index: 1;
}

.wizard-step__label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.wizard-step--active .wizard-step__number {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
    color: white;
    border-color: rgba(255, 90, 95, 0.3);
    box-shadow: 0 8px 24px rgba(255, 90, 95, 0.4),
        0 0 0 4px rgba(255, 90, 95, 0.1);
    transform: scale(1.1);
}

.wizard-step--active:hover .wizard-step__number {
    transform: scale(1.1);
    /* Keep same scale for active step */
}

.wizard-step--active .wizard-step__label {
    color: #ffffff;
    font-weight: 700;
    transform: translateY(-2px);
}

.wizard-step--completed .wizard-step__number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.wizard-step--completed:hover .wizard-step__number {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.5);
}

.wizard-step--completed .wizard-step__number i {
    font-size: 22px;
    font-weight: 900;
}

.wizard-step--completed .wizard-step__label {
    color: rgba(255, 255, 255, 0.8);
}

.wizard-step-line {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 20px 38px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.wizard-step-line--active {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Wizard Content Card */
.wizard-content-card {
    background: #ffffff;
    padding: 48px 40px;
    min-height: 500px;
    position: relative;
}

.wizard-step-content {
    animation: fadeInSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.step-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 3px solid #f1f3f5;
    position: relative;
}

.step-header::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff5a5f 0%, #ff8a8d 100%);
    border-radius: 2px;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.step-description {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f3f5;
    position: relative;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff5a5f 0%, #ff8a8d 100%);
}

.section-heading i,
.section-heading svg {
    color: #ff5a5f;
    margin-right: 10px;
    font-size: 22px;
}

/* Type Selector Cards */
.type-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.type-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    z-index: 8;
}

.type-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--card-color-light, rgba(255, 90, 95, 0.05)) 0%,
        var(--card-color-lighter, rgba(255, 90, 95, 0.01)) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.type-card:hover::before {
    opacity: 1;
}

.type-card:hover {
    border-color: var(--card-color, #ff5a5f);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--card-color-shadow, rgba(255, 90, 95, 0.15));
}

.type-card--selected {
    border-color: var(--card-color, #ff5a5f);
    background: linear-gradient(
        135deg,
        var(--card-color-light, rgba(255, 90, 95, 0.08)) 0%,
        var(--card-color-lighter, rgba(255, 90, 95, 0.02)) 100%
    );
    box-shadow: 0 8px 20px var(--card-color-shadow, rgba(255, 90, 95, 0.2)),
        0 0 0 4px var(--card-color-glow, rgba(255, 90, 95, 0.08));
}

.type-card--selected::before {
    opacity: 1;
    pointer-events: none;
}

.type-card--selected .type-card__icon {
    background: linear-gradient(
        135deg,
        var(--card-color, #ff5a5f) 0%,
        var(--card-color-dark, #ff4449) 100%
    );
    box-shadow: 0 6px 16px var(--card-color-shadow, rgba(255, 90, 95, 0.3));
    transform: scale(1.05);
}

.type-card--selected .type-card__icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.type-card--selected .type-card__label {
    color: var(--card-color, #ff5a5f);
    font-weight: 700;
}

.type-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px auto;
    background: var(--card-bg, #f3f4f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.type-card:hover .type-card__icon {
    background: var(--card-hover-bg, #fee2e2);
    transform: scale(1.05) rotate(5deg);
}

.type-card__icon i {
    font-size: 26px;
    color: var(--card-icon-color, #6b7280);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Support for SVG icons (heroicons) */
.type-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--card-icon-color, #6b7280);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.type-card:hover .type-card__icon i {
    color: var(--card-color, #ff5a5f);
    transform: scale(1.1);
}

.type-card:hover .type-card__icon svg {
    stroke: var(--card-color, #ff5a5f);
    transform: scale(1.1);
}

.type-card--selected .type-card__icon svg {
    stroke: #ffffff;
    transform: scale(1.1);
}

.type-card__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.type-card:hover .type-card__label {
    color: #1f2937;
}

/* Tooltip */
.type-card__tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    line-height: 1.4;
}

.type-card__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(31, 41, 55, 0.95);
}

.type-card:hover .type-card__tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 14px);
}

/* Form Groups */
.wizard-container .form-group {
    margin-bottom: 28px;
}

.wizard-container .form-group label {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
    letter-spacing: 0.2px;
}

.wizard-container .form-group label i {
    font-size: 16px;
}

.wizard-container .form-group small.text-muted {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

.wizard-container .form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-weight: 500;
    color: #1f2937;
}

.wizard-container .form-control:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.wizard-container .form-control:focus {
    border-color: #ff5a5f;
    box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.1);
    background: #ffffff;
    outline: none;
}

.wizard-container .form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Enhanced Select Styling */
.wizard-container select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
    font-weight: 600;
}

.wizard-container select.form-control:hover {
    background-image: none;
}

.wizard-container select.form-control:focus {
    background-image: none;
}

.wizard-container select.form-control option {
    padding: 12px;
    font-weight: 500;
}

/* Number Input Styling */
.wizard-container input[type="number"].form-control {
    font-weight: 600;
}

.wizard-container .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.wizard-container .form-check {
    margin-bottom: 0;
    padding: 12px 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-container .form-check:hover {
    background: #ffffff;
    border-color: #ff5a5f;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.1);
    transform: translateY(-1px);
}

.wizard-container .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wizard-container .form-check-input:checked {
    background-color: #ff5a5f;
    border-color: #ff5a5f;
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
}

.wizard-container .form-check-label {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.wizard-container .form-check:hover .form-check-label {
    color: #1f2937;
}

/* Custom Radio Buttons */
.radio-button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.radio-button {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.radio-button:hover {
    border-color: #ff5a5f;
    background: #fef2f2;
    box-shadow: 0 4px 16px rgba(255, 90, 95, 0.12);
    transform: translateY(-2px);
}

.radio-button--selected {
    border-color: #ff5a5f;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.08) 0%,
        rgba(255, 90, 95, 0.02) 100%
    );
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.2),
        0 0 0 4px rgba(255, 90, 95, 0.08);
}

.radio-button__circle {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-button--selected .radio-button__circle {
    border-color: #ff5a5f;
    border-width: 3px;
}

.radio-button__dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
    border-radius: 50%;
    animation: radio-dot-pop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes radio-dot-pop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.radio-button__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.radio-button__content i {
    font-size: 24px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.radio-button:hover .radio-button__content i {
    color: #ff5a5f;
    transform: scale(1.1);
}

.radio-button--selected .radio-button__content i {
    color: #ff5a5f;
}

.radio-button__content span {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.radio-button--selected .radio-button__content span {
    color: #ff5a5f;
}

/* Checkbox Buttons (for multi-select) - Similar to radio buttons */
.checkbox-button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.checkbox-button {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 8;
}

.checkbox-button:hover {
    border-color: #ff5a5f;
    background: #fef2f2;
    box-shadow: 0 4px 14px rgba(255, 90, 95, 0.12);
    transform: translateY(-2px);
}

.checkbox-button--selected {
    border-color: #ff5a5f;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.08) 0%,
        rgba(255, 90, 95, 0.02) 100%
    );
    box-shadow: 0 6px 18px rgba(255, 90, 95, 0.18),
        0 0 0 3px rgba(255, 90, 95, 0.08);
}

.checkbox-button__checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #ffffff;
    pointer-events: none;
}

.checkbox-button--selected .checkbox-button__checkbox {
    border-color: #ff5a5f;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
}

.checkbox-button__checkbox i {
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkbox-button--selected .checkbox-button__checkbox i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-button__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    pointer-events: none;
}

.checkbox-button__icon {
    font-size: 24px;
    color: #6b7280;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.checkbox-button:hover .checkbox-button__icon {
    color: #ff5a5f;
    transform: scale(1.08);
}

.checkbox-button--selected .checkbox-button__icon {
    color: #ff5a5f;
}

.checkbox-button__label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
    line-height: 1.4;
    pointer-events: none;
}

.checkbox-button--selected .checkbox-button__label {
    color: #ff5a5f;
    font-weight: 700;
}

/* Toggle Switch */
.toggle-switch-wrapper {
    margin-top: 8px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.toggle-switch:hover {
    border-color: #ff5a5f;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.15);
    transform: translateY(-1px);
}

.toggle-switch--active {
    border-color: #ff5a5f;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.05) 0%,
        rgba(255, 90, 95, 0.02) 100%
    );
}

.toggle-switch__slider {
    width: 50px;
    height: 26px;
    background: #d1d5db;
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-switch__slider::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch--active .toggle-switch__slider {
    background: #ff5a5f;
}

.toggle-switch--active .toggle-switch__slider::after {
    left: 27px;
}

.toggle-switch__content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.toggle-switch__icon {
    font-size: 20px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.toggle-switch--active .toggle-switch__icon {
    color: #ff5a5f;
}

.toggle-switch__label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
}

.toggle-switch--active .toggle-switch__label {
    color: #1f2937;
    font-weight: 700;
}

/* Image Upload Styles */
.image-upload-container {
    position: relative;
}

.image-upload-input {
    display: none;
}

.image-upload-dropzone {
    display: block;
    padding: 48px 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.image-upload-dropzone:hover {
    border-color: #ff5a5f;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.05) 0%,
        #ffffff 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 90, 95, 0.12);
}

.image-upload-dropzone__icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
    transition: all 0.3s ease;
}

.image-upload-dropzone:hover .image-upload-dropzone__icon {
    color: #ff5a5f;
    transform: scale(1.1);
}

.image-upload-dropzone__text {
    font-size: 16px;
    color: #374151;
    margin-bottom: 8px;
}

.image-upload-dropzone__text strong {
    color: #ff5a5f;
    font-weight: 700;
}

.image-upload-dropzone__hint {
    font-size: 13px;
    color: #9ca3af;
}

.image-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-preview:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.image-preview--main {
    max-width: 400px;
}

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

.image-preview__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-preview:hover .image-preview__overlay {
    opacity: 1;
}

.image-preview__button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.image-preview__button--remove {
    background: #dc2626;
    color: white;
}

.image-preview__button--remove:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.image-preview__button--change {
    background: #ff5a5f;
    color: white;
}

.image-preview__button--change:hover {
    background: #e54d52;
    transform: scale(1.05);
}

.image-preview__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-preview__badge--new {
    background: #10b981;
    color: white;
}

.image-preview__badge--current {
    background: #ff5a5f;
    color: white;
}

.image-upload-error {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-upload-loading {
    margin-top: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    text-align: center;
    border: 2px solid #93c5fd;
    animation: pulse-loading 2s ease-in-out infinite;
}

@keyframes pulse-loading {
    0%,
    100% {
        border-color: #93c5fd;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    }
    50% {
        border-color: #60a5fa;
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    }
}

.image-upload-loading__spinner {
    font-size: 36px;
    color: #3b82f6;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.image-upload-loading__text {
    font-size: 15px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
}

.image-upload-loading__hint {
    font-size: 13px;
    color: #3b82f6;
    opacity: 0.8;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
    cursor: grab;
}

.gallery-item:active {
    cursor: grabbing;
}

.gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px) scale(1.02);
}

/* SortableJS dragging states */
.gallery-item--ghost {
    opacity: 0.4;
}

.gallery-item--chosen {
    opacity: 0.8;
    transform: scale(0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.gallery-item--drag {
    opacity: 0.5;
    cursor: grabbing !important;
}

.gallery-item__drag-handle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: grab;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-item__drag-handle:hover {
    background: #ff5a5f;
    transform: scale(1.1);
}

.gallery-item__drag-handle:active {
    cursor: grabbing;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__button {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-item__button--remove {
    background: #dc2626;
    color: white;
}

.gallery-item__button--remove:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.gallery-item__index {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.gallery-item__badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.gallery-item__badge--new {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.gallery-item--new {
    border: 2px solid #f59e0b;
}

.gallery-upload-trigger {
    display: block;
    padding: 40px 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.gallery-upload-trigger:hover {
    border-color: #ff5a5f;
    background: linear-gradient(
        135deg,
        rgba(255, 90, 95, 0.05) 0%,
        #ffffff 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 90, 95, 0.12);
}

.gallery-upload-trigger__icon {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
}

.gallery-upload-trigger:hover .gallery-upload-trigger__icon {
    color: #ff5a5f;
    transform: rotate(90deg) scale(1.1);
}

.gallery-upload-trigger__text {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.gallery-upload-trigger__hint {
    font-size: 13px;
    color: #9ca3af;
}

.gallery-upload-loading {
    margin-top: 20px;
    padding: 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    text-align: center;
    border: 2px solid #93c5fd;
    animation: pulse-loading 2s ease-in-out infinite;
}

.gallery-upload-loading__spinner {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}

.gallery-upload-loading__text {
    font-size: 15px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 6px;
}

.gallery-upload-loading__hint {
    font-size: 13px;
    color: #3b82f6;
    opacity: 0.8;
    margin-bottom: 12px;
}

.gallery-upload-loading__progress {
    width: 100%;
    height: 6px;
    background: #bfdbfe;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.gallery-upload-loading__bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 100%;
    animation: progressBar 1.5s ease-in-out infinite;
}

@keyframes progressBar {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Legacy Radio Buttons (hide default) */
.wizard-container .form-check-inline {
    padding: 12px 20px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-right: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.wizard-container .form-check-inline:hover {
    background: #ffffff;
    border-color: #ff5a5f;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.1);
}

.wizard-container .form-check-input[type="radio"] {
    display: none;
    /* Hide default radio buttons */
}

.wizard-container .form-check-input[type="radio"]:checked + .form-check-label {
    color: #ff5a5f;
    font-weight: 700;
}

/* Map Container */
.map-container {
    border: 3px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: #ff5a5f;
    box-shadow: 0 8px 24px rgba(255, 90, 95, 0.15);
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid #f8f9fa;
}

.wizard-navigation__right {
    display: flex;
    gap: 12px;
}

.wizard-container .btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.wizard-container .btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wizard-container .btn:hover::before {
    width: 300px;
    height: 300px;
}

.wizard-container .btn-primary {
    background: linear-gradient(135deg, #ff5a5f 0%, #ff4449 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.2);
}

.wizard-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 90, 95, 0.4);
}

.wizard-container .btn-primary:active {
    transform: translateY(0);
}

.wizard-container .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.wizard-container .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.wizard-container .btn-success:active {
    transform: translateY(0);
}

.wizard-container .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.wizard-container .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.3);
}

.wizard-container .btn-outline-secondary {
    background: transparent;
    border: 2px solid #d1d5db;
    color: #6b7280;
    box-shadow: none;
}

.wizard-container .btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
    transform: translateY(-1px);
}

/* Alert Styling */
.wizard-container .alert {
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 28px;
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.wizard-container .alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #93c5fd;
}

.wizard-container .alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #6ee7b7;
}

.wizard-container .alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-steps-indicator {
        padding: 30px 20px;
    }

    .wizard-steps {
        flex-direction: column;
        gap: 8px;
    }

    .wizard-step-line {
        width: 3px;
        height: 30px;
        margin: 8px 0;
    }

    .wizard-content-card {
        padding: 32px 20px;
    }

    .step-title {
        font-size: 24px;
    }

    .type-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .type-card {
        padding: 16px 12px;
    }

    .type-card__icon {
        width: 48px;
        height: 48px;
    }

    .type-card__icon i {
        font-size: 22px;
    }

    .radio-button-group {
        grid-template-columns: 1fr;
    }

    .radio-button {
        padding: 16px;
    }

    .wizard-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .wizard-navigation__right {
        width: 100%;
        flex-direction: column;
    }

    .wizard-container .btn {
        width: 100%;
    }

    .wizard-container .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .wizard-container .form-check-inline {
        display: block;
        margin-right: 0;
        width: 100%;
    }
}

/* Hide error states until validation is attempted */
.wizard-container:not(.show-errors) .border-danger {
    border-color: #dee2e6 !important;
}

/* Only hide error message divs, not the required asterisks */
.wizard-container:not(.show-errors) .form-group > .text-danger,
.wizard-container:not(.show-errors) .text-danger.mt-2 {
    display: none !important;
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
