/* Konfigurator form normalization (2026-08-04).
   The three ported forms (diesel / SDA / UPS) share the label + .input markup
   but shipped with bare browser-default inputs. This styles them identically
   without touching the per-form HTML. Loaded by shared/header.cfm only. */

form .clearfix > .control-label {
    float: none;
    display: block;
    width: auto;
    padding: 0;
    text-align: left;
}

form .control-label p {
    margin: 0 0 4px;
    font-weight: 600;
    color: #444;
}

form .input {
    margin-bottom: 14px;
}

form .input input[type="text"],
form .input input[type="number"],
form .input input[type="email"],
form .input select {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 38px;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

form .input input:focus,
form .input select:focus {
    border-color: #299ae0;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06), 0 0 6px rgba(41, 154, 224, .4);
}

form .input input::placeholder {
    color: #999;
}

form input[type="range"] {
    width: 100%;
    max-width: 420px;
    accent-color: #299ae0;
}

form .kw-readout {
    margin: 8px 0 0;
    font-size: 24px;
    line-height: 1.2;
}

form .kw-readout span {
    display: inline !important;
    white-space: nowrap;
}

form .kw-readout #kwunit {
    font-size: 17px;
    font-weight: 400;
    color: #666;
}

form .step1radiobuttons .radio {
    display: inline-block;
    margin: 4px 22px 10px 0;
}

form input[type="submit"].btn {
    margin-top: 8px;
    min-width: 180px;
}

form h2, form h3,
form .clearfix h4 {
    margin: 0 0 16px;
}

/* One headline treatment for all three configurators */
.konfigurator-headline {
    margin: 34px 0 20px;
    font-size: 30px;
    line-height: 1.25;
    text-align: left;
}

@media (max-width: 767px) {
    .konfigurator-headline {
        margin: 20px 0 14px;
        font-size: 24px;
    }
}

/* Forklaring accordion: the theme hard-codes width:460px on heading and body,
   which overflows the column and cuts the right border. Cap at column width. */
#headingForklaring.panel-heading.panel-makker,
#collapseForklaring div.panel-body {
    width: 100% !important;
    max-width: 460px;
}

#collapseForklaring div.panel-body p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    body { overflow-x: hidden; }
}
