/* =====================================================================
   examina.io — Register page (ported from the approved mock)
   ===================================================================== */

.rg-split { min-height: 100vh; display: flex; }

/* Left brand panel (40%) */
.rg-aside {
    flex: 0 0 40%;
    background: linear-gradient(to bottom right, #0d9488, #1d4ed8);
    position: relative;
    overflow: hidden;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}
.rg-aside > div.rg-aside__bg { position: absolute; inset: 0; z-index: 0; opacity: .2; pointer-events: none; }
.rg-aside__bg img { width: 100%; height: 100%; object-fit: cover; }
.rg-aside > div:not(.rg-aside__bg) { position: relative; z-index: 10; }
.rg-aside__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 80px; color: #fff; text-decoration: none; }
.rg-aside__brand:hover { color: #fff; text-decoration: none; }
.rg-aside__brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.rg-aside__brand span { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; font-family: var(--ex-font-display); }
.rg-aside h2 {
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}
.rg-aside__lede { font-size: 1.125rem; color: #f0fdfa; opacity: .9; line-height: 1.65; max-width: 448px; }

.rg-trust { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.rg-trust__avatars { display: flex; }
.rg-trust__avatars span {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #14b8a6;
    background: #fff;
    color: #0d9488;
    font-weight: 800;
    font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ex-font-display);
}
.rg-trust__avatars span + span { margin-left: -12px; }
.rg-trust__label { font-size: .875rem; font-weight: 500; }
.rg-aside__legal {
    font-size: .75rem;
    color: #ccfbf1;
    opacity: .6;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    margin: 0;
}

/* Right form panel (60%) */
.rg-main {
    flex: 0 0 60%;
    background: #fff;
    padding: 80px;
    display: flex;
    align-items: center;
}
.rg-form-wrap { max-width: 576px; width: 100%; margin: 0 auto; }
.rg-head { margin-bottom: 40px; }
.rg-head h1 { font-size: 2.25rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.rg-head p { color: #64748b; font-weight: 500; margin: 0; }
.rg-head a { color: #0d9488; font-weight: 700; }
.rg-head a:hover { text-decoration: underline; }

.rg-form .rg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rg-form .rg-field { margin-bottom: 24px; }
.rg-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.input-modern {
    border-radius: 12px;
    border: 1px solid #edf2f7;
    padding: 12px 16px;
    transition: all .2s;
    width: 100%;
    font-family: var(--ex-font-body);
    font-size: .95rem;
    color: var(--ex-heading);
}
.input-modern:focus {
    outline: none;
    border-color: var(--ex-teal);
    box-shadow: 0 0 0 4px rgba(0, 172, 172, .1);
}
.rg-input-icon { position: relative; }
.rg-input-icon svg {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: #94a3b8;
    pointer-events: none;
}
.rg-input-icon .input-modern { padding-left: 40px; }

.rg-accept { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; margin-bottom: 24px; }
.rg-accept input[type="checkbox"] {
    margin-top: 4px;
    width: 20px; height: 20px;
    border-radius: 6px;
    accent-color: var(--ex-teal);
    flex: 0 0 20px;
    cursor: pointer;
}
.rg-accept label { font-size: .875rem; color: #64748b; line-height: 1.65; text-transform: none; letter-spacing: normal; font-weight: 400; margin: 0; }
.rg-accept a { color: #0d9488; font-weight: 700; }
.rg-accept a:hover { text-decoration: underline; }

.rg-submit {
    width: 100%;
    border: 0;
    border-radius: 9999px;
    background: var(--ex-gradient);
    color: #fff;
    padding: 16px;
    font-family: var(--ex-font-body);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 20px 25px -5px rgba(20, 184, 166, .2);
    transition: all .2s;
}
.rg-submit:hover:not([disabled]) { box-shadow: 0 20px 25px -5px rgba(20, 184, 166, .4); transform: translateY(-2px); }
.rg-submit[disabled] { opacity: .55; cursor: not-allowed; }

.rg-secure {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 32px;
}
.rg-secure a { color: #94a3b8; }
.rg-secure a:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .rg-split { flex-direction: column; }
    .rg-aside { flex: 0 0 auto; padding: 40px 24px; }
    .rg-aside__brand { margin-bottom: 40px; }
    .rg-main { flex: 1 1 auto; padding: 40px 24px; }
    .rg-form .rg-row { grid-template-columns: minmax(0, 1fr); }
}
