* {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
    background: #bca89f;
    margin: 0;
    padding: 0;
    font-size: 15px; /* was default ~14px */
}

/* HEADER WITH LOGO */
.header-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #0b3d91;
    color: #fff;
    padding: 20px;
}

.header-container img {
    width: 70px;
    height: auto;
}

.header-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.header-text p {
    margin: 2px 0 0;
    font-size: 14px;
}

/* FORM */
.form-box {
    background: #fff;
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.section-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 17px; /* was 15px */
    font-weight: 700;
    color: #0b3d91;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

label {
    font-size: 14.5px; /* was 13px */
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input,
select {
    width: 100%;
    padding: 11px; /* was 9px */
    font-size: 15px; /* NEW */
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* BUTTONS */
.actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

button {
    padding: 12px 22px; /* slightly bigger */
    border: none;
    border-radius: 4px;
    font-size: 15px; /* was 14px */
    cursor: pointer;
}

button[type="submit"] {
    background: #288b35ff;
    color: #fff;
}

button:hover {
    background: #0b3d91;
}

button[type="button"] {
    background: #830000ff;
    color: #fff;
}

button:hover {
    background: #0b3d91;
}

/* PRINT-FRIENDLY STYLES */
@media print {
    body {
        background: #fff;
    }

    .form-box {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .header-container {
        background: none;
        color: #000;
        border-bottom: 2px solid #000;
    }

    .section-title {
        color: #000;
        border-bottom: 1px solid #000;
    }

    input, select {
        border: 1px solid #000;
    }

    .actions {
        display: none;
    }
}

    .required {
        color: #dc3545;
        margin-left: 3px;
    }

    #termsError {
    font-size: 14px; /* was 13px */
}

.terms-container {
    display: justify;
    align-items: flex-start;
    gap: 4px;          /* minimal space */
    font-size: 14.5px;
    line-height: 1.5;
}

.terms-container input[type="checkbox"] {
    margin: 1px 1px 0 0;  /* small controlled spacing */
}

.terms-container a {
    color: #0b3d91;
    font-weight: 600;
    text-decoration: underline;
}