:root {
    --ik-ink: #092f43;
    --ik-muted: #58707d;
    --ik-petrol: #025170;
    --ik-green: #9eb71c;
    --ik-green-dark: #839a12;
    --ik-line: #d9e2e6;
}

.smart-forms,
.smart-forms input,
.smart-forms select,
.smart-forms textarea,
.smart-forms button {
    font-family: Roboto, Arial, sans-serif !important;
}

.smart-forms .form-body {
    padding: 20px 0 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.smart-forms .gui-input,
.smart-forms .gui-textarea,
.smart-forms .select > select {
    min-height: 50px !important;
    padding-left: 14px !important;
    color: var(--ik-ink) !important;
    background: #fbfcfc !important;
    border: 1px solid #ccd9de !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.smart-forms .gui-input:hover,
.smart-forms .gui-textarea:hover,
.smart-forms .select > select:hover {
    border-color: #9fb3bc !important;
}

.smart-forms .gui-input:focus,
.smart-forms .gui-textarea:focus,
.smart-forms .select > select:focus {
    background: #fff !important;
    border-color: var(--ik-green) !important;
    box-shadow: 0 0 0 3px rgba(158, 183, 28, .18) !important;
}

.smart-forms .field-label,
.smart-forms label {
    color: var(--ik-ink) !important;
}

.smart-forms .steps ul,
.smart-forms .steps-progress .steps ul {
    border-color: var(--ik-line) !important;
}

.smart-forms .steps ul li.current a,
.smart-forms .steps ul li.done a,
.smart-forms .steps-progress .steps ul li.current a,
.smart-forms .steps-progress .steps ul li.done a {
    color: var(--ik-petrol) !important;
}

.smart-forms .steps ul li.current a .number,
.smart-forms .steps ul li.done a .number,
.smart-forms .steps-progress .steps ul li.current a .number,
.smart-forms .steps-progress .steps ul li.done a .number {
    background: var(--ik-green) !important;
    border-color: var(--ik-green) !important;
}

.smart-forms .actions a,
.smart-forms .button,
.smart-forms button,
.smart-forms input[type="button"],
.smart-forms input[type="submit"] {
    min-height: 50px !important;
    padding: 0 22px !important;
    color: #fff !important;
    background: var(--ik-green) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(131, 154, 18, .22) !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.smart-forms .actions a:hover,
.smart-forms .button:hover,
.smart-forms button:hover,
.smart-forms input[type="button"]:hover,
.smart-forms input[type="submit"]:hover {
    background: var(--ik-green-dark) !important;
}

.smart-forms .notification.alert-success {
    color: #536800 !important;
    background: #f2f7d9 !important;
    border-color: #dce8a5 !important;
    border-radius: 8px !important;
}

#bonkredit-formular-loader,
#aktionenOverlay,
#pruefungOverlay {
    color: var(--ik-muted) !important;
}

#bonkredit-formular-loader {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 7px;
    grid-template-columns: 34px minmax(0, 1fr);
    margin: 12px auto 8px;
    max-width: 460px;
    min-height: 66px;
    padding: 8px 12px;
    text-align: left;
}

#bonkredit-formular-loader .bk-loader-spinner {
    align-items: center;
    display: flex;
    gap: 3px;
    justify-content: center;
}

#bonkredit-formular-loader .bk-loader-spinner i {
    animation: bk-loader-dot 1.05s ease-in-out infinite;
    background: var(--ik-green, #97bf0d);
    border-radius: 50%;
    display: block;
    height: 7px;
    width: 7px;
}

#bonkredit-formular-loader .bk-loader-spinner i:nth-child(2) { animation-delay: .14s; }
#bonkredit-formular-loader .bk-loader-spinner i:nth-child(3) { animation-delay: .28s; }

#bonkredit-formular-loader .bk-loader-messages {
    display: block;
    font-family: Quicksand, Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    position: relative;
}

#bonkredit-formular-loader .bk-loader-messages > span {
    animation: bk-loader-message 8s linear infinite;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#bonkredit-formular-loader .bk-loader-messages > span:nth-child(2) { animation-delay: 2s; }
#bonkredit-formular-loader .bk-loader-messages > span:nth-child(3) { animation-delay: 4s; }
#bonkredit-formular-loader .bk-loader-messages > span:nth-child(4) { animation-delay: 6s; }

#bonkredit-formular-loader .bk-loader-hint,
#bonkredit-formular-loader > small:last-of-type {
    font-size: 12px;
    grid-column: 2;
    line-height: 1.35;
}

#bonkredit-formular-loader > small:last-of-type {
    animation: bk-loader-retry 0s linear 9s forwards;
    visibility: hidden;
}

@keyframes bk-loader-dot {
    0%, 60%, 100% { opacity: .35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

@keyframes bk-loader-message {
    0%, 4% { opacity: 0; transform: translateY(5px); }
    8%, 22% { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-5px); }
}

@keyframes bk-loader-retry { to { visibility: visible; } }

@media (prefers-reduced-motion: reduce) {
    #bonkredit-formular-loader .bk-loader-spinner i,
    #bonkredit-formular-loader .bk-loader-messages > span {
        animation: none;
    }

    #bonkredit-formular-loader .bk-loader-messages > span { display: none; }
    #bonkredit-formular-loader .bk-loader-messages > span:first-child {
        display: block;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 800px) {
    .smart-forms .form-body { padding-top: 14px !important; }
    .smart-forms .gui-input,
    .smart-forms .gui-textarea,
    .smart-forms .select > select { border: 1px solid #ccd9de !important; }
}

/* Final campaign skin. The extra #bk-form specificity keeps the partner
   plugin's embedded rules from replacing the visual language of the landing. */
#bk-form .smart-forms,
#bk-form .smart-forms label,
#bk-form .smart-forms input,
#bk-form .smart-forms button,
#bk-form .smart-forms select,
#bk-form .smart-forms textarea,
#bk-form .smart-forms .wizard,
#bk-form .smart-forms .wizard a {
    font-family: Roboto, Arial, sans-serif !important;
}

#bk-form .smart-forms {
    color: var(--ik-ink) !important;
    font-size: 15px !important;
}

#bk-form .smart-forms h1,
#bk-form .smart-forms h2,
#bk-form .smart-forms h3,
#bk-form .smart-forms h4,
#bk-form .smart-forms .form-header {
    color: var(--ik-ink) !important;
    font-family: Quicksand, Roboto, Arial, sans-serif !important;
    font-weight: 700 !important;
}

#bk-form .smart-forms .field-label,
#bk-form .smart-forms .frm-row > .section,
#bk-form .smart-forms .section > label:not(.field) {
    color: var(--ik-ink-soft, #17485d) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#bk-form .smart-forms .gui-input,
#bk-form .smart-forms .gui-textarea,
#bk-form .smart-forms .select,
#bk-form .smart-forms .select > select,
#bk-form .smart-forms .select-multiple select,
#bk-form .smart-forms input[type="text"],
#bk-form .smart-forms input[type="number"],
#bk-form .smart-forms input[type="email"],
#bk-form .smart-forms input[type="tel"],
#bk-form .smart-forms input[type="date"] {
    min-height: 52px !important;
    color: var(--ik-ink) !important;
    background-color: #fbfcfc !important;
    border: 1px solid #ccd9de !important;
    border-radius: 9px !important;
    box-shadow: 0 2px 7px rgba(0, 59, 82, .05) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

#bk-form .smart-forms .select {
    border: 0 !important;
    box-shadow: none !important;
}

#bk-form .smart-forms .select > select {
    padding-right: 42px !important;
}

#bk-form .smart-forms .select .arrow {
    position: absolute !important;
    top: 1px !important;
    right: 1px !important;
    bottom: auto !important;
    width: 40px !important;
    height: 50px !important;
    color: var(--ik-petrol) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 9px 9px 0 !important;
}

#bk-form .smart-forms .select .arrow::before {
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    line-height: 1 !important;
    transform: translate(-50%, -50%) !important;
}

#bk-form .smart-forms .select .double::after {
    top: calc(50% - 7px) !important;
    bottom: auto !important;
    left: 50% !important;
    line-height: 1 !important;
    transform: translateX(-50%) !important;
}

#bk-form .smart-forms .gui-input:hover,
#bk-form .smart-forms .gui-textarea:hover,
#bk-form .smart-forms .select > select:hover,
#bk-form .smart-forms input[type="text"]:hover,
#bk-form .smart-forms input[type="number"]:hover,
#bk-form .smart-forms input[type="email"]:hover,
#bk-form .smart-forms input[type="tel"]:hover {
    border-color: #9fb3bc !important;
    background-color: #fff !important;
}

#bk-form .smart-forms .gui-input:focus,
#bk-form .smart-forms .gui-textarea:focus,
#bk-form .smart-forms .select > select:focus,
#bk-form .smart-forms input[type="text"]:focus,
#bk-form .smart-forms input[type="number"]:focus,
#bk-form .smart-forms input[type="email"]:focus,
#bk-form .smart-forms input[type="tel"]:focus {
    color: var(--ik-ink) !important;
    background-color: #fff !important;
    border-color: var(--ik-green) !important;
    box-shadow: 0 0 0 3px rgba(158, 183, 28, .18), 0 3px 9px rgba(0, 59, 82, .07) !important;
}

#bk-form .smart-forms input[type="checkbox"],
#bk-form .smart-forms input[type="radio"] {
    accent-color: var(--ik-green) !important;
}

#bk-form .smart-forms .ui-slider {
    background: #dce5e8 !important;
    border-radius: 999px !important;
}

#bk-form .smart-forms .ui-slider .ui-slider-range {
    background: var(--ik-petrol) !important;
    border-radius: 999px !important;
}

#bk-form .smart-forms .ui-slider .ui-slider-handle {
    background: var(--ik-green) !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0, 59, 82, .22) !important;
}

#bk-form .steps-theme-green .wizard > .actions a,
#bk-form .steps-theme-green .wizard > .actions a:hover,
#bk-form .steps-theme-green .wizard > .actions a:active,
#bk-form .smart-forms .actions a,
#bk-form .smart-forms .button,
#bk-form .smart-forms button,
#bk-form .smart-forms input[type="button"],
#bk-form .smart-forms input[type="submit"] {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 24px !important;
    color: #fff !important;
    background: var(--ik-green) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(131, 154, 18, .27) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-shadow: none !important;
}

#bk-form .steps-theme-green .wizard > .actions a:hover,
#bk-form .steps-theme-green .wizard > .actions a:active,
#bk-form .smart-forms .actions a:hover,
#bk-form .smart-forms .button:hover,
#bk-form .smart-forms button:hover,
#bk-form .smart-forms input[type="button"]:hover,
#bk-form .smart-forms input[type="submit"]:hover {
    color: #fff !important;
    background: var(--ik-green-dark) !important;
    box-shadow: 0 12px 28px rgba(131, 154, 18, .34) !important;
    transform: translateY(-1px);
}

#bk-form .smart-forms .wizard > .actions > ul {
    width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li:not(.disabled) {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li:not(.disabled) > a {
    width: 100% !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li:first-child:not(.disabled) {
    flex: 0 0 58px !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li:nth-child(2):not(.disabled),
#bk-form .smart-forms .wizard > .actions > ul > li:nth-child(3):not(.disabled) {
    flex: 1 1 auto !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li:first-child:not(.disabled) > a {
    min-width: 58px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
}

#bk-form .smart-forms .wizard > .actions > ul > li.disabled,
#bk-form .smart-forms .wizard > .actions > ul > li.disabled > a {
    display: none !important;
}

#bk-form .smart-forms .notification,
#bk-form .smart-forms .alert-success,
#bk-form .smart-forms .alert-info,
#bk-form .smart-forms .alert-warning,
#bk-form .smart-forms .alert-error {
    border-radius: 9px !important;
    box-shadow: 0 3px 10px rgba(0, 59, 82, .06) !important;
}

#bk-form .smart-forms .wizard > .content,
#bk-form .smart-forms .wizard > .content > .body {
    border-radius: 12px !important;
}

@media (max-width: 800px) {
    #bk-form .smart-forms .gui-input,
    #bk-form .smart-forms .gui-textarea,
    #bk-form .smart-forms .select,
    #bk-form .smart-forms .select > select,
    #bk-form .smart-forms input[type="text"],
    #bk-form .smart-forms input[type="number"],
    #bk-form .smart-forms input[type="email"],
    #bk-form .smart-forms input[type="tel"] {
        min-height: 50px !important;
        border: 1px solid #ccd9de !important;
        border-radius: 9px !important;
    }

    #bk-form .steps-theme-green .wizard > .actions a,
    #bk-form .smart-forms .actions a {
        min-height: 54px !important;
        font-size: 16px !important;
    }

    #bk-form .smart-forms .wizard > .actions > ul {
        gap: 8px !important;
    }

    #bk-form .smart-forms .wizard > .actions > ul > li:first-child:not(.disabled) {
        flex-basis: 52px !important;
    }

    #bk-form .smart-forms .wizard > .actions > ul > li:first-child:not(.disabled) > a {
        min-width: 52px !important;
    }
}
