:root {
    --gogo-green: #0b5127;
    --gogo-yellow: #f7d02c;
    --text: #0b1220;
    --line: rgba(0, 0, 0, 0.12);
}

/* reset */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
}

/* ✅ YOUR IMAGE BACKGROUND (VISIBLE) */
body.apply-page {
    min-height: 100vh;
    background: url("./assets/background/background-medical.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ✅ LIGHT OVERLAY (NOT GREEN) */
body.apply-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    /* light so image still shows */
    z-index: 0;
}

/* everything sits above overlay */
.wrap {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 16px 40px;
}

.top {
    margin-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    color: #fff;
}

.logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
}

.brand h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.brand p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 700;
    font-size: 13px;
}

/* ✅ LIGHT GREEN SOLID CARD */
.application-card {
    position: relative;
    z-index: 2;
    background: rgba(214, 243, 223, 0.96);
    border: 1px solid rgba(11, 81, 39, 0.18);
    border-radius: 18px;
    padding: 24px;
    max-width: 860px;
    margin: 40px auto 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* watermark image INSIDE the card */
.application-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./assets/background/background-medical.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
    border-radius: 18px;
}

.application-card>* {
    position: relative;
    z-index: 1;
}

.application-card h2 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 900;
    color: var(--gogo-green);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 760px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .span2 {
        grid-column: auto;
    }
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 800;
    font-size: 13px;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(11, 81, 39, .55);
    box-shadow: 0 0 0 4px rgba(11, 81, 39, .15);
}

.span2 {
    grid-column: span 2;
}

.agree {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
}

.agree input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

button {
    margin-top: 14px;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--gogo-green), #0f6a38);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
}

button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.status {
    margin-top: 12px;
    font-weight: 800;
    font-size: 13px;
}

.status.ok {
    color: #0f7a3d;
}

.status.err {
    color: #b91c1c;
}

.foot {
    margin-top: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.80);
}