:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --accent: #0b7a7a; /* teal similar to site */
    --muted: #6b7280;
    --radius: 12px;
    --pad: 18px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f3f6f8 0%, #eef3f6 100%);
    color: #0b2130;
}

.page {
    max-width: 920px;
    margin: 32px auto;
    padding: 22px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(2, 10, 20, 0.06);
}

.brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f5;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.brand-left h1 {
    margin: 0;
    font-size: 20px;
    color: var(--accent);
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.form fieldset {
    border: 0;
    margin: 0 0 12px;
    padding: 0;
}

.form legend {
    font-weight: 700;
    color: #102027;
    margin-bottom: 8px;
}

.form label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #113744;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e6eef2;
    background: #fbfdff;
    outline: none;
    font-size: 14px;
    color: #052026;
}

.form textarea {
    resize: vertical;
}

.twocols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

button {
    background: var(--accent);
    color: white;
    border: 0;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

#message {
    margin-top: 12px;
    color: var(--muted);
}

.foot {
    margin-top: 40px;
    padding: 20px 10px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e5e5e5;
}

.foot a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.foot a:hover {
    text-decoration: underline;
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Added from previous suggestion: Logo and Modal styles */
.logo {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 720px) {
    .twocols {
        grid-template-columns: 1fr;
    }

    .brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}