/*
Copyright 2006-2026 FVN Alliance, Inc. Toronto, Canada.
www.FVN-Alliance.com / 647-288-0505 / fax 647-288-0500
(for distribution via FVN network www.fvn-net.org)
Created By: Valery Donchenko
Created On: Sep 30, 2026
Description: Responsive InfoPage registration page styles.
Modifications:
2026-09-30: Add FVN source header for server deployment.
*/

:root {
    --navy: #052b67;
    --navy-dark: #031c45;
    --blue: #0869ed;
    --blue-light: #edf6ff;
    --line: #dce7f4;
    --text: #10213d;
    --muted: #68778d;
    --white: #ffffff;
    --success: #167649;
    --danger-bg: #fff2f2;
    --danger: #a52a2a;
    --shadow: 0 18px 50px rgba(22, 48, 83, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: #f4f8fc;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a { color: var(--blue); }

.site-header {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e7edf5;
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    max-width: 1240px;
    min-height: 78px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--navy);
    text-decoration: none;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 13px;
}

.brand strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.8px;
}

.brand strong span { color: var(--blue); }

.brand small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.top-nav a {
    color: #18325c;
    text-decoration: none;
    font-weight: 600;
}

.top-nav .active { color: var(--blue); }

.top-nav .login-btn {
    background: var(--blue);
    color: white;
    padding: 11px 24px;
    border-radius: 12px;
}

.hero {
    color: white;
    background:
        radial-gradient(circle at 82% 35%, rgba(53,151,255,.32), transparent 33%),
        linear-gradient(125deg, var(--navy-dark), #064a9f 64%, #0876dc);
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #acd4ff;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
    margin: 0 0 16px;
    letter-spacing: -1.5px;
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: #deedff;
    font-size: 19px;
}

.hero-badge {
    min-width: 300px;
    max-width: 350px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    backdrop-filter: blur(5px);
}

.badge-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--blue);
    font-weight: 900;
    font-size: 22px;
}

.hero-badge strong, .hero-badge small { display: block; }
.hero-badge small { color: #dfeeff; margin-top: 3px; }

.content-wrap {
    max-width: 1240px;
    margin: 36px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.form-card,
.side-card {
    background: white;
    border: 1px solid #e3ebf5;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-card { padding: 32px; }

.form-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.form-heading h2 {
    margin: 0 0 5px;
    font-size: 29px;
    color: var(--navy);
}

.form-heading p { margin: 0; color: var(--muted); }

.secure-label {
    background: #eaf6ff;
    color: #0660bb;
    padding: 8px 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 13px;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 30px;
}

legend {
    display: block;
    width: 100%;
    padding: 0 0 10px;
    margin-bottom: 17px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.wide { grid-column: 1 / -1; }

label > span,
.section-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 650;
    font-size: 14px;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
select,
textarea {
    width: 100%;
    border: 1px solid #cbd8e8;
    background: #fff;
    border-radius: 10px;
    padding: 12px 13px;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: .15s ease;
}

textarea { resize: vertical; min-height: 125px; }

input:focus, select:focus, textarea:focus {
    border-color: #4f9cff;
    box-shadow: 0 0 0 3px rgba(38,128,241,.12);
}

.check-section { margin-top: 22px; }

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.check-card {
    min-height: 52px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d7e3f1;
    border-radius: 11px;
    cursor: pointer;
}

.check-card:hover { background: #f8fbff; }
.check-card input { width: 17px; height: 17px; }
.check-card span { margin: 0; font-weight: 500; }

.consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
    background: #f5f9fe;
    border: 1px solid #deebf7;
    border-radius: 11px;
}

.consent input { margin-top: 4px; }
.consent span { margin: 0; font-weight: 500; }

.submit-row {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    min-height: 48px;
    padding: 12px 23px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

.primary-button { color: white; background: linear-gradient(135deg, #0870ef, #0753cd); }
.primary-button:hover { filter: brightness(.96); }
.secondary-button { background: #edf4fc; color: var(--navy); }

.side-card {
    padding: 27px;
    position: sticky;
    top: 104px;
}

.side-card h3 {
    color: var(--navy);
    font-size: 21px;
    margin: 0 0 20px;
}

.side-card ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-card li {
    display: flex;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.side-card li > span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: #e8f3ff;
    color: #0764d7;
    border-radius: 50%;
    font-weight: 850;
}

.side-card li strong,
.side-card li small { display: block; }

.side-card li small {
    color: var(--muted);
    margin-top: 3px;
    line-height: 1.4;
}

.contact-box {
    margin-top: 23px;
    padding: 17px;
    border-radius: 13px;
    background: linear-gradient(145deg, #eff7ff, #f8fbff);
    border: 1px solid #d9e9f9;
}

.contact-box strong { color: var(--navy); }
.contact-box p { margin: 5px 0 2px; color: var(--muted); }

.error-box {
    padding: 15px 18px;
    background: var(--danger-bg);
    border: 1px solid #f1cccc;
    color: var(--danger);
    border-radius: 11px;
    margin-bottom: 24px;
}
.error-box ul { margin-bottom: 0; }

.success-box {
    text-align: center;
    padding: 48px 22px 40px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e5f7ef;
    color: var(--success);
    font-size: 36px;
    font-weight: 900;
}

.success-box h2 {
    font-size: 30px;
    margin: 0 0 10px;
    color: var(--navy);
}

.success-box p {
    max-width: 580px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px;
    color: #77859a;
    font-size: 13px;
}

@media (max-width: 900px) {
    .content-wrap { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .hero-inner { align-items: flex-start; flex-direction: column; }
    .hero-badge { min-width: 0; max-width: 100%; }
}

@media (max-width: 680px) {
    .header-inner { align-items: flex-start; flex-direction: column; }
    .top-nav { width: 100%; justify-content: space-between; gap: 12px; }
    .top-nav a { font-size: 14px; }
    .top-nav .login-btn { padding: 8px 14px; }

    .brand strong { font-size: 26px; }
    .brand img { width: 52px; height: 52px; }

    .hero-inner { padding-top: 38px; padding-bottom: 38px; }
    .hero p { font-size: 17px; }

    .content-wrap { margin-top: 20px; padding: 0 14px; }
    .form-card { padding: 21px 17px; border-radius: 15px; }

    .grid.two, .check-grid { grid-template-columns: 1fr; }
    .form-heading { flex-direction: column; }
    .submit-row { align-items: stretch; flex-direction: column; }
    .primary-button { width: 100%; }
    footer { flex-direction: column; }
}
