/* NFC-Karten Konfigurator CSS */
.nfc-wizard-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

/* Wizard Schritte Navigation */
.nfc-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.nfc-wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.nfc-step {
    position: relative;
    z-index: 2;
    background: #f5f5f5;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.nfc-step.active {
    background: #3B4395;
    color: #fff;
    border-color: #3B4395;
}

/* Wizard Content */
.nfc-step-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.nfc-step-content.active {
    display: block;
}

.step-title {
    color: #3B4395;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

/* Material Selection */
.material-selection,
.editing-options,
.card-preview,
.template-carousel-container,
.template-preview,
.abo-selection,
.template-structure-info,
.selection-summary,
.checkout-container {
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.material-selection h3,
.editing-options h3,
.card-preview h3,
.template-carousel-container h3,
.template-preview h3,
.abo-selection h3,
.template-structure-info h3,
.selection-summary h3,
.checkout-container h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.material-group {
    margin-bottom: 20px;
}

.material-group h4 {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.material-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.material-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.material-item:hover {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.material-item.selected {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.material-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.material-item span {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.material-item input[type="radio"] {
    margin-top: 5px;
}

/* Editing Options */
.editing-choice {
    display: flex;
    gap: 20px;
}

.editing-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.editing-option:hover {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.editing-option.selected {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.editing-option h4 {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

.editing-option p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.editing-option button {
    background-color: #3B4395;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editing-option button:hover {
    background-color: #2a316b;
}

/* Card Preview */
.card-preview-container {
    text-align: center;
    margin-bottom: 20px;
}

.card-sides {
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}

.card-side {
    display: none;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-side.active {
    display: block;
}

.card-preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.switch-side-btn {
    background-color: #3B4395;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-side-btn:hover {
    background-color: #2a316b;
}

/* Personalization Fields */
.personalization-fields {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
}

.personalization-fields h4 {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}

.input-field {
    margin-bottom: 15px;
}

.input-field label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.input-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Template Carousel */
.swiper-container {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swiper-slide:hover {
    border-color: #3B4395;
}

.swiper-slide.selected {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.template-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.template-item span {
    display: block;
    font-size: 14px;
    color: #555;
}

/* Template Preview */
.template-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-variant-toggle {
    display: flex;
    margin-bottom: 20px;
}

.variant-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
}

.variant-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.variant-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.variant-btn.active {
    background: #3B4395;
    color: white;
    border-color: #3B4395;
}

.template-preview-image {
    max-width: 500px;
    margin: 0 auto;
}

.template-preview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Abo Selection */
.abo-options {
    display: flex;
    gap: 20px;
}

.abo-option {
    flex: 1;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: white;
    text-align: center;
    transition: all 0.3s ease;
}

.abo-option:hover {
    border-color: #3B4395;
}

.abo-option.selected {
    border-color: #3B4395;
    background-color: #f0f2ff;
}

.abo-option h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.abo-option ul {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}

.abo-option li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #3B4395;
    margin-bottom: 15px;
}

.select-abo-btn {
    background-color: #3B4395;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-abo-btn:hover {
    background-color: #2a316b;
}

/* Template Structure */
.structure-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.structure-element {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.element-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #3B4395;
    margin-bottom: 8px;
}

.structure-element p {
    font-size: 14px;
    color: #666;
}

/* Summary Page */
.selection-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-section {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.summary-image {
    flex: 0 0 100px;
}

.summary-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.summary-details {
    flex: 1;
}

.summary-details p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.summary-details strong {
    color: #333;
}

/* Checkout */
.checkout-placeholder {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-summary {
    margin-bottom: 20px;
}

.cart-items {
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #eee;
}

.add-to-cart-btn {
    background-color: #3B4395;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #2a316b;
}

/* Navigation Buttons */
.nfc-wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.prev-step-btn,
.next-step-btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.prev-step-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.prev-step-btn:hover {
    background-color: #e5e5e5;
}

.next-step-btn {
    background-color: #3B4395;
    color: white;
    border: none;
}

.next-step-btn:hover {
    background-color: #2a316b;
}

/* Animation */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .nfc-wizard-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nfc-wizard-steps::before {
        display: none;
    }

    .editing-choice,
    .abo-options,
    .summary-content {
        flex-direction: column;
    }

    .summary-image {
        text-align: center;
        margin-bottom: 15px;
    }
}