:root {
    --navy: #03162c;
    --cyan: #00e5f2;
    --white: #f5fbff;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--navy);
    background-image:
        linear-gradient(180deg, rgba(1,16,35,.56), rgba(1,16,35,.82)),
        url("/assets/cope-resilience-background-clean.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.background-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 35%, rgba(0,213,245,.17), transparent 40%),
        linear-gradient(135deg, transparent 60%, rgba(0,225,245,.08));
}

.page {
    width: min(100% - 28px, 540px);
    margin: 0 auto;
    padding: 16px 0 34px;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 12px 18px;
    min-height: 104px;
    box-shadow: 0 0 24px rgba(0,220,255,.25);
}

.brand img {
    width: 100%;
    max-height: 84px;
    object-fit: contain;
}

.principles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px 9px;
    padding: 16px 0;
    border-bottom: 2px solid var(--cyan);
    color: white;
    font-size: clamp(10px, 2.8vw, 15px);
    font-weight: 800;
    letter-spacing: .4px;
}

.principles i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
}

.registration {
    margin: 28px auto 0;
    padding: 22px 18px;
    border: 1.5px solid var(--cyan);
    border-radius: 23px;
    background: rgba(2, 28, 48, .91);
    box-shadow: 0 0 28px rgba(0,220,255,.22),
                inset 0 0 28px rgba(0,200,255,.07);
    backdrop-filter: blur(15px);
}

.form-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
}

.user-icon {
    color: var(--cyan);
    font-size: 55px;
    line-height: 1;
}

.form-heading h1 {
    margin: 0;
    font-size: clamp(26px, 7vw, 35px);
    font-weight: 750;
}

.form-heading p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #d8edf5;
}

.field {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 11px;
    padding: 0 13px;
    border: 1px solid #b6d7e8;
    border-radius: 12px;
    background: rgba(17, 62, 83, .67);
}

.field:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0,229,242,.28);
}

.field-icon {
    color: #fff;
    font-size: 25px;
    width: 25px;
    text-align: center;
}

.field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 16px;
    padding: 12px 0;
}

.field input::placeholder { color: #f0f7fb; opacity: 1; }

.consents {
    display: grid;
    gap: 17px;
    margin: 25px 0;
}

.consent {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: start;
    gap: 12px;
    line-height: 1.45;
    font-size: 14px;
}

.consent input {
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--cyan);
}

.consent a {
    color: var(--cyan);
    text-decoration: underline;
}

button {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(100deg, #00dce9, #00f1df);
    color: #00192a;
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(0,230,240,.24);
}

button:disabled { opacity: .65; cursor: wait; }

button span { margin-right: 9px; }

#message {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 21px;
    color: #e5f3fa;
}

.privacy-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.info {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border: 2px solid white;
    border-radius: 50%;
    font-weight: 700;
}

@media (max-width: 380px) {
    .page { width: calc(100% - 20px); }
    .registration { padding: 18px 13px; margin-top: 20px; }
    .brand { min-height: 82px; }
    .field { min-height: 49px; }
    .consent { font-size: 13px; }
    button { min-height: 56px; font-size: 19px; }
}

@media (min-width: 700px) {
    .page { padding-top: 35px; }
    .registration { margin-top: 45px; padding: 30px; }
}

/* COPE RESILIENCE EXPERIENCE - COMPACTE MOBIELE WEERGAVE */
@media screen and (max-width: 600px) {
    .page {
        width: calc(100% - 20px);
        padding: 7px 0 10px;
    }

    .brand {
        min-height: 62px;
        padding: 5px 12px;
        border-radius: 14px;
    }

    .brand img {
        max-height: 50px;
    }

    .principles {
        margin-top: 7px;
        padding-bottom: 6px;
        font-size: 11px;
        line-height: 1.2;
    }

    .registration {
        margin-top: 11px;
        padding: 14px 13px;
        border-radius: 18px;
    }

    .registration h1 {
        font-size: 25px;
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: 3px;
    }

    .registration p {
        font-size: 12px;
        line-height: 1.3;
    }

    .registration input:not([type="checkbox"]) {
        min-height: 42px;
        height: 42px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .registration label {
        font-size: 12px;
        line-height: 1.3;
    }

    .registration button {
        min-height: 48px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

/* Extra compact bij korte smartphoneschermen */
@media screen and (max-width: 600px) and (max-height: 760px) {
    .page {
        padding-top: 4px;
        padding-bottom: 6px;
    }

    .brand {
        min-height: 52px;
        padding: 4px 10px;
    }

    .brand img {
        max-height: 42px;
    }

    .principles {
        margin-top: 5px;
        padding-bottom: 4px;
        font-size: 10px;
    }

    .registration {
        margin-top: 8px;
        padding: 11px 11px;
    }

    .registration h1 {
        font-size: 23px;
    }

    .registration input:not([type="checkbox"]) {
        min-height: 38px;
        height: 38px;
    }

    .registration button {
        min-height: 44px;
    }
}

/* DUBBEL LOGO CORRECTIE */
body {
    background-image:
        linear-gradient(
            to bottom,
            #03162c 0px,
            #03162c 210px,
            rgba(3,22,44,.98) 270px,
            rgba(3,22,44,.75) 340px,
            rgba(3,22,44,0) 460px
        ),
        linear-gradient(
            180deg,
            rgba(1,16,35,.56),
            rgba(1,16,35,.82)
        ),
        url("/assets/cope-resilience-background-clean.png");
}

/* UNIFIED COPE BACKGROUND */
body {
    background-color: #061b31 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(2, 17, 35, .48),
            rgba(2, 17, 35, .78)
        ),
        url("/assets/cope-resilience-background-clean.png") !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

@media (max-width: 700px) {
    body {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
}
/* COPE TRANSPARANT REGISTRATION HEADER */
.brand {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.brand img {
    max-width: 210px;
    max-height: 72px;
    object-fit: contain;
    filter: none;
}
