
:root{
      --bg: #F9F7F2;
      --ink: #4F5256;
      --muted: #5b6b85;
      --blue-1: #0026FF;
      --blue-2: #2563eb;
      --blue-3: #dbeafe;
      --green-1: #0f766e;
      --green-2: #a7f3d0;
      --gold: #c0902e;
      --card: #ffffff;
      --border: #d7dfeb;
      --shadow: 0 8px 24px rgba(10, 28, 65, .08), 0 1px 2px rgba(10, 28, 65, .06);
      --radius: 16px;
      --radius-sm: 12px;
      --container: 1200px;
	  --accent: #2563eb;
	  --text: #1f2937;
	  --muted: #4b5563;
	  --error: #FF0000;
	  --success: #00FF00;
    }

.layout {
    width: 75%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


.titlepage {
	text-align: center;
	font-size:20px;
}

/* ---------------- Buttons ---------------- */

.overbtn {
    display: inline-block;
    text-decoration: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform .06s ease,
                box-shadow .2s ease,
                background .2s ease;
    text-align: center;
}

.overbtn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(37,99,235,.25);
}

.overbtn-primary:hover {
    transform: translateY(-2px);
    background: green;
}

.overbtn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid black;
}

/* ---------------- Form Layout ---------------- */

form {
    margin-top: 20px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-weight: 600;
    font-size: .95rem;
}

/* ---------------- Inputs ---------------- */

.input,
.select,
.password-wrap input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    font: inherit;
    background: #fff;
    color: var(--text);
    box-sizing: border-box;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.input:focus,
.password-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* ---------------- Password ---------------- */

.password-wrap {
    position: relative;
    width: 100%;
}

.toggle-pass {
    position: absolute;
    right: 8px;
    top: 8px;

    padding: 8px 10px;
    border-radius: 8px;

    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;

    font-size: .85rem;
    color: var(--muted);
}

/* ---------------- Misc ---------------- */

.requirements {
    margin: 6px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: .92rem;
}

.status {
    font-size: .9rem;
    margin-top: 6px;
}

.status.error {
    color: var(--error);
}

.status.ok {
    color: var(--success);
}

.hint {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

/* ---------------- Terms ---------------- */

.terms-block {
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    width:100%;
	margin-top:24px;
}

.terms {
    display:flex;
    align-items:flex-start;
    gap:10px;
    flex:1;              /* THIS IS THE IMPORTANT PART */
    min-width:300px;     /* prevents collapsing */
}



.terms input[type="checkbox"] {
    margin-top: 3px;
}

.terms span {
    display:block;
    width:100%;
}
/* ---------------- Actions ---------------- */

.actions {
    margin-top: 25px;
}

.submit-btn {
    width:220px;
	height:32px;
    flex-shrink:0;
}

/* ---------------- Google ---------------- */

.google-signin {
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------------- Utility ---------------- */

.center {
    text-align: center;
}

.cookies-note {
    clear: both;
    margin-top: 26px;
}

/* ---------------- Mobile ---------------- */

@media (max-width: 768px) {

    .titlepage {
		text-align: center;
		font-size:15px;
	}
	
	.layout {
        padding: 0 12px;
    }

    .gridder {
        grid-template-columns: 1fr;
    }

    .google-signin {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit-btn {
        width: 100%;
        min-width: 0;
    }

    .overbtn-ghost {
        width: 100%;
        box-sizing: border-box;
    }
}