* { box-sizing: border-box; }
body { margin: 0; background: #edf2fa; color: #182946; font: 16px/1.5 system-ui, sans-serif; }
.auth-shell { width: min(1100px, 94%); margin: max(4vh, 24px) auto; display: grid; grid-template-columns: .85fr 1.15fr; background: white; border: 1px solid #dbe3ef; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 70px #19305512; }
.cover { background: linear-gradient(150deg,#eaf2ff,#cddffb); padding: clamp(24px,4vw,56px); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 42px; }
.brand { width: 130px; max-height: 60px; object-fit: contain; }
.cover-copy span { color: #375c91; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cover-copy p { font-size: clamp(2.3rem,4vw,4rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; margin: 12px 0; }
.art { width: 100%; max-height: 290px; }
.panel { align-self: center; padding: clamp(24px,5vw,72px); min-width: 0; }
.panel h1 { font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.045em; margin: 0 0 24px; font-weight: 700; }
.panel label { display: block; font-size: .89rem; font-weight: 600; margin: 12px 0 5px; }
.panel input:not([type=checkbox]):not([type=hidden]) { display: block; width: 100%; min-height: 46px; background: #fbfcff; color: #182946; border: 1px solid #aebdd0; border-radius: 8px; padding: 10px 12px; }
.form-input,.form-group { position: relative; }
.panel .form-input:has(.reveal) input { padding-right: 62px; }
.reveal { position: absolute; right: 4px; top: 3px; height: 40px; border: 0; background: transparent; color: #2255aa; font-size: .85rem; }
.panel a { color: #2056ae; font-weight: 600; }
.panel .action { display: block; padding: 13px; margin-top: 18px; text-align: center; background: #2359bd; color: white; text-decoration: none; border-radius: 9px; }
.panel .action:hover { background: #17458f; }
.switch { text-align: center; margin: 22px 0 0; font-size: .9rem; }
.recover { text-align: right; margin: 12px 0; font-size: .9rem; }
details summary { position: absolute; right: 0; top: -4px; list-style: none; cursor: pointer; border: 1px solid #829bc0; color: #214c8b; border-radius: 50%; width: 25px; text-align: center; }
details p,.reference { font-size: .88rem; margin: 8px 0; }
:focus-visible { outline: 3px solid #3679dc; outline-offset: 2px; }
@media (min-width: 760px) {
    .custom-container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
    .custom-container > * { grid-column: 1/-1; }
    .custom-container > .form-group:has(#txtUsername,#txtEmail,#txtPassword,#txtConPassword) { grid-column: auto; }
}
.custom-container > br { display: none; }
@media (max-width: 759px) {
    .auth-shell { width: min(96%,560px); grid-template-columns: 1fr; margin: 12px auto; }
    .cover { flex-direction: row; align-items: center; padding: 18px 24px; gap: 12px; }
    .cover-copy p,.art { display: none; }
    .brand { width: 105px; }
}
