/* XML Feed Styling */
.xml-info {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* E-Handel v2 Intake Notice styling */
.intake-notice {
    background: linear-gradient(135deg, #C9A34A10, #C9A34A20);
    border: 2px solid #C9A34A;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0 30px 0;
    text-align: center;
}

.intake-notice h3 {
    color: #C9A34A;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.intake-notice p {
    color: #333;
    font-size: 1rem;
    margin: 0;
}

/* Enhanced Wizard styling for E-handel v2 */
.wizard-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Enhanced Progress Visualization */
.wizard-progress-enhanced {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-step.active {
    opacity: 1;
    transform: scale(1.05);
}

.progress-step.completed {
    opacity: 0.8;
}

.progress-step.completed .step-icon {
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    padding: 2px;
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-info {
    text-align: center;
}

.step-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.step-time {
    font-size: 0.65rem;
    color: #666;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e3e6ea;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e3e6ea;
    border-radius: 4px;
    margin-right: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9A34A, #D4B761);
    width: 11.11%; /* 1/9 steps */
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    white-space: nowrap;
}

.wizard-intro {
    margin-bottom: 30px;
    text-align: center;
}

.wizard-intro h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.wizard-intro p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.wizard-step {
    display: none;
    width: 100%;
    max-width: none;
    margin: 20px 0;
    padding: 30px;
    background: #fafbfc;
    border-radius: 16px;
    box-sizing: border-box;
}

.wizard-container .wizard-step.active {
    display: block !important;
    width: calc(100vw - 40px) !important;
    max-width: 860px !important;
    margin: 30px auto !important;
    padding: 40px !important;
    background: #fafbfc !important;
    border: 3px solid #C9A34A !important;
    border-radius: 16px !important;
    min-height: 500px !important;
    height: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
}

/* Force content visibility inside wizard steps */
.wizard-step.active * {
    color: inherit !important;
    display: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Enhanced form card styling for wizard steps */
.wizard-step .form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
}

/* Wizard step content styling */
.wizard-step.active h3.step-title {
    color: #2c3e50 !important;
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
    display: block !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
}

.wizard-step.active p.step-description {
    color: #6c757d !important;
    margin-bottom: 20px !important;
    display: block !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.wizard-step.active .form-group {
    margin-bottom: 20px !important;
    display: block !important;
}

.wizard-step.active label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
}

.wizard-step.active input,
.wizard-step.active textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    display: block !important;
    box-sizing: border-box !important;
}

.wizard-step.active .form-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: block !important;
}

.wizard-step .help-text {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.wizard-step .wizard-navigation {
    margin-top: 30px;
    text-align: center;
    display: block;
}

.wizard-step .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    display: inline-block;
}

.wizard-step .btn-primary {
    background: #C9A34A;
    color: white;
}

.wizard-step .btn-outline {
    background: transparent;
    border: 2px solid #C9A34A;
    color: #C9A34A;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding: 15px 0;
    border-bottom: 2px solid #C9A34A;
    text-align: center;
}

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

.wizard-step .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.wizard-step .form-group input,
.wizard-step .form-group textarea,
.wizard-step .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e3e6ea;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.wizard-step .form-group input:focus,
.wizard-step .form-group textarea:focus,
.wizard-step .form-group select:focus {
    outline: none;
    border-color: #C9A34A;
    box-shadow: 0 0 0 3px rgba(201, 163, 74, 0.1);
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e3e6ea;
}

.wizard-navigation .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-navigation .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.wizard-navigation .btn-outline:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #C9A34A;
    color: #C9A34A;
}

.wizard-navigation .btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-navigation .btn-primary {
    background: linear-gradient(135deg, #C9A34A, #D4B761);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 163, 74, 0.3);
}

.wizard-navigation .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 163, 74, 0.4);
}

/* Card-style layouts */
.form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #C9A34A;
}

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

.card-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.help-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
}

.help-toggle:hover {
    background: #C9A34A;
    color: white;
}

.help-content {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #C9A34A;
}

.help-content.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 200px; }
}

.help-examples {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Tag input styling */
.tag-input-container {
    margin-bottom: 15px;
}

.tag-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e3e6ea;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.tag-input:focus {
    outline: none;
    border-color: #C9A34A;
    box-shadow: 0 0 0 3px rgba(201, 163, 74, 0.1);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 20px;
}

.tag {
    background: linear-gradient(135deg, #C9A34A, #D4B761);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: tagSlideIn 0.3s ease;
}

@keyframes tagSlideIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.tag-remove {
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.tag-remove:hover {
    opacity: 1;
}

/* Quick options */
.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.quick-label {
    font-size: 0.9rem;
    color: #666;
    margin-right: 5px;
}

.quick-btn {
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #C9A34A;
    color: white;
    border-color: #C9A34A;
}

/* Toggle buttons */
.toggle-group {
    margin-top: 10px;
}

.toggle-item {
    margin-bottom: 15px;
}

.toggle-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.toggle-buttons {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e3e6ea;
    width: fit-content;
}

.toggle-buttons input[type="radio"] {
    display: none;
}

.toggle-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.toggle-buttons input[type="radio"]:checked + .toggle-btn {
    background: #C9A34A;
    color: white;
}

.toggle-btn:hover {
    background: #f8f9fa;
}

.toggle-buttons input[type="radio"]:checked + .toggle-btn:hover {
    background: #B8933E;
}

/* Step description */
.step-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

.xml-info-section {
    margin-bottom: 15px;
}

.xml-info-note {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.xml-example-details {
    margin-bottom: 20px;
}

.xml-example-details summary {
    cursor: pointer;
    color: #C9A34A;
    font-weight: 500;
    padding: 8px 0;
    outline: none;
}

.xml-example {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.xml-code {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: pre;
}

.xml-recommendations {
    margin-top: 20px;
}

.xml-recommendations h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.xml-rec-group {
    margin-bottom: 15px;
}

.xml-rec-group h5 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.xml-rec-list {
    list-style-type: none;
    padding-left: 5px;
}

.xml-rec-list li {
    font-size: 13px;
    margin-bottom: 3px;
    color: #333;
    display: flex;
    align-items: center;
}

.xml-rec-list li:before {
    content: "•";
    color: #C9A34A;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -10px;
}