/* Extra styles specifiek voor bestellen formulier */
.multi-step-form {
    border: none !important;
    box-shadow: none !important;
}

/* IBAN Validation States */
#iban {
    transition: border-color 0.3s, background-color 0.3s;
}

#iban.validating {
    border-color: #ffc107;
    background-color: #fff8e1;
}

#iban.success {
    border-color: #28a745;
    background-color: #f1f9f1;
}

#iban.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.bank-info-display {
    margin-top: 5px;
    animation: fadeIn 0.3s;
}

.validation-warning {
    margin-top: 5px;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Kleinere invoervelden voor stap 2 en de gegevens-stap.
   [data-step-key="gegevens"] = de gegevens-stap in de normale flow (nummer-onafhankelijk,
   zie getNormalStepConfig()). #step-4:not([data-step-key]) = de Parel-flow: daar hebben de
   step-divs geen data-step-key en is #step-4 het besteloverzicht, dat deze compacte
   styling historisch ook heeft. */
#telefoon_nummer_input,
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) input[type="text"],
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) input[type="email"],
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) input[type="tel"],
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) textarea {
    padding: 8px 12px !important;
    font-size: 14px !important;
}


/* Aanpassen van form-group spacing voor compactere layout */
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) .form-group {
    margin-bottom: 12px !important;
}

:is([data-step-key="gegevens"], #step-4:not([data-step-key])) .form-group label {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    font-weight: 500;
    color: #333;
}

/* Persoonlijke gegevens blok styling */
.personal-data-block {
    background: #f8f9fa;
    border: 2px solid #124272;
    border-radius: 8px;
    padding: 25px !important;
    margin-bottom: 20px;
}

/* Smaller width for the gegevens-stap personal data block (Parel: besteloverzicht) */
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) .personal-data-block {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.personal-data-block h3 {
    color: #124272;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 18px;
    font-weight: 600;
}

/* Pre-filled velden styling - subtle achtergrond om aan te geven dat ze automatisch gevuld zijn */
#straat_huisnummer,
#postcode,
#woonplaats {
    background-color: #f8f9fa;
}

/* Voor Parel abonnementen (step-2) moeten de adresvelden een witte achtergrond hebben */
#step-2 #straat_huisnummer,
#step-2 #postcode,
#step-2 #woonplaats {
    background-color: #fff;
}

/* Textarea styling */
:is([data-step-key="gegevens"], #step-4:not([data-step-key])) textarea {
    width: 100%;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Form row widths */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.form-group.full-width {
    flex: 1;
    width: 100%;
}

.form-group.half-width {
    flex: 0 0 calc(50% - 7.5px);
}

.form-group.one-third-width {
    flex: 0 0 calc(33.333% - 10px);
}

.form-group.two-thirds-width {
    flex: 0 0 calc(66.666% - 5px);
}

.section-header {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #124272;
}

.welcome-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.welcome-box h3 {
    color: #333;
    margin-bottom: 15px;
}

.address-info {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.available-services {
    margin-top: 15px;
    max-width: 600px;
}

.service-item {
    background: white;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-type {
    font-weight: 600;
    color: #333;
}

.service-speed {
    color: #ec652b;
    font-weight: 500;
}

/* Service grouping styles */
.service-group {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 2px solid #ec652b;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.service-group > .service-type {
    padding-bottom: 10px;
    font-weight: 700;
    color: #ec652b;
}

.service-subnetworks {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.service-subitem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 8px 20px;
    margin: 0;
    font-size: 14px;
    position: relative;
}

.service-subitem::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 50%;
}

.subnetwork-name {
    color: #666;
    font-weight: 400;
    font-size: 14px;
}

.subnetwork-speed {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

.no-services {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* Radio vierkant styles */
.radio-square-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.radio-square {
    flex: 1;
    min-width: 120px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-square:hover {
    border-color: #ec652b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.radio-square.selected {
    border-color: #ec652b;
    background: #fff5f1;
}

.radio-square input {
    position: absolute;
    opacity: 0;
}

.radio-square-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Maanden sectie */
#maanden-section {
    display: none;
}

#maanden-section.active {
    display: block;
}

/* Internet abo sectie */
#internet-abo-section {
    display: none;
}

#internet-abo-section.active {
    display: block;
}

.network-products {
    margin-bottom: 30px;
}

.network-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #ec652b;
}

/* Hide sections initially */
.hidden {
    display: none !important;
}

/* Validation error styling */
.validation-error,
input.validation-error,
textarea.validation-error,
select.validation-error {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.validation-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Checkbox validation error */
input[type="checkbox"].validation-error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

input[type="checkbox"].validation-error + span {
    color: #dc3545;
}
/* ===== Stap 3: Multimedia ===== */

.multimedia-info p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.multimedia-intro {
    font-weight: 600;
    color: #124272;
}

.multimedia-cards-title {
    font-weight: 600;
    margin-top: 20px !important;
}

.multimedia-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.multimedia-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 18px;
    transition: border-color 0.2s ease;
    /* De kaart is een link naar de dienst — geen standaard linkopmaak */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.multimedia-card:hover {
    border-color: var(--primary-orange);
}

.multimedia-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #124272;
}

.multimedia-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-orange);
}

.multimedia-card-price small {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.multimedia-card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.multimedia-tvbox {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 20px;
}

.multimedia-tvbox p {
    margin-bottom: 10px;
}

.multimedia-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.multimedia-links a {
    display: inline-block;
    padding: 8px 14px;
    border: 2px solid var(--primary-orange);
    border-radius: 6px;
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.multimedia-links a:hover {
    background: var(--primary-orange);
    color: #fff;
}

@media (max-width: 600px) {
    .multimedia-cards {
        grid-template-columns: 1fr;
    }
}
