:root {
    --accent: #00a157;
    --bg: #f8fdf9;
    --muted-border: #dfe9e7;
    --card-bg: #e6f6ec;
    --text-dark: #07424b;
    --text-blueish: #00395C;
    --text-blueish-light: #00395C1A;
    --text-color-green: #09A54A;
    --base-color-green: #08994A;
    --base-color-green-light: #08994A1A;
    /** Toggle Button On/Off Properties */
    --toggle-btn-border-radius: 10px;
    --toggle-btn-broder-height: 1px;
    --toggle-btn-color-active: #00853f;
    --toggle-btn-text-color-default: #bfcad3;
    --toggle-btn-border-default: var(--toggle-btn-broder-height) solid #ccc;
    --toggle-btn-border-active: var(--toggle-btn-broder-height) solid var(--toggle-btn-color-active);
    --toggle-btn-bg-color-active: #e6f5ec;
    --toggle-btn-margin: calc(var(--toggle-btn-broder-height) * -1)
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

.javascript-required-message {
    display: none;
    max-width: 400px;
    margin: 40px auto;
    padding: 24px 20px;
    border: 1px solid #f1c774;
    border-radius: 16px;
    background: #fff6dd;
    color: var(--text-blueish);
    text-align: center;
}

    .javascript-required-message h1 {
        margin: 0 0 12px;
        font-size: 24px;
        color: var(--text-blueish);
    }

    .javascript-required-message p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
    }

.no-js .javascript-required-message {
    display: block;
}

.no-js .js-required-content {
    display: none;
}

a {
    text-decoration: unset;
    color: var(--base-color-green);
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

header {
    text-align: center;
    padding: 15px 0;
}

    header h1 {
        color: var(--base-color-green);
        font-size: 22px;
        margin: 0;
    }

    header h2 {
        color: var(--base-color-green);
        font-size: 20px;
        margin: 0;
    }

.content {

}

.start-content-msg {
    padding: 25px 0px;
    font-weight: 500;
    color: var(--text-blueish);
}

.start-header {
    font-size: 32px;
    font-weight: bold;
}

.word-per-line {
    word-spacing: 9999px;
}

header.wizzard {
    background-color: #cbe4c2;
}

button.btn-clear {
    margin: 0px;
    padding: 0px;
    appearance: auto;
    display: inherit;
    border: unset;
    background: unset;
    cursor: pointer;
}


.hide-updown::-webkit-outer-spin-button,
.hide-updown::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    margin: 0;
}

    input[type="number"]:hover,
    input[type="number"]:focus {
        -moz-appearance: textfield;
    }

/** ============================================== */
/** Progress Bar */
/** ============================================== */
/* Step Progress Bar */
.progress-bar {
    position: relative;
    margin: 40px 0 60px;
    height: 40px;
}

/* Use CSS Grid to evenly space steps */
.steps {
    display: grid;
    
    text-align: center;
    position: relative;
    z-index: 2;
}

.steps-2-columns {
    grid-template-columns: repeat(2, 1fr); /* 2 equal steps */
}


.steps-3-columns {
    grid-template-columns: repeat(3, 1fr); /* 3 equal steps */
}

.steps-4-columns {
    grid-template-columns: repeat(4, 1fr); /* 4 equal steps */
}

.step-number {
    font-size: 18px;
    color: #bbb;
    font-weight: normal;
    background: white;
    border-bottom: solid;
    padding-bottom: 10px;
}

    .step-number.active {
        color: var(--text-color-green);
        font-weight: bold;
    }

    .step-number a {
        text-decoration: unset;
        color: inherit;
    }

/* Progress Line underneath */
.progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient( to right, var(--text-color-green) 0%, var(--text-color-green) 75%, /* 3 of 4 steps complete */
    #e0e0e0 75%, #e0e0e0 100% );
    z-index: 1;
}

/** ============================================== */
/** Forms */
/** ============================================== */
.title-2 {
    font-size: 20px;
    color: #00a000;
    margin-bottom: 10px;
}

.link-nav {
    color: var(--base-color-green);
    font-size: 16px;
}

.par {
    color: #003A62;
    font-size: 16px;
}

form h2 {
    font-size: 20px;
    color: #00a000;
    margin-bottom: 10px;
}

/*label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}
*/
input[readonly] {
    background-color: var(--base-color-green-light);
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 5px;
    font-size: 14px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .row > div {
        flex: 1;
    }

.elevator .switch {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.switch button {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

    .switch button.active {
        background: #d2f3db;
        color: #008000;
        border: 2px solid #008000;
    }

.default-button {
    width: 100%;
    background-color: var(--base-color-green);
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.default-button-alt {
    border: solid;
    border-width: 1px;
}

a.default-button {
    text-align: center;
    display: block;
}

footer {
    display: block;
    text-align: center;
    margin-top: 50px;
}

    footer img {
        width: 100%;
    }

.input-group {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 16px;
    color: #0a6060;
    margin-bottom: 6px;
    font-weight: 600;
}

/* NIP highlight input */
.input-group input[type="text"].highlight {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 0;
    background: var(--card-bg);
    color: #044a45;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}

/* Styled select */
.input-group select {
    width: 100%;
    padding: 10px 40px 10px 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--muted-border);
    background-color: #fff;
    color: #064a4a;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 3 L7 9 L13 3' stroke='%2300a157' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 10px;
}

.input-group select::-ms-expand {
    display: none
}

.input-group select:focus,
.input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,161,87,0.06);
    border-color: var(--accent);
}

/* Styled Text Area */
/*.input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 0;
    background: var(--card-bg);
    color: #044a45;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}*/

/* Checkboxes */
.input-checkbox label {
    display: flex;
}

.input-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 0px;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #E6ECEF;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    background-color: #fff;
}

    .input-checkbox input[type="checkbox"]:checked {
        background-color: var(--accent);
        border-color: var(--accent);
    }


/* Custom radio buttons */
.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 0px;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #E6ECEF;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    background-color: #fff;
}

    .radio-group input[type="radio"]:checked {
        background-color: var(--accent);
        border-color: var(--accent);
    }

.radio-group label {
    display: flex;
    color: var(--text-blueish);
    font-size: 13px;
}

.text-validation-error {
    color: #d14b4b;
    font-size: 0.8rem;
}

#collection-address-administrative-fields,
#town-or-county-dependent-fields {
    position: relative;
}

.partial-loading-indicator {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-blueish);
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.partial-loading-spinner {
    display: block;
    flex: 0 0 28px;
    min-width: 28px;
    min-height: 28px;
    width: 28px;
    height: 28px;
    border: 3px solid var(--text-blueish-light);
    border-top-color: var(--base-color-green);
    border-radius: 50%;
    animation: partial-loading-spin 0.7s linear infinite;
}

.partial-loading-content-busy {
    opacity: 0.45;
    pointer-events: none;
}

@keyframes partial-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

/** ============================================== */
/** Equipment card */
/** ============================================== */
/* Cards Container */
.equipment-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.equipment-card {
    position: relative;
    border: 2px solid #e4e8ec;
    border-radius: 16px;
    padding: 8px 8px 12px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: 0.2s;
}

    .equipment-card:hover {
        box-shadow: 0 0 10px rgba(0, 146, 70, 0.2);
    }

/*    .equipment-card img {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
        opacity: 0.8;
        filter: hue-rotate(100deg) saturate(60%);
    }*/

    .equipment-card p {
        padding-top: 1.5rem;
        font-size: 14px;
        color: #003366;
        line-height: 1.3;
        margin: 0;
    }
    .equipment-card.invisible {
        display: none;
    }

.equipment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
}

.equipment-card-selected {
    background-color: var(--base-color-green-light);
}

.equipment-plus {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 40px;
    height: 40px;
    background-color: var(--base-color-green);
    color: white;
    border-radius: 50%;

    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

    .equipment-plus:hover {
        background-color: #00b45b;
    }

.equipment-minus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: var(--base-color-green);
    border-radius: 50%;

    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.equipment-quantity {
    /*position: absolute;
    top: 12px;*/
    color: var(--base-color-green);
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
}

input.equipment-quantity {
    display: block;
    padding: 0;
    width: 40%;
    margin: 0;
    text-align: center;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    background-color: unset;
    cursor: inherit;
    outline: none;
    user-select: none;
}
/** ============================================== */
/** Toggle Button On/Off */
/** ============================================== */
.toggle-btn-container {
    display: inline-flex;
    border: var(--toggle-btn-border-default);
    border-radius: var(--toggle-btn-border-radius);
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
}

.toggle-btn-option {
    padding: 10px;
    text-align: center;
    /*font-weight: bold;*/
    /*font-size: 1.1rem;*/
    user-select: none;
    color: var(--toggle-btn-text-color-default);
    width: 50%;
}

/* "YES" style (active = checked) */
input[type="checkbox"]:checked + label .toggle-btn-option.selected {
    background-color: var(--toggle-btn-bg-color-active);
    color: var(--toggle-btn-color-active);
    border: var(--toggle-btn-border-active);
    border-radius: var(--toggle-btn-border-radius);
    margin: var(--toggle-btn-margin);
}

/* "NO" style (active = checked) */
input[type="checkbox"]:not(:checked) + label .toggle-btn-option.not-selected {
    background-color: var(--toggle-btn-bg-color-active);
    color: var(--toggle-btn-color-active);
    border: var(--toggle-btn-border-active);
    border-radius: var(--toggle-btn-border-radius);
    /*margin: var(--toggle-btn-margin);*/
    margin-top: var(--toggle-btn-margin);
    margin-bottom: var(--toggle-btn-margin);
    margin-right: var(--toggle-btn-margin);
}

/** For validating fields we don't wanna show to the user. */
.invisible-input {
    display: block;
    width: 0px !important;
    height: 0px !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    user-select: none !important;
}

/** ============================================== */
/** Summary List */
/** ============================================== */
.equipment-list-summary {
   /* background: #ffffff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);*/
}

.equipment-item {
    padding: 14px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipment-list-summary .separator {
    height: 2px;
    background: var(--text-blueish-light);
}

.equipment-text {
    max-width: 60%;
    color: var(--text-blueish);
}

.equipment-title {
    /*font-family: "Lato", sans-serif;*/
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 6px 0;
}

.equipment-weight {
    font-size: 15px;
    margin: 0;
    line-height: 1.3;
}

.equipment-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .equipment-counter .equipment-quantity {
        width: 50px;
    }

.equipment-minus-border {
    border: 2px solid var(--base-color-green);
}

.equipment-summary-box {
    background: var(--base-color-green-light);
    padding: 1px 0px;
    border-radius: 12px;
    margin-top: 26px;
    color: var(--text-blueish);
    text-align: center
}

/*.equipment-count {
    font-size: 18px;
    font-weight: 700;
    width: 24px;
    text-align: center;
    color: var(--base-color-green);
}
*/

/** ============================================== */
/** Help Window */
/** ============================================== */
.help-window {
    padding: 0px 16px 10px 16px;
    border: 2px solid var(--text-blueish-light);
    border-radius: 12px;
    margin: 16px 0px;
}

.help-window p
{
    font-size: 16px;
}

/** ============================================== */
/** Cookies */
/** ============================================== */
.cookies-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--base-color-green);
    color: #fff;
    text-align: center;
}

    .cookies-notice #cookies-notice-btn-container {
        padding: 0 1em 1em 1em;
    }
