/* ==================================================================
   ZOSCLIENT 1.1.4 — Public open-ticket visual polish
   Better color balance, spacing, typography and editor contrast.
   ================================================================== */
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined {
    margin: 0 0 26px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined h1 {
    margin: 0 0 8px !important;
    color: #f7f4fb !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    font-weight: 600 !important;
    letter-spacing: -.03em !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb a,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb li {
    color: #b8b1c3 !important;
    font-size: 13px !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb a:last-child,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb li.active,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined .breadcrumb a:hover {
    color: #8a2cf6 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form {
    margin: 0 !important;
    padding: 28px 28px 30px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    background: #232323 !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.18) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form > .row {
    display: flex !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-wrap: wrap !important;
    gap: 0 16px !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .form-group {
    margin-bottom: 18px !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form label {
    display: block !important;
    margin-bottom: 9px !important;
    color: #f3f0f8 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form input.form-control,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form select.form-control,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form textarea.form-control {
    min-height: 48px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px !important;
    color: #f3f0f8 !important;
    background: #1f1f1f !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    box-shadow: none !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form input.form-control:disabled,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form select.form-control:disabled,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form textarea.form-control:disabled {
    opacity: 1 !important;
    color: #c9c3d3 !important;
    background: #202020 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form input.form-control::placeholder,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form textarea.form-control::placeholder {
    color: #9f98aa !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form select.form-control,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form select.form-control option {
    color: #f3f0f8 !important;
    background: #1f1f1f !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .form-control:focus {
    border-color: rgba(138,44,246,.75) !important;
    box-shadow: 0 0 0 3px rgba(138,44,246,.16) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor {
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 12px !important;
    background: #1f1f1f !important;
    box-shadow: none !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header {
    min-height: 50px !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
    background: #272727 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header .btn {
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 8px !important;
    color: #d0c8db !important;
    background: #1f1f1f !important;
    box-shadow: none !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header .btn.btn-primary,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header .btn.active {
    border-color: rgba(138,44,246,.55) !important;
    color: #fff !important;
    background: linear-gradient(90deg, #8a2cf6, #a247ff) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header .btn:hover,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-header .btn:focus {
    border-color: rgba(138,44,246,.55) !important;
    color: #fff !important;
    background: rgba(138,44,246,.18) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor > textarea,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-input,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-preview,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-preview-panel {
    min-height: 250px !important;
    border: 0 !important;
    color: #f3f0f8 !important;
    background: #1f1f1f !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-preview *,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-editor .md-preview-panel * {
    color: #f3f0f8 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .md-footer {
    padding: 8px 12px !important;
    border-top: 1px solid rgba(255,255,255,.09) !important;
    color: #a9a2b4 !important;
    background: #272727 !important;
    font-size: 11px !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form #inputAttachments,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form input[type="file"].form-control {
    height: auto !important;
    min-height: 50px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #ece8f3 !important;
    background: #1f1f1f !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form input[type="file"]::file-selector-button {
    margin-right: 12px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 8px !important;
    color: #f7f4fb !important;
    background: #2a2a2a !important;
    cursor: pointer !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .ticket-attachments-message,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form .text-muted {
    margin-top: 8px !important;
    color: #9f98aa !important;
    font-size: 12px !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form button.btn-default,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form a.btn-default {
    min-height: 50px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 10px !important;
    color: #f0edf5 !important;
    background: #252525 !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form button.btn-default:hover,
body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form a.btn-default:hover {
    border-color: rgba(138,44,246,.5) !important;
    color: #fff !important;
    background: rgba(138,44,246,.16) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form #openTicketSubmit {
    min-width: 190px !important;
    min-height: 50px !important;
    padding: 13px 22px !important;
    border: 1px solid rgba(138,44,246,.6) !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: linear-gradient(90deg, #8a2cf6, #a247ff) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: 0 12px 28px rgba(138,44,246,.20) !important;
}

body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form > p.text-center {
    display: flex !important;
    margin: 26px 0 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

@media (max-width: 767px) {
    body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form {
        padding: 22px 16px 24px !important;
        border-radius: 14px !important;
    }

    body.wilo-guest.wilo-template-supportticketsubmit-steptwo .main-content > .header-lined h1 {
        font-size: 32px !important;
    }

    body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form > p.text-center {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form > p.text-center .btn,
    body.wilo-guest.wilo-template-supportticketsubmit-steptwo .wilo-support-form #openTicketSubmit {
        width: 100% !important;
    }
}

/* ==================================================================
   ZOSCLIENT 1.1.5 — Registration page contrast / typography polish
   ================================================================== */
body.wilo-guest.wilo-template-clientregister #registration {
    color: #e9e4ef !important;
}

body.wilo-guest.wilo-template-clientregister #registration form {
    color: #e9e4ef !important;
}

/* Section titles: remove the old white pills/strips */
body.wilo-guest.wilo-template-clientregister #registration .sub-heading {
    position: relative !important;
    height: auto !important;
    margin: 28px 0 20px !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    text-align: left !important;
    background: transparent !important;
}

body.wilo-guest.wilo-template-clientregister #registration .sub-heading span {
    position: static !important;
    display: inline-block !important;
    top: auto !important;
    padding: 0 !important;
    color: #f7f4fb !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Form rows and spacing */
body.wilo-guest.wilo-template-clientregister #registration .row {
    margin-right: -8px !important;
    margin-left: -8px !important;
}

body.wilo-guest.wilo-template-clientregister #registration .row > [class*="col-"] {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

body.wilo-guest.wilo-template-clientregister #registration .form-group {
    margin-bottom: 16px !important;
}

/* Inputs/selects */
body.wilo-guest.wilo-template-clientregister #registration .field,
body.wilo-guest.wilo-template-clientregister #registration .form-control,
body.wilo-guest.wilo-template-clientregister #registration input[type="text"],
body.wilo-guest.wilo-template-clientregister #registration input[type="email"],
body.wilo-guest.wilo-template-clientregister #registration input[type="tel"],
body.wilo-guest.wilo-template-clientregister #registration input[type="password"],
body.wilo-guest.wilo-template-clientregister #registration select,
body.wilo-guest.wilo-template-clientregister #registration textarea {
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 14px 11px 42px !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 10px !important;
    color: #f3eff8 !important;
    background: #202020 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

body.wilo-guest.wilo-template-clientregister #registration select.field,
body.wilo-guest.wilo-template-clientregister #registration select.form-control {
    padding-right: 38px !important;
}

body.wilo-guest.wilo-template-clientregister #registration .form-group:not(.prepend-icon) .field,
body.wilo-guest.wilo-template-clientregister #registration .form-group:not(.prepend-icon) .form-control,
body.wilo-guest.wilo-template-clientregister #registration .control input,
body.wilo-guest.wilo-template-clientregister #registration .control select,
body.wilo-guest.wilo-template-clientregister #registration .control textarea {
    padding-left: 14px !important;
}

body.wilo-guest.wilo-template-clientregister #registration .field::placeholder,
body.wilo-guest.wilo-template-clientregister #registration .form-control::placeholder,
body.wilo-guest.wilo-template-clientregister #registration input::placeholder,
body.wilo-guest.wilo-template-clientregister #registration textarea::placeholder {
    color: #aaa3b4 !important;
    opacity: 1 !important;
}

body.wilo-guest.wilo-template-clientregister #registration select option {
    color: #f3eff8 !important;
    background: #202020 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .field:focus,
body.wilo-guest.wilo-template-clientregister #registration .form-control:focus,
body.wilo-guest.wilo-template-clientregister #registration input:focus,
body.wilo-guest.wilo-template-clientregister #registration select:focus,
body.wilo-guest.wilo-template-clientregister #registration textarea:focus {
    border-color: rgba(138,44,246,.72) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(138,44,246,.14) !important;
}

/* Prefix icons */
body.wilo-guest.wilo-template-clientregister #registration .prepend-icon .field-icon {
    left: 13px !important;
    width: 22px !important;
    color: #9d95a8 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .prepend-icon .field-icon i {
    color: #9d95a8 !important;
}

/* Labels/help text/custom fields */
body.wilo-guest.wilo-template-clientregister #registration label:not(.field-icon),
body.wilo-guest.wilo-template-clientregister #registration .field-help-text,
body.wilo-guest.wilo-template-clientregister #registration .small,
body.wilo-guest.wilo-template-clientregister #registration .text-muted,
body.wilo-guest.wilo-template-clientregister #registration #passwordStrengthTextLabel {
    color: #aaa3b4 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .form-group > label:not(.field-icon) {
    display: block !important;
    margin-bottom: 7px !important;
    color: #e9e4ef !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Phone prefix input group */
body.wilo-guest.wilo-template-clientregister #registration .wilo-phone-field .input-group-addon,
body.wilo-guest.wilo-template-clientregister #registration .wilo-phone-field .input-group-btn .btn,
body.wilo-guest.wilo-template-clientregister #registration .selected-dial-code {
    color: #e9e4ef !important;
    border-color: rgba(255,255,255,.13) !important;
    background: #262626 !important;
}

/* Password meter */
body.wilo-guest.wilo-template-clientregister #registration .progress {
    height: 8px !important;
    margin: 6px 0 12px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #292929 !important;
    box-shadow: none !important;
}

/* Marketing opt-in used to become a giant white block */
body.wilo-guest.wilo-template-clientregister #registration .marketing-email-optin {
    margin: 24px 0 !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 12px !important;
    color: #d6d0dc !important;
    background: #242424 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .marketing-email-optin h4 {
    margin: 0 0 7px !important;
    color: #f7f4fb !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .marketing-email-optin p {
    margin: 0 0 12px !important;
    color: #b9b2c2 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* Terms panel */
body.wilo-guest.wilo-template-clientregister #registration .tospanel,
body.wilo-guest.wilo-template-clientregister #registration .panel-danger {
    border-color: rgba(255,255,255,.10) !important;
    background: #242424 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .tospanel .panel-heading,
body.wilo-guest.wilo-template-clientregister #registration .panel-danger > .panel-heading {
    color: #f7f4fb !important;
    border-color: rgba(255,255,255,.08) !important;
    background: #292929 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .tospanel .panel-body,
body.wilo-guest.wilo-template-clientregister #registration .panel-danger > .panel-body {
    color: #d6d0dc !important;
    background: #242424 !important;
}

body.wilo-guest.wilo-template-clientregister #registration .tospanel a {
    color: #c996ff !important;
}

/* Register button */
body.wilo-guest.wilo-template-clientregister #registration input[type="submit"].btn-primary {
    min-width: 190px !important;
    min-height: 48px !important;
    padding: 12px 22px !important;
    border: 1px solid rgba(138,44,246,.55) !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: linear-gradient(90deg, #8a2cf6, #a247ff) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 12px 28px rgba(138,44,246,.20) !important;
}

/* Registration contextual sidebar — keep it dark and readable */
body.wilo-guest.wilo-template-clientregister .panel-sidebar,
body.wilo-guest.wilo-template-clientregister .wilo-context-menu .panel {
    color: #ddd7e4 !important;
    border-color: rgba(255,255,255,.10) !important;
    background: #242424 !important;
}

body.wilo-guest.wilo-template-clientregister .panel-sidebar .panel-heading,
body.wilo-guest.wilo-template-clientregister .wilo-context-menu .panel-heading {
    color: #f4f0f8 !important;
    border-color: rgba(255,255,255,.08) !important;
    background: #292929 !important;
}

body.wilo-guest.wilo-template-clientregister .panel-sidebar .list-group-item,
body.wilo-guest.wilo-template-clientregister .wilo-context-menu .list-group-item,
body.wilo-guest.wilo-template-clientregister .panel-sidebar .panel-body {
    color: #d5cedc !important;
    border-color: rgba(255,255,255,.07) !important;
    background: #242424 !important;
}

body.wilo-guest.wilo-template-clientregister .panel-sidebar .list-group-item:hover,
body.wilo-guest.wilo-template-clientregister .wilo-context-menu .list-group-item:hover {
    color: #fff !important;
    background: rgba(138,44,246,.12) !important;
}

@media (max-width: 767px) {
    body.wilo-guest.wilo-template-clientregister #registration .sub-heading {
        margin-top: 22px !important;
    }

    body.wilo-guest.wilo-template-clientregister #registration .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.wilo-guest.wilo-template-clientregister #registration .row > [class*="col-"] {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}
