/* Page de connexion (user/compte/connexion.html). */

.ged-gate {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #041833;
    font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
    color: #102033;
}
.ged-gate::before {
    content: '';
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: var(--ged-armoirie);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40%;
}

.ged-stage {
    position: relative; overflow: hidden; color: #fff;
    display: flex; flex-direction: column;
    padding: 36px 48px 28px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(126, 176, 255, .28), transparent 42%),
        radial-gradient(ellipse at 80% 90%, rgba(26, 86, 168, .45), transparent 46%),
        linear-gradient(160deg, #0d4a8c 0%, #072853 48%, #041833 100%);
}
.ged-stage::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(circle at 42% 58%, #000 10%, transparent 72%);
    mask-image: radial-gradient(circle at 42% 58%, #000 10%, transparent 72%);
}

.ged-gov { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.ged-gov__emblem {
    width: 104px; height: 104px; flex-shrink: 0;
    background: transparent; border: none;
    display: flex; align-items: center; justify-content: center;
}
.ged-gov__emblem img { width: 104px; height: 104px; object-fit: contain; background: transparent; }
.ged-gov__country { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.ged-gov__devise { margin: 3px 0 0; font-size: 12px; color: rgba(255,255,255,.78); }
.ged-gov__devise .r { color: #f0b4b0; }
.ged-gov__devise .y { color: #f3df9a; }
.ged-gov__devise .g { color: #b7e0c4; }

.ged-stage__copy { position: relative; z-index: 2; margin-top: 28px; max-width: 460px; }
.ged-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 12px; padding: 6px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; white-space: nowrap;
    color: #d6e6ff; background: rgba(255,255,255,.08); border: 1px solid rgba(180, 210, 255, .28);
}
.ged-kicker i { font-size: 12px; }
.ged-stage__copy h1 { margin: 0; font-size: 64px; line-height: .92; letter-spacing: -1.5px; font-weight: 800; }
.ged-stage__copy p { margin: 12px 0 0; font-size: 18px; font-weight: 600; color: #b9d4ff; }
.ged-lead { margin: 10px 0 0 !important; font-size: 14.5px !important; font-weight: 400 !important; line-height: 1.55; color: rgba(255,255,255,.72) !important; max-width: 380px; }

.ged-desk {
    position: relative; z-index: 1; flex: 1; min-height: 360px; margin: 8px 0 12px;
}
.ged-ring {
    position: absolute; z-index: 2;
    width: 420px; height: 420px;
    left: -8px; top: 50%; margin-top: -210px;
}
.ged-ring__arm {
    position: absolute; left: 50%; top: 50%; width: 0; height: 0;
}
.ged-ring__arm--pdf { transform: rotate(0deg) translateX(132px); }
.ged-ring__arm--scan { transform: rotate(120deg) translateX(132px); }
.ged-ring__arm--arch { transform: rotate(240deg) translateX(132px); }
.ged-ring__keep { display: block; }
.ged-ring__arm--scan .ged-ring__keep { transform: rotate(-120deg); }
.ged-ring__arm--arch .ged-ring__keep { transform: rotate(-240deg); }
.ged-paper, .ged-folder {
    position: absolute; background: #f7f5f0; color: #243044;
    border-radius: 10px; box-shadow: 0 18px 40px rgba(2, 10, 24, .35);
}
.ged-paper { width: 156px; padding: 14px 14px 16px; }
.ged-paper--a { transform: translate(-50%, -52%) rotate(-11deg); }
.ged-paper--b { width: 172px; transform: translate(-50%, -52%) rotate(7deg); z-index: 2; }
.ged-paper__kind {
    display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .8px;
    color: #072853; background: #d7e4f7; border-radius: 4px; padding: 2px 6px;
}
.ged-paper__title { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; }
.ged-lines {
    display: block; height: 46px; margin-top: 10px; border-radius: 4px;
    background:
        linear-gradient(#d5dbe3, #d5dbe3) 0 4px / 100% 2px no-repeat,
        linear-gradient(#d5dbe3, #d5dbe3) 0 14px / 92% 2px no-repeat,
        linear-gradient(#d5dbe3, #d5dbe3) 0 24px / 78% 2px no-repeat,
        linear-gradient(#d5dbe3, #d5dbe3) 0 34px / 86% 2px no-repeat;
}
.ged-stamp {
    position: absolute; right: 12px; bottom: 14px; width: 62px; height: 62px;
    border: 2px solid #9a2f2f; border-radius: 50%; color: #9a2f2f;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; letter-spacing: .6px;
    transform: rotate(-18deg); background: rgba(255,255,255,.55);
}
.ged-folder {
    width: 210px; z-index: 3;
    background: transparent; box-shadow: none;
    transform: translate(-46%, -58%) rotate(-3deg);
}
.ged-folder__tab {
    display: inline-flex; align-items: center; gap: 6px;
    background: #0e4f96; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .7px;
    padding: 7px 14px 8px; border-radius: 10px 10px 0 0; margin-left: 16px;
}
.ged-folder__sheet {
    background: #fff; border-radius: 0 12px 12px 12px; padding: 16px 16px 14px;
    box-shadow: 0 20px 44px rgba(2, 10, 24, .38);
}
.ged-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; letter-spacing: 1px; color: #5c6b80; font-weight: 700; }
.ged-orbit {
    position: absolute; z-index: 4;
    width: 220px; height: 220px;
    right: 2%; top: 46%;
    margin-top: -110px;
}
.ged-orbit__arm {
    position: absolute; left: 50%; top: 50%;
    width: 46px; height: 46px; margin: -23px 0 0 -23px;
}
.ged-orbit__arm--search { transform: rotate(0deg) translateX(86px); }
.ged-orbit__arm--lock { transform: rotate(120deg) translateX(86px); }
.ged-orbit__arm--share { transform: rotate(240deg) translateX(86px); }
.ged-orbit__arm--lock .ged-float { transform: rotate(-120deg); }
.ged-orbit__arm--share .ged-float { transform: rotate(-240deg); }
.ged-float {
    width: 46px; height: 46px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 16px; backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(2, 10, 24, .25);
}

.ged-chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ged-chips li {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
    color: #e7f0ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.ged-logos { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 16px; }
.ged-logos img { height: 30px; width: auto; background: #fff; border-radius: 7px; padding: 5px 8px; object-fit: contain; }

.ged-panel {
    position: relative; display: flex; align-items: center; justify-content: center;
    padding: 36px 28px; overflow: auto;
    background:
        radial-gradient(circle at 80% 0%, rgba(7, 40, 83, .08), transparent 36%),
        #eef3f8;
}
.ged-panel__icons {
    position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 28px; padding: 36px; pointer-events: none; opacity: .09; color: #072853; font-size: 28px;
}
.ged-card {
    position: relative; z-index: 2; width: 100%; max-width: 400px;
    background: #fff; border-radius: 18px; padding: 28px 28px 20px;
    border: 1px solid rgba(7, 40, 83, .08);
    box-shadow: 0 22px 50px rgba(7, 40, 83, .14);
}
.ged-card__tab {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px;
    padding: 6px 12px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .8px;
    color: #072853; background: #e7eef6;
}
.ged-card h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.4px; color: #102033; }
.ged-card__sub { margin: 6px 0 22px; font-size: 14.5px; color: #5c6b80; }

.ged-label { display: block; font-size: 12.5px; font-weight: 650; color: #243044; margin-bottom: 7px; }
.ged-field {
    display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; margin-bottom: 16px;
    background: #f8fafc; border: 1.5px solid #d5deea; border-radius: 12px;
}
.ged-field:focus-within { border-color: #072853; box-shadow: 0 0 0 3px rgba(7, 40, 83, .12); background: #fff; }
.ged-field > .fa { color: #7d8da3; font-size: 15px; }
.ged-field input {
    flex: 1; border: none !important; outline: none; background: transparent; box-shadow: none !important;
    height: 46px; margin: 0; font-size: 15px; color: #102033; font-family: inherit;
}
.ged-eye { cursor: pointer; font-style: normal; font-size: 12.5px; font-weight: 700; color: #072853; }

.ged-options { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 4px; }
.ged-remember { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #3d4c63; cursor: pointer; }
.ged-cb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0;
    border: 1.5px solid #c5d0de; border-radius: 5px; background: #fff; position: relative; cursor: pointer;
}
.ged-cb:checked { background: #072853; border-color: #072853; }
.ged-cb:checked::after {
    content: "\f00c"; font-family: FontAwesome; color: #fff; font-size: 10px;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.ged-forgot { font-size: 13px; font-weight: 700; color: #072853; text-decoration: none; }
.ged-forgot:hover { text-decoration: underline; }

.ged-submit {
    width: 100%; height: 52px; margin-top: 18px; border: none; border-radius: 12px; cursor: pointer;
    background: #072853; color: #fff; font-size: 15.5px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ged-submit:hover { background: #041833; }
.ged-notice {
    display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px;
    background: #f3f7fb; border: 1px solid #e1e8f2; font-size: 12.5px; line-height: 1.45; color: #3d4c63;
}
.ged-notice .fa { color: #072853; margin-top: 2px; }
.ged-foot {
    display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px;
    border-top: 1px solid #e6edf5; font-size: 12px; color: #7d8da3;
}
.ged-error { background: #fdecea; border: 1px solid #f5c6c0; color: #c0392b; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.ged-error ul { margin: 0; padding-left: 18px; }

@media (max-width: 980px) {
    .ged-gate { position: absolute; grid-template-columns: 1fr; min-height: 100vh; }
    .ged-desk, .ged-lead, .ged-panel__icons { display: none; }
    .ged-stage { padding: 24px 22px 18px; }
    .ged-stage__copy h1 { font-size: 46px; }
    .ged-panel { padding: 22px 16px 32px; }
}
