/* FORBA Gestion des comptes — V1.1 (compatible with Oxygen and minimal WP themes) */
.forba-gc-form, .forba-gc-form * {box-sizing:border-box}
.forba-gc-form {--gc-red:#d41119;--gc-ink:#202126;--gc-muted:#666b73;--gc-border:#dadde2;max-width:900px;width:100%;margin:24px auto 40px;padding:clamp(22px,4vw,42px);background:#fff;border:1px solid #e6e6e6;border-radius:8px;box-shadow:0 6px 30px rgba(0,0,0,.055);color:var(--gc-ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}
.forba-gc-heading {padding-bottom:23px;margin-bottom:26px;border-bottom:1px solid #ebebeb}
.forba-gc-kicker {display:block;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--gc-red);font-weight:700;margin-bottom:8px}
.forba-gc-form .forba-gc-heading h3 {font:700 clamp(23px,3vw,29px)/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:-.025em;color:var(--gc-ink);margin:0 0 10px!important}
.forba-gc-heading p {font-size:14px;color:var(--gc-muted);margin:0;line-height:1.55}
.forba-gc-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:18px;margin:22px 0}
.forba-gc-field {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;min-width:0;margin:0!important;padding:0!important;float:none!important;width:auto!important;max-width:none!important;color:var(--gc-ink);font-size:13px!important;font-weight:600!important;line-height:1.4!important}
.forba-gc-field>span {display:block!important;white-space:normal}
.forba-gc-form .forba-gc-field input:not([type=file]), .forba-gc-form .forba-gc-field select {display:block!important;appearance:auto;width:100%!important;max-width:none!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:10px 12px!important;margin:0!important;border:1px solid #cdd0d4!important;border-radius:5px!important;background:#fff!important;color:#262626!important;box-shadow:none!important;font:400 14px Arial,Helvetica,sans-serif!important;line-height:1.4!important}
.forba-gc-form .forba-gc-field input:focus, .forba-gc-form .forba-gc-field select:focus {outline:2px solid rgba(212,17,25,.2)!important;outline-offset:1px!important;border-color:var(--gc-red)!important}
.forba-gc-form .forba-gc-field input[type=file] {display:block!important;width:100%!important;max-width:100%!important;min-width:0;padding:10px!important;margin:0!important;background:#fafafa!important;border:1px dashed #ccc!important;border-radius:5px!important;font:400 12px Arial,Helvetica,sans-serif!important}
.forba-gc-help {font:400 13px/1.55 Arial,Helvetica,sans-serif!important;color:var(--gc-muted)!important;margin:9px 0 22px!important}
.forba-gc-footer-note {margin-top:20px!important;margin-bottom:12px!important}
.forba-gc-form button[type=submit] {display:inline-flex!important;justify-content:center!important;align-items:center!important;width:auto!important;min-height:45px!important;padding:12px 22px!important;margin:6px 0 0!important;background:var(--gc-red)!important;border:1px solid var(--gc-red)!important;border-radius:4px!important;box-shadow:none!important;color:#fff!important;font:700 13px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:.01em;cursor:pointer;transition:background .15s}
.forba-gc-form button[type=submit]:hover {background:#ae0f15!important;border-color:#ae0f15!important}
.forba-gc-notice {max-width:900px;margin:18px auto;padding:14px 18px;background:#fff5f5;border-left:4px solid #b00020;border-radius:3px;color:#262626;font:400 14px/1.5 Arial,Helvetica,sans-serif}
.forba-gc-notice.is-success {background:#eef8f1;border-color:#268452}
.forba-gc-photo {margin:0 0 22px}
.forba-gc-photo img {max-width:110px;height:auto;border-radius:7px;border:1px solid #eee}
@media(max-width:640px){.forba-gc-form{padding:20px 17px;margin:12px auto 28px}.forba-gc-grid{grid-template-columns:minmax(0,1fr);row-gap:15px}.forba-gc-form button[type=submit]{width:100%!important}}

/* Three-field identity row. Civilité is deliberately narrower. */
.forba-gc-identity-row {grid-column:1/-1;display:grid;grid-template-columns:minmax(120px,0.65fr) minmax(0,1.4fr) minmax(0,1.4fr);gap:20px;align-items:end}
@media(max-width:640px){.forba-gc-identity-row{grid-template-columns:minmax(100px,0.85fr) minmax(0,1.4fr);gap:12px}.forba-gc-identity-row .forba-gc-field:last-child{grid-column:1/-1}}
