﻿.ca-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #141414;
    color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -20px 50px rgba(0,0,0,.45);
    padding-bottom: max(env(safe-area-inset-bottom), 12px);
    transform: translateY(100%);
    opacity: 0;
    font-size: 18px;
    pointer-events: none;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
}
    .ca-sheet.in {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;

    }

.ca-wrap {
    padding: 16px 16px 18px;
}

.ca-title {
    font-size: 18px;
    margin: 0 0 6px;
}

.ca-sub {
    color: #ccc;
    font-size: 16px;
    margin: 0 0 12px;
 }

.ca-row {
    display: flex;
    gap: 8px;
}

.ca-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.22);
    text-decoration: none;
    color: #fff;
    background: transparent;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px;
}

.ca-btn--pri {
    background: #ff6600;
    border-color: #ff6600;
}
/* whatsapp keuzemenu */
.ca-choices {
    margin: 10px 0 6px;
}

.ca-q {
    margin: 0 0 6px 2px;
    font-size: 14px;
    opacity: .9;
}

.ca-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ca-chip {
    appearance: none;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease, border-color .18s ease;
}

    .ca-chip:hover,
    .ca-chip:focus {
        transform: translateY(-1px);
        background: rgba(37,211,102,.18);
        border-color: rgba(37,211,102,.55);
        outline: none;
    }

.ca-btn--wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    border-color: #25d366;
    color: #0b2817;
    font-weight: 600;
    font-size: 15px; 
    line-height: 1;
}

    .ca-btn--wa i {
        font-size: 18px;
    }

    .ca-btn--wa:hover {
        background: #1ebe5d;
        border-color: #1ebe5d;
    }
.ca-choices {
    display: none;
}

.ca-sheet.wa-on .ca-choices {
    display: block;
}

.ca-chip.chosen {
    outline: 2px solid rgba(37,211,102,.6);
}

.ca-form {
    display: none;
    margin-top: 10px;
}

    .ca-form.in {
        display: block;
    }

.ca-input {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
    background: #0f0f0f;
    color: #fff;
    padding: 0 12px;
    margin-bottom: 8px;
    margin-top: 15px;
}

    .ca-input:focus {
        outline: 2px solid rgba(255,255,255,.25);
        outline-offset: 2px;
    }

.ca-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #ccc;
}

    .ca-check input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 4px;
        border: 1px solid rgba(255,255,255,.4);
        background: #0f0f0f;
        cursor: pointer;
        position: relative;
        transition: all .2s ease;
        flex-shrink: 0;
          }

        .ca-check input[type="checkbox"]:hover {
            border-color: #ff6600;
        }

        .ca-check input[type="checkbox"]:checked {
            background-color: #ff6600;
            border-color: #ff6600;
            box-shadow: 0 0 0 2px rgba(255,102,0,.35);
        }

            .ca-check input[type="checkbox"]:checked::after {
                content: '✔';
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -52%);  
                font-size: 13px;
                color: #fff;
                line-height: 1;
                pointer-events: none;
            }

    .ca-check label {
        margin: 0;
        cursor: pointer;
        color: darkgray;
    }

.ca-trust {
    font-size: 14px;
    color: black;
    margin: 8px 0 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    line-height: 1.45;
    text-align: center;
}

    .ca-trust::before {
        margin-right: 6px;
        opacity: .9;
    }

    .ca-trust .hl {
        color: black;
        font-weight: 600;
    }


.ca-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    opacity: .75;
    cursor: pointer;
    padding: 6px;
}

@media (min-width: 992px) {
    .ca-sheet {
        display: none;
    }
}

.ca-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.ca-form.thanks {
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.ca-form .ca-thanks {
    display: block;
    background: #0b0b0b;
    color: #ff6600;
    font-weight: 600;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 0, .35);
    box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    margin-top: 8px;
}
