:root {
    --maxw: 430px;
    --blue: #0a4f86;
    --field-h: 44px;
}

/* Full screen background */
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: url("/images/Background-1.png") center top / cover no-repeat fixed;
}

/* Mobile centered container */
.screen {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 12px 14px 18px; /* smaller padding */
    box-sizing: border-box;
}


/* Form block starts lower like your screenshot */
.form-wrap {
    margin-top: 310px; /* adjust if your header is taller/shorter */
}

/* Label smaller + tighter */
.label {
    display: block;
    font-size: 16px; /* was 22 */
    color: #1f1f1f;
    margin: 10px 6px 6px; /* tighter */
    font-weight: 600;
}

.req {
    color: #d11;
    margin-left: 3px;
}

/* Input smaller */
.field {
    width: 100%;
    height: var(--field-h);
    border-radius: 22px; /* was 28 */
    border: 1px solid rgba(0,0,0,.22);
    background: rgba(255,255,255,.90);
    padding: 0 14px; /* smaller padding */
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

/* Submit row compact */
.actions {
    margin-top: 14px; /* was 26 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    height: 44px; /* was 56 */
    padding: 0 18px;
    border-radius: 22px;
    border: none;
    background: rgba(255,255,255,.92);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,.10);
    min-width: 110px;
}

.note {
    font-size: 12px; /* was 14 */
    color: rgba(0,0,0,.60);
    text-align: right;
    line-height: 1.1;
    max-width: 180px;
}

/* Optional: make alerts smaller too */
.alert {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}


    .alert.error {
        background: #ffe8e8;
        border: 1px solid #ffb5b5;
        color: #7a1414;
    }

    .alert.ok {
        background: #e8fff1;
        border: 1px solid #a7f3c6;
        color: #0f5132;
    }
.thanks-wrap {
    margin-top: 300px; /* adjust based on background */
    text-align: center;
}

.thanks-img {
    width: 100%;
    max-width: 360px;
    height: auto;
}
.cc-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cc-select {
    width: 120px;
    height: var(--field-h);
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,.22);
    background: rgba(255,255,255,.90);
    padding: 0 10px;
    font-size: 14px;
}

.cc-input {
    flex: 1;
    height: var(--field-h);
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,.22);
    background: rgba(255,255,255,.90);
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}
@media (min-width: 768px) {

    body {
        /* DESKTOP background */
        background: url("/images/a2.png") center center / cover no-repeat fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px 0;
    }

    .screen {
        max-width: var(--maxw); /* keep mobile width */
        width: 100%;
        height: 92vh;
        min-height: 860px;
        background: transparent; /* IMPORTANT */
    }

    .form-wrap {
        margin-top: 260px; /* adjust so it sits inside arch center */
    }
}
