@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    --orange: #f07c1d;
    --orange-deep: #d8650c;
    --orange-pale: #fff1e4;
    --ink: #191512;
    --ink-soft: #7a7268;
    --line: #efe7dc;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: Archivo, Arial, sans-serif;
    letter-spacing: -.01em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.top-strip {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px max(24px, calc((100% - 1240px)/2));
    background: var(--orange);
    color: #fff;
    font-size: 12px;
}

.top-strip a {
    text-decoration: none;
    font-weight: 600;
    opacity: .9;
}

.top-separator {
    opacity: .35;
}

.top-spacer {
    flex: 1;
}

.language-link {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding-left: 10px;
}

.nav-row {
    max-width: 1240px;
    min-height: 74px;
    margin: auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}

.brand-mark img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-family: Archivo, Arial, sans-serif;
    font-size: 14.5px;
}

.brand-copy small {
    color: var(--ink-soft);
    font-size: 11.5px;
    margin-top: 2px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.main-menu>a,
.nav-dropdown summary {
    display: block;
    padding: 10px 13px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}

.main-menu>a:hover,
.nav-dropdown summary:hover {
    color: var(--orange-deep);
    background: var(--orange-pale);
}

.main-menu>a.active {
    color: var(--orange-deep);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: '▾';
    font-size: 10px;
    margin-left: 6px;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(25, 21, 18, .1);
}

.dropdown-panel a {
    display: block;
    padding: 9px 11px;
    border-radius: 7px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    white-space: nowrap;
}

.dropdown-panel a:hover {
    color: var(--orange-deep);
    background: var(--orange-pale);
}

.dropdown-panel-wide {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 4px;
    padding: 12px;
}

.dropdown-panel-wide>a {
    grid-column: 1 / -1;
}

.dropdown-group {
    padding: 8px 10px 6px;
}

.dropdown-group-title {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--orange-deep);
    margin-bottom: 4px;
}

.dropdown-group a {
    display: block;
    padding: 7px 10px;
    border-radius: 7px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.dropdown-group a:hover {
    color: var(--orange-deep);
    background: var(--orange-pale);
}

.dropdown-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: var(--line);
    margin: 6px 4px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.search-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    font-size: 24px;
}

.button,
.hero-cta {
    display: inline-block;
    padding: 10px 17px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
}

.button-ghost {
    border-color: var(--line);
}

.button-orange,
.hero-cta {
    background: var(--orange);
    color: #fff;
}

.button-orange:hover,
.hero-cta:hover {
    background: var(--orange-deep);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
}

.page-shell {
    max-width: 1180px;
    margin: auto;
    padding: 0 32px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
    align-items: center;
    gap: 58px;
    padding: 66px 0 58px;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 22px;
    right: -9vw;
    width: 50vw;
    height: 340px;
    border-radius: 48px 0 0 48px;
    background: linear-gradient(135deg, #fff6ee, #fff 72%);
}

.hero-content {
    max-width: 560px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-deep);
    font: 600 12px 'IBM Plex Mono', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    margin-top: 14px;
    font-size: 40px;
    line-height: 1.09;
    font-weight: 800;
}

.hero-text {
    max-width: 480px;
    margin-top: 17px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: 34px;
    margin: 29px 0 0;
}

.hero-meta dt {
    font: 700 19px Archivo, Arial, sans-serif;
}

.hero-meta dd {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font: 500 10px 'IBM Plex Mono', monospace;
}

.hero-cta {
    margin-top: 28px;
    padding: 14px 25px;
    box-shadow: 0 10px 18px rgba(240, 124, 29, .2);
}

.hero-note {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 12px;
}

.hero-note span {
    color: var(--orange-deep);
    font-weight: 800;
}

.hero-showcase {
    position: relative;
    min-height: 338px;
}

.hero-photo {
    position: absolute;
    inset: 0 28px 0 0;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 26%, rgba(25, 21, 18, .82)), url('../images/ifg.jpg') center/cover;
    color: #fff;
    box-shadow: 0 20px 42px rgba(25, 21, 18, .13);
}

.hero-photo:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 60px;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: var(--orange);
}

.hero-photo p {
    position: relative;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.hero-photo strong {
    font: 700 20px Archivo, Arial, sans-serif;
}

.certification-card {
    position: absolute;
    right: 0;
    bottom: 22px;
    z-index: 1;
    width: 210px;
    padding: 23px 20px;
    border: 1px solid #fbddbb;
    border-radius: 18px;
    background: rgba(255, 247, 238, .96);
    text-align: center;
    box-shadow: 0 14px 30px rgba(25, 21, 18, .11);
    backdrop-filter: blur(6px);
}

.certification-mark {
    width: 43px;
    height: 50px;
    margin: 0 auto 10px;
    font-size: 12px;
}

.certification-label {
    color: var(--ink-soft);
    font: 500 10px 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.certification-value {
    margin-top: 5px;
    font: 700 15px Archivo, Arial, sans-serif;
}

.certification-stats {
    display: flex;
    justify-content: space-between;
    gap: 9px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #f0c696;
}

.certification-stats div {
    flex: 1;
}

.certification-stats strong {
    display: block;
    font: 700 14px Archivo, Arial, sans-serif;
}

.certification-stats span {
    color: var(--ink-soft);
    font-size: 9px;
}

.content-section {
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 21px;
}

.section-heading a {
    color: var(--orange-deep);
    font: 600 12px 'IBM Plex Mono', monospace;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.student-card {
    position: relative;
    padding: 23px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.student-card:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--orange);
}

.student-card-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.school-mark {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #fff;

    border-radius: 50%;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.school-mark img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.student-card h3 {
    font-size: 16.5px;
}

.student-card-title p {
    margin-top: 3px;
    color: var(--ink-soft);
    font: 500 11px 'IBM Plex Mono', monospace;
    text-transform: uppercase;
}

.result-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 13px;
    border: 1px solid #fbddbb;
    border-radius: 999px;
    background: #fff7ee;
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.result-link span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.institution-card {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(25, 21, 18, .08), rgba(20, 16, 13, .92)), url('../images/lycee.png') center/cover;
    color: #fff;
    text-decoration: none;
}

.institution-card:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 21, 18, .03), rgba(20, 16, 13, .86));
}

.institution-card>* {
    position: relative;
}

.institution-card>span {
    margin-bottom: 8px;
    color: var(--orange);
    font: 600 10.5px 'IBM Plex Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.institution-card h3 {
    color: #fff;
    font-size: 18px;
}

.institution-card p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    line-height: 1.5;
}

.institution-efpg {
    background: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .92)), url('../images/ecole.png') center/cover;
}

.institution-ifg {
    background: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .92)), url('../images/ifg.jpg') center/cover;
}

.institution-bejaia {
    background: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .92)), url('../images/bejaia.png') center/cover;
}

.institution-oran {
    background: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .92)), url('../images/oran.png') center/cover;
}

.site-footer {
    margin-top: 20px;
    padding: 28px 20px;
    background: var(--ink);
    color: rgba(255, 255, 255, .65);
    font-size: 12.5px;
    text-align: center;
}

.event-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.event-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-decoration: none;
}

.event-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: var(--orange-pale);
}

.event-card span {
    margin: 14px 16px 0;
    color: var(--orange-deep);
    font: 600 10px 'IBM Plex Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-card h3 {
    margin: 6px 16px;
    font-size: 16px;
    line-height: 1.3;
}

.event-card b {
    margin: auto 16px 16px;
    color: var(--orange-deep);
    font-size: 12px;
}

.resource-grid {
    grid-template-columns: repeat(4, 1fr);
}

.resource-card {
    display: flex;
    gap: 13px;
    min-height: 132px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
}

.resource-card:hover,
.event-card:hover,
.student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(25, 21, 18, .08);
    transition: .15s ease;
}

.resource-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange-pale);
    color: var(--orange-deep);
    font-size: 15px;
    font-weight: 800;
}

.resource-pdf {
    border-radius: 8px;
    font-size: 10px;
}

.resource-card small {
    color: var(--orange-deep);
    font: 600 10px 'IBM Plex Mono', monospace;
}

.resource-card h3 {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.resource-card p {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 11px;
}

.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fcfaf7;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    width: 100%;
    min-height: 86px;
    margin: auto;
    padding: 16px 28px;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.auth-links>a:first-child {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.auth-main {
    width: min(100%, 1120px);
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 440px;
    align-items: center;
    gap: 90px;
    margin: auto;
    padding: 64px 28px;
}

.auth-intro h1 {
    max-width: 500px;
    margin-top: 14px;
    font-size: 42px;
    line-height: 1.1;
}

.auth-intro>p:last-child {
    max-width: 440px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.auth-card {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(25, 21, 18, .07);
}

.auth-icon {
    display: grid;
    width: 46px;
    height: 52px;
    place-items: center;
    margin-bottom: 18px;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: var(--orange);
    color: #fff;
    font: 800 13px Archivo, Arial, sans-serif;
}

.auth-card h2 {
    font-size: 26px;
}

.auth-subtitle {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 13px;
}

.auth-alert,
.auth-success {
    margin-top: 20px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-alert {
    border: 1px solid #f2b6ad;
    background: #fff0ee;
    color: #a52b1c;
}

.auth-success {
    border: 1px solid #b9ddc4;
    background: #f0fbf3;
    color: #176638;
}

.auth-form {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.auth-form label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.auth-form input,
.auth-form select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink);
    font: 14px Inter, Arial, sans-serif;
    outline: none;
    background: #fff;
}

.auth-form select {
    appearance: auto;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(240, 124, 29, .12);
}

.auth-form .form-grid {
    box-sizing: border-box;
    max-width: 100%;
}

.auth-form .form-grid input,
.auth-form .form-grid select {
    min-width: 0;
}

.auth-form button {
    margin-top: 14px;
    padding: 13px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    cursor: pointer;
    font: 700 14px Inter, Arial, sans-serif;
}

.auth-form button:hover {
    background: var(--orange-deep);
}

.forgot-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 600;
}

.auth-footer {
    padding: 24px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 12px;
    text-align: center;
}

.institutions-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 32px 74px;
}

.institutions-intro {
    max-width: 680px;
}

.institutions-intro h1 {
    margin-top: 14px;
    font-size: 42px;
    line-height: 1.1;
}

.institutions-intro>p:last-child {
    max-width: 560px;
    margin-top: 17px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.institutions-directory {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.directory-card {
    position: relative;
    display: flex;
    min-height: 265px;
    align-items: flex-end;
    overflow: hidden;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .9)), url('../images/ifg.jpg') center/cover;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(25, 21, 18, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(25, 21, 18, .16);
}

.directory-card:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(25, 21, 18, .12), transparent 65%);
}

.directory-code {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: rgba(25, 21, 18, .38);
    font: 600 10px 'IBM Plex Mono', monospace;
    letter-spacing: .08em;
}

.directory-content {
    position: relative;
    z-index: 1;
    max-width: 85%;
}

.directory-content p {
    margin-bottom: 8px;
    color: #ffba80;
    font-size: 12px;
}

.directory-content h2 {
    font-size: 22px;
    line-height: 1.18;
}

.directory-content span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .76);
    font-size: 12.5px;
    line-height: 1.5;
}

.directory-card>b {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 24px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 20px;
}

.directory-ees {
    background-image: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .9)), url('../images/lycee.png');
}

.directory-efpg-alger {
    background-image: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .9)), url('../images/ecole.png');
}

.directory-bejaia {
    background-image: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .9)), url('../images/bejaia.png');
}

.directory-oran {
    background-image: linear-gradient(180deg, rgba(25, 21, 18, .06), rgba(20, 16, 13, .9)), url('../images/oran.png');
}

.school-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 32px 74px;
}

.school-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    overflow: hidden;
    border-radius: 22px;
    background: #f7f1eb;
}

.school-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 52px;
}

.back-link {
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.school-hero h1 {
    max-width: 490px;
    margin-top: 14px;
    font-size: 40px;
    line-height: 1.1;
}

.school-hero-copy>p:not(.eyebrow) {
    max-width: 500px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.school-address {
    margin-top: 22px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.school-address span {
    color: var(--orange-deep);
    font-size: 17px;
}

.school-hero-image {
    min-height: 300px;
    background: linear-gradient(180deg, rgba(25, 21, 18, .04), rgba(25, 21, 18, .3)), url('../images/ifg.jpg') center/cover;
}

.school-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 65px;
}

.school-shortcuts a {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.school-shortcuts a:hover {
    border-color: #f4c18e;
    background: var(--orange-pale);
    color: var(--orange-deep);
}

.school-shortcuts span {
    margin-right: 8px;
    color: var(--orange-deep);
    font: 600 11px 'IBM Plex Mono', monospace;
}

.school-section {
    padding: 56px 0;
    border-top: 1px solid var(--line);
}

.school-section-heading {
    max-width: 600px;
}

.school-section-heading h2 {
    margin-top: 13px;
    font-size: 29px;
}

.school-section-heading>p:last-child {
    margin-top: 13px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.school-documents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
}

.school-documents a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--ink);
    text-decoration: none;
}

.school-documents img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f5f1;
}

.school-documents span {
    display: block;
    padding: 15px 18px;
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 700;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.program-grid a {
    display: flex;
    min-height: 152px;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
}

.program-grid a:hover {
    border-color: #f4c18e;
    box-shadow: 0 11px 24px rgba(25, 21, 18, .07);
    transform: translateY(-2px);
    transition: .18s ease;
}

.program-grid span {
    color: var(--orange-deep);
    font: 600 10px 'IBM Plex Mono', monospace;
    letter-spacing: .07em;
}

.program-grid h3 {
    margin-top: 11px;
    font-size: 16px;
    line-height: 1.3;
}

.program-grid b {
    margin-top: auto;
    padding-top: 14px;
    color: var(--ink-soft);
    font-size: 12px;
}

.program-grid i {
    color: var(--orange-deep);
    font-size: 15px;
    font-style: normal;
}

.school-map {
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.school-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.program-grid .is-unavailable {
    opacity: .64;
    cursor: default;
}

.program-grid .is-unavailable:hover {
    border-color: var(--line);
    box-shadow: none;
    transform: none;
}

/* ---------- Page "Sessions" (choix de session de pré-inscription) ---------- */
.sessions-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 74px;
}

.sessions-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sessions-heading h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}

.sessions-heading:after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--orange);
    max-width: 60px;
}

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

.session-card {
    display: block;
    padding: 46px 30px;
    text-align: center;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    background-size: cover;
    background-position: center;
}

.session-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(25, 21, 18, .1);
}

.session-tag {
    display: block;
    font-size: 15px;
    font-weight: 700;
    direction: rtl;
}

.session-label {
    margin-top: 16px;
    font-family: Archivo, Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .04em;
}

.session-date {
    margin-top: 6px;
    font-family: Archivo, Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.session-card-blue {
    border-color: #c3d0ff;
    background-image: linear-gradient(160deg, rgba(238, 241, 255, .94), rgba(255, 255, 255, .94)), url('../images/ifg.jpg');
}

.session-card-blue .session-tag,
.session-card-blue .session-label,
.session-card-blue .session-date {
    color: #3457d5;
}

.session-card-green {
    border-color: #b9ddc4;
    background-image: linear-gradient(160deg, rgba(234, 251, 240, .94), rgba(255, 255, 255, .94)), url('../images/ecole.png');
}

.session-card-green .session-tag,
.session-card-green .session-label,
.session-card-green .session-date {
    color: #1f8a4c;
}

@media (max-width:760px) {
    .sessions-page {
        padding: 30px 18px 48px;
    }

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

    .session-card {
        padding: 34px 20px;
    }
}



.registration-page {
    background: #fcfaf7;
}

/* Conteneur principal */
.registration-page .page-body-wrapper {
    display: block;
    min-height: 0;
    padding: 12px max(20px, calc((100% - 1280px)/2));
    background: transparent;
}

/* Masquer le menu latéral */
.registration-page .page-body-wrapper>.main-menu {
    display: none;
}

/* Zone principale */
.registration-page .main-panel {
    width: 100%;
    min-height: 0;
    margin: 0;
    background: transparent;
}

/* Largeur du contenu */
.registration-page .content-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

/* Supprimer un éventuel Hero */
.registration-page .content-wrapper>.hero {
    display: none;
}

/* Ligne Bootstrap */
.registration-page .content-wrapper>.row {
    margin: 0;
}

/* Suppression des marges Bootstrap */
.registration-page .content-wrapper .grid-margin {
    margin-bottom: 0;
}

/* Carte principale */
.registration-page .content-wrapper .card {
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    overflow: hidden;
}

/* Corps de la carte */
.registration-page .content-wrapper .card-body {
    padding: 20px;
}

/* Titres */
.registration-page .content-wrapper .card-title {
    color: var(--ink);
    font-family: Archivo, Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Ligne */
.registration-page .content-wrapper hr {
    border-color: var(--line);
    margin: .8rem 0;
}

/* Boutons */
.registration-page .content-wrapper .btn-primary {
    background: var(--orange);
    border-color: var(--orange);
}

.registration-page .content-wrapper .btn-primary:hover {
    background: var(--orange-deep);
    border-color: var(--orange-deep);
}

/* Footer */
.registration-page .main-panel>.site-footer {
    margin: 25px calc(-1 * max(20px, calc((100% - 1280px)/2))) 0;
}

/* Modal */
.registration-page .modal-content {
    border: 0;
    border-radius: 18px;
}

.registration-page .modal-header {
    border-bottom: 1px solid var(--line);
}

/* Champs */
.registration-page .form-control {
    border-radius: 10px;
}

.registration-page .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 .2rem rgba(240, 124, 29, .15);
}

/* Images */
.registration-page img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width:1200px) {

    .registration-page .content-wrapper {
        max-width: 100%;
    }

    .registration-page .page-body-wrapper {
        padding: 12px 15px;
    }

}

@media (max-width:768px) {

    .registration-page .content-wrapper .card-body {
        padding: 15px;
    }

    .registration-page .page-body-wrapper {
        padding: 8px;
    }

}

@media (max-width:900px) {
    .main-menu {
        display: none;
    }

    .main-menu.is-open {
        position: absolute;
        z-index: 30;
        top: 100%;
        right: 16px;
        left: 16px;
        display: block;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 16px 32px rgba(25, 21, 18, .12);
    }

    .main-menu>a,
    .nav-dropdown summary {
        padding: 12px;
    }

    .dropdown-panel {
        position: static;
        margin: 0 8px;
        box-shadow: none;
    }

    .dropdown-panel-wide {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-actions {
        margin-left: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero:before {
        right: -32px;
        width: 70vw;
        height: 310px;
    }

    .hero-showcase {
        width: min(100%, 560px);
        min-height: 300px;
    }

    .certification-card {
        width: 210px;
    }

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

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

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

@media (max-width:640px) {
    .top-strip {
        padding: 7px 16px;
        font-size: 10px;
    }

    .top-strip>span:nth-child(3) {
        display: none;
    }

    .nav-row {
        gap: 12px;
        min-height: 66px;
        padding: 10px 16px;
    }

    .brand-copy {
        display: none;
    }

    .nav-actions .button-ghost {
        display: none;
    }

    .nav-actions .button {
        padding: 9px 12px;
    }

    .search-button {
        width: 34px;
        height: 34px;
    }

    .page-shell {
        padding: 0 18px;
    }

    .hero {
        padding: 42px 0 36px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-meta {
        gap: 17px;
    }

    .hero-meta dt {
        font-size: 15px;
    }

    .hero-meta dd {
        font-size: 9px;
    }

    .hero-showcase {
        min-height: 270px;
    }

    .hero-photo {
        right: 12px;
        padding: 18px;
    }

    .certification-card {
        right: 0;
        bottom: 14px;
        width: 182px;
        padding: 17px 12px;
    }

    .certification-stats span {
        font-size: 8px;
    }

    .student-grid,
    .event-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .institution-card {
        min-height: 220px;
    }
}

@media (max-width:760px) {
    .auth-header {
        padding: 14px 18px;
    }

    .auth-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 42px 18px;
    }

    .auth-intro h1 {
        font-size: 32px;
    }

    .auth-card {
        padding: 27px 22px;
    }

    .auth-links>a:first-child {
        display: none;
    }
}

@media (max-width:760px) {
    .institutions-page {
        padding: 42px 18px 54px;
    }

    .institutions-intro h1 {
        font-size: 32px;
    }

    .institutions-directory {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .directory-card {
        min-height: 240px;
    }

    .directory-content h2 {
        font-size: 20px;
    }
}

@media (max-width:760px) {
    .school-page {
        padding: 24px 18px 54px;
    }

    .school-hero {
        grid-template-columns: 1fr;
    }

    .school-hero-copy {
        padding: 32px 24px 36px;
    }

    .school-hero h1 {
        font-size: 32px;
    }

    .school-hero-image {
        min-height: 240px;
    }

    .school-shortcuts {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 42px;
    }

    .school-section {
        padding: 42px 0;
    }

    .school-section-heading h2 {
        font-size: 25px;
    }

    .school-documents,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .school-map iframe {
        height: 330px;
    }
}

/* Carrousel photo dans .school-hero-image */
.school-hero-image {
    position: relative;
    overflow: hidden;
    background: #191512;
}

.school-hero-image .carousel,
.school-hero-image .carousel-inner,
.school-hero-image .carousel-item {
    height: 100%;
}

.school-hero-image .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-hero-image .carousel-control-prev,
.school-hero-image .carousel-control-next {
    width: 44px;
}

/* Habillage général des modals Bootstrap (au-delà de registration-page) */
.modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(25, 21, 18, .22);
}

.modal-body {
    padding: 28px;
}

/* Table des spécialités (modal "Programme de Formation") */
.spec-heading {
    margin: 0 0 4px;
    font-family: Archivo, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: var(--ink);
}

.spec-sub {
    margin: 0 0 4px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--line);
}

.spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
}

.spec-row:hover {
    background: var(--orange-pale);
    color: var(--orange-deep);
}

.spec-row span {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.spec-row b {
    flex: 0 0 auto;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange-pale);
    color: var(--orange-deep);
    font-size: 14px;
    font-weight: 800;
}

.spec-row:hover b {
    background: var(--orange);
    color: #fff;
}

@media (max-width:640px) {
    .spec-list {
        grid-template-columns: 1fr;
    }
}

.modal-header.school-modal-header {
    background: var(--orange);
    border-bottom: 0;
    padding: 20px 26px;
}

.modal-header.school-modal-header .modal-title {
    color: #fff;
    font-family: Archivo, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

.modal-header.school-modal-header .close {
    color: #fff;
    opacity: .75;
    text-shadow: none;
}

.modal-header.school-modal-header .close:hover {
    opacity: 1;
}

/* ---------- Formulaire d'inscription (modal niveau + captcha) ---------- */
.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
}

.form-field select,
.form-field input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field select:focus,
.form-field input[type="text"]:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-pale);
}

.form-field input[type="date"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    letter-spacing: .02em;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field input[type="date"]:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-pale);
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: .6;
    cursor: pointer;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.field-required {
    color: #c0392b;
    font-size: 12px;
    margin-top: 6px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1.5px dashed var(--line);
    border-radius: 14px;
    background: #FAFAF8;
    max-width: 420px;
    margin: 0 auto;
}

.captcha-box img {
    border-radius: 8px;
    border: 1px solid var(--line);
    cursor: pointer;
    display: block;
}

.captcha-box .captcha-fields {
    flex: 1;
    min-width: 0;
}

.captcha-hint {
    font-size: 11px;
    color: var(--ink-soft);
    margin-top: 6px;
}

.captcha-error {
    color: #c0392b;
    font-size: 12.5px;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

/* ---------- Choix de spécialité (formulaire de classement 1..19) ---------- */
.choice-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px;
    max-width: 760px;
    margin: 0 auto 40px;
}

.choice-panel h4 {
    font-family: Archivo, Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 6px;
}

.choice-panel .hint {
    text-align: center;
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 24px;
}

.choice-list {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.choice-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.choice-row:last-child {
    border-bottom: 0;
}

.choice-row:hover {
    background: #FAFAF8;
}

.choice-row h4 {
    order: 2;
    flex: 1;
    font-size: 14.5px;
    font-weight: 600;
    margin: 0;
    color: var(--ink);
}

.choice-row select {
    order: 1;
    flex: 0 0 68px;
    width: 68px;
    padding: 8px 6px;
    text-align: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: #fff;
}

.choice-row select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-pale);
}

.choice-reset {
    text-align: right;
    margin-top: 14px;
}

.choice-reset a {
    font-size: 12.5px;
    color: var(--orange-deep);
    text-decoration: none;
    font-weight: 700;
}

.choice-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

@media (max-width:640px) {
    .choice-panel {
        padding: 24px 18px;
    }

    .choice-row {
        flex-wrap: wrap;
    }

    .choice-row h4 {
        order: 1;
        flex: 1 1 100%;
    }

    .choice-row select {
        order: 2;
    }
}

/* ---------- Grand formulaire candidat (completer.php) ---------- */
.form-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px;
    max-width: 960px;
    margin: 0 auto 28px;
}

.form-panel .panel-title {
    text-align: center;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin: 0 0 4px;
}

.form-panel .panel-sub-ar {
    text-align: center;
    color: #c0392b;
    font-size: 15px;
    margin: 2px 0;
}

.form-panel .panel-sub-fr {
    text-align: center;
    color: #c0392b;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 22px;
}

.form-section-title {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 22px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 28px;
    margin-bottom: 6px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.field-required {
    color: #c0392b;
    font-size: 12px;
    margin: 4px 0 0;
    display: none;
}

.form-field input[type="file"] {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px dashed var(--line);
    border-radius: 10px;
    font-size: 12.5px;
    background: #FAFAF8;
    color: var(--ink-soft);
}

.form-field input[type="file"]:hover {
    border-color: var(--orange);
}

.form-field .field-inline {
    display: flex;
    gap: 8px;
}

.form-field .field-inline select {
    flex: 1;
}

.form-field .field-inline input {
    flex: 1;
}

.radio-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 18px 0;
}

.radio-toggle span.q {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.radio-toggle label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.sponsor-block {
    border-top: 1px dashed var(--line);
    margin-top: 6px;
    padding-top: 22px;
}

/* ---------- Page de confirmation (ins.php) ---------- */
.confirm-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 44px;
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.confirm-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EAFBF0;
    color: #1f8a4c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 30px;
}

.confirm-panel h4 {
    font-family: Archivo, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 24px;
}

.confirm-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    margin: 0 0 22px;
}

.confirm-text.ar {
    direction: rtl;
    text-align: right;
}

.confirm-text strong {
    color: var(--ink);
}

.confirm-download {
    margin-top: 8px;
}

/* ---------- Palier "niveau / moyenne" avant le formulaire (E.E.S) ---------- */
.gate-panel {
    background: #FFF7EE;
    border: 1px solid #FBDDBB;
    border-radius: 16px;
    padding: 28px 30px;
    max-width: 820px;
    margin: 0 auto 30px;
}

.gate-panel .form-grid {
    margin-bottom: 10px;
}

.gate-panel .form-field input[readonly] {
    background: #F3F3F0;
}

.gate-cta {
    text-align: center;
    margin-top: 18px;
}

.gate-cta input[type="button"] {
    appearance: none;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.gate-cta input[type="button"]:hover {
    background: var(--orange-deep);
}

.gate-warning {
    text-align: center;
    color: #c0392b;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    display: none;
}

/* ---------- Modal récapitulatif "Consultation et Validation" (E.E.S) ---------- */
.recap-photo {
    text-align: center;
    margin-bottom: 20px;
}

.recap-photo img {
    border-radius: 12px;
    border: 1px solid var(--line);
}

.recap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 10px;
}

.recap-col h4 {
    text-align: center;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 14px;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

.recap-row b {
    color: var(--ink-soft);
    font-weight: 600;
}

.recap-specs {
    margin-top: 22px;
}

.recap-specs h4 {
    text-align: center;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 800;
    font-size: 16px;
    margin: 0 0 12px;
}

.recap-specs table {
    width: 100%;
    border-collapse: collapse;
}

.recap-specs td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

/* ---------- Galerie emploi du temps (images) ---------- */
.schedule-gallery {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-gallery img {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    margin-bottom: 18px;
}

/* ---------- Tableaux Espace Membre (messages / alertes) ---------- */
.member-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.member-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--ink);
    color: #fff;
}

.member-panel-head h5 {
    margin: 0;
    font-family: Archivo, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.member-panel-head .badge-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    background: rgba(255, 255, 255, .15);
    padding: 4px 10px;
    border-radius: 999px;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
}

.member-table tr {
    border-bottom: 1px solid var(--line);
}

.member-table tr:last-child {
    border-bottom: 0;
}

.member-table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 13.5px;
}

.member-table td a {
    color: var(--ink);
    text-decoration: none;
}

.member-table tr:hover td a {
    color: var(--orange-deep);
}

.member-table tr.is-unread td a {
    font-weight: 700;
}

.member-table tr.is-unread {
    background: #FFF9F0;
}

.member-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.member-panel-foot {
    padding: 12px 16px;
    text-align: right;
    border-top: 1px solid var(--line);
}

.member-panel-foot a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--orange-deep);
    text-decoration: none;
}

/* ---------- Carte identité (page/ident.php) ---------- */
.profile-header {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.profile-avatar {
    flex: 0 0 160px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
}

.profile-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #F3F3F0;
}

.profile-avatar h6 {
    margin: 12px 0 0;
    font-family: Archivo, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.profile-info {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 24px;
}

.profile-info .info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

.profile-info .info-row:last-child {
    border-bottom: 0;
}

.profile-info .info-row b {
    color: var(--ink-soft);
    font-weight: 700;
}

.profile-info .info-row span {
    color: var(--ink);
    font-weight: 600;
}

@media (max-width:640px) {
    .profile-header {
        flex-direction: column;
    }

    .profile-avatar {
        flex: 1;
    }
}

/* ---------- Menu utilisateur connecté (page/user_info.php) ---------- */
.user-menu {
    position: relative;
    list-style: none;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--line);
}

.user-trigger:hover {
    background: var(--orange-pale);
    border-color: #FBDDBB;
}

.user-trigger img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #F3F3F0;
}

.user-trigger span {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(25, 21, 18, .12);
    z-index: 40;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
}

.user-dropdown a:hover {
    color: var(--orange-deep);
    background: var(--orange-pale);
}

/* ---------- Page "Sujets" (enseignant) ---------- */
.warn-banner {
    background: #FFF3E0;
    border: 1px solid #FBDDBB;
    border-radius: 12px;
    padding: 12px 18px;
    color: #9a5b00;
    font-size: 13px;
    font-weight: 600;
    margin: 20px 0;
}

.spec-block {
    margin: 30px 0;
}

.spec-block h3 {
    text-align: center;
    color: #1f8a4c;
    font-family: Archivo, Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.exam-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.exam-card .sem-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--orange-deep);
    font-weight: 700;
}

.exam-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 6px 0 14px;
}

.exam-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.exam-actions .slot {
    font-size: 12px;
    padding: 8px 6px;
    border-radius: 8px;
    background: #FAFAF8;
    border: 1px solid var(--line);
}

.exam-actions .slot a {
    color: var(--orange-deep);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.exam-actions button.upload-btn {
    width: 100%;
    background: #1f8a4c;
    color: #fff;
    border: none;
    padding: 9px 6px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.exam-actions button.upload-btn:hover {
    background: #166b3a;
}

/* ---------- Liste messages (envoyés/reçus) + pagination ---------- */
.member-panel-head .head-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.member-panel-head .head-actions .badge-count {
    margin-right: 4px;
}

.member-panel-head .icon-btn {
    background: none;
    border: none;
    color: #fff;
    opacity: .85;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
}

.member-panel-head .icon-btn:hover {
    opacity: 1;
    color: var(--orange);
}

.member-panel-head .write-link {
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
}

.member-table td.chk {
    width: 36px;
    text-align: center;
}

.pagination-row {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 14px 16px;
}

.pagination-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
}

.pagination-row a:hover {
    background: var(--orange-pale);
    color: var(--orange-deep);
}

.pagination-row a.is-current {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ---------- Détail d'un message ---------- */
.msg-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.msg-detail-head h4 {
    font-family: Archivo, Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin: 0;
}

.msg-detail-actions {
    display: flex;
    gap: 8px;
}

.msg-detail-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--orange-pale);
    color: var(--orange-deep);
    text-decoration: none;
    font-size: 15px;
}

.msg-detail-actions a:hover {
    background: var(--orange);
    color: #fff;
}

.msg-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
}

.msg-panel .msg-subject {
    font-family: Archivo, Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 14px;
}

.msg-panel .msg-from {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.msg-panel .msg-from img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.msg-panel .msg-date {
    text-align: right;
    color: var(--ink-soft);
    font-size: 12px;
    margin-bottom: 18px;
}

.msg-panel .msg-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.msg-panel .msg-attachment {
    margin-top: 18px;
    font-size: 13px;
}

.msg-panel .msg-attachment a {
    color: var(--orange-deep);
    text-decoration: none;
    font-weight: 700;
}

.msg-forward {
    margin-top: 22px;
    text-align: right;
}

/* ---------- Tableau de bord Admin (admin/dashboard/index.php) ---------- */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.admin-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}

.admin-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(25, 21, 18, .08);
    border-color: #FBDDBB;
}

.admin-tile img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 12px;
}

.admin-tile h6 {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* ---------- Rapports admin (tableaux de suivi) ---------- */
.report-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.report-tabs a {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.report-tabs a:hover {
    background: var(--orange-pale);
    color: var(--orange-deep);
    border-color: #FBDDBB;
}

.report-tabs a.back {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.report-table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.report-table th {
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 12px 10px;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    vertical-align: bottom;
}

.report-table td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    white-space: nowrap;
    vertical-align: middle;
}

.report-table tbody tr:nth-child(even) td {
    background: #fafaf8;
}

.report-table tr:hover td {
    background: var(--orange-pale);
}

.report-table .detail-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--orange-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
}

.status-pair {
    display: flex;
    gap: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
}

.status-pill.ok {
    background: #EAFBF0;
    color: #1f8a4c;
}

.status-pill.ko {
    background: #FDECEA;
    color: #c0392b;
}

/* ---------- Pages CRUD admin (listes + formulaire d'ajout) ---------- */
.report-table .action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
}

.report-table .action-link.edit {
    background: #EAFBF0;
    color: #1f8a4c;
}

.report-table .action-link.edit:hover {
    background: #1f8a4c;
    color: #fff;
}

.report-table .action-link.delete {
    background: #FDECEA;
    color: #c0392b;
}

.report-table .action-link.delete:hover {
    background: #c0392b;
    color: #fff;
}

.admin-add-form {
    max-width: 560px;
    margin: 30px auto 0;
}

/* ---------- Écrire / Répondre un message ---------- */
.recipient-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.recipient-row input {
    flex: 1;
}

.recipient-row .pick-btn {
    flex: 0 0 auto;
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.recipient-row .pick-btn:hover {
    background: var(--orange-deep);
}

.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink);
    resize: vertical;
}

.form-note {
    font-size: 12px;
    color: #c0392b;
    margin: 6px 0 0;
}

/* ---------- Espace Membre : topbar + sidebar (page/menu_membre.php) ---------- */
.member-topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
}

.member-topbar .brand-logo {
    display: flex;
    align-items: center;
}

.member-topbar .brand-logo img {
    max-height: 38px;
}

.member-search {
    flex: 1;
    max-width: 420px;
}

.member-search .input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 6px 6px 16px;
    background: #FAFAF8;
}

.member-search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 13.5px;
    color: var(--ink);
}

.member-search button {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    padding: 4px;
}

.member-lang {
    margin-left: auto;
}

.member-lang a {
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.member-shell {
    display: flex;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.member-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: #fff;
    border-right: 1px solid var(--line);
    min-height: calc(100vh - 64px);
    padding: 20px 14px;
}

.member-sidebar .side-brand {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.member-sidebar .side-brand img {
    max-width: 64px;
    margin-bottom: 8px;
}

.member-sidebar .side-brand h6 {
    font-size: 10.5px;
    color: var(--ink-soft);
    margin: 2px 0;
    line-height: 1.4;
    font-weight: 600;
}

.member-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 16px;
    background: var(--orange-pale);
}

.member-user img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.member-user span {
    font-weight: 700;
    color: var(--orange-deep);
    font-size: 13.5px;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
}

.side-nav-link:hover {
    background: #F0F2EE;
}

.side-nav-link .mdi {
    font-size: 16px;
    color: var(--ink-soft);
    flex-shrink: 0;
}

details.side-group {
    margin-bottom: 2px;
}

details.side-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
}

details.side-group summary::-webkit-details-marker {
    display: none;
}

details.side-group summary:hover {
    background: #F0F2EE;
}

details.side-group summary .mdi {
    font-size: 16px;
    color: var(--ink-soft);
}

details.side-group summary .side-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform .15s ease;
    color: var(--ink-soft);
}

details.side-group[open] summary .side-arrow {
    transform: rotate(90deg);
}

.side-sub {
    padding-left: 2px;
    border-left: 1px dashed var(--line);
    margin: 2px 0 8px 20px;
}

.side-sub .side-nav-link {
    font-size: 12.5px;
    padding: 8px 10px;
}

.side-sub-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 2px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--orange-deep);
}

.side-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 14px 10px 4px;
    font-weight: 700;
}

.member-content {
    flex: 1;
    min-width: 0;
    padding: 28px 32px;
}

@media (max-width:900px) {
    .member-shell {
        flex-direction: column;
    }

    .member-sidebar {
        width: 100%;
        flex: 1;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        min-height: 0;
    }

    .member-content {
        padding: 22px 18px;
    }

    .member-search {
        display: none;
    }
}

/* ---------- Nav sidebar plat (fourni par l'utilisateur) ---------- */
.member-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-menu>a,
.member-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    border-radius: 10px;
    transition: .25s;
}

.member-menu>a:hover,
.member-menu summary:hover {
    background: #fff3e6;
    color: #f58220;
}

.member-menu .active {
    color: #f58220;
    font-weight: 600;
}

.member-menu details {
    border-radius: 10px;
}

.member-menu summary {
    list-style: none;
}

.member-menu summary::-webkit-details-marker {
    display: none;
}

.member-menu .dropdown-panel {
    display: flex;
    flex-direction: column;
    margin-left: 18px;
    margin-bottom: 10px;
}

.member-menu .dropdown-panel a {
    padding: 8px 12px;
    color: #555;
    text-decoration: none;
}

.member-menu .dropdown-panel a:hover {
    color: #f58220;
}

.member-menu .logout {
    color: #d32f2f;
    margin-top: 20px;
}

@media (max-width:760px) {
    .registration-page .page-body-wrapper {
        padding: 30px 18px;
    }

    .registration-page .content-wrapper .card-body {
        padding: 22px 16px;
    }

    .registration-page .main-panel>.site-footer {
        margin-right: -18px;
        margin-left: -18px;
    }
}

/* Uniformisation visuelle de register.php et forget.php vers le style moderne */
.registration-page .top-strip,
.registration-page .site-header .main-menu {
    display: none !important;
}

.registration-page .site-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 24px 32px !important;
}

.registration-page .site-header .nav-row {
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.registration-page .page-body-wrapper {
    width: 100% !important;
    padding: 40px 20px 60px !important;
    background: #f8fafc !important;
    min-height: calc(100vh - 40px);
}

.registration-page .main-panel {
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.registration-page .content-wrapper {
    max-width: 1080px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.registration-page .content-wrapper .hero {
    margin-bottom: 34px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.08) !important;
}

.registration-page .content-wrapper .row {
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 760px !important;
}

.registration-page .content-wrapper .col-xl-4,
.registration-page .content-wrapper .col-lg-4 {
    display: none !important;
}

.registration-page .content-wrapper .col-xl-5,
.registration-page .content-wrapper .col-lg-5,
.registration-page .content-wrapper .col-md-8 {
    flex: 0 0 720px !important;
    max-width: 720px !important;
    width: 100% !important;
}

.registration-page .content-wrapper .card {
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 28px !important;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.1) !important;
    border: none !important;
}

.registration-page .content-wrapper .card-body {
    padding: 38px 38px !important;
}

.registration-page .content-wrapper .card-title {
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 22px !important;
    color: #1c2737 !important;
    margin-bottom: 22px !important;
}

.registration-page .content-wrapper .border {
    border-color: rgba(17, 24, 39, 0.08) !important;
    box-shadow: none !important;
}

.registration-page .content-wrapper .form-control,
.registration-page .content-wrapper select.form-control {
    border-radius: 14px !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    background: #f7f9fc !important;
    padding: 14px 16px !important;
}

.registration-page .content-wrapper .form-control:focus,
.registration-page .content-wrapper select.form-control:focus {
    border-color: #f07c1d !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 124, 29, 0.12) !important;
}

.registration-page .content-wrapper .btn {
    border-radius: 999px !important;
    padding: 14px 24px !important;
    font-weight: 700 !important;
    background: #f07c1d !important;
    border: none !important;
    color: #fff !important;
}

.registration-page .content-wrapper .btn-outline-dark {
    background: #fff !important;
    color: #1c2737 !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
}

.registration-page .content-wrapper .text-primary {
    color: #2f57ff !important;
}

.registration-page .border {
    border-color: rgba(17, 24, 39, 0.08) !important;
}

.registration-page .card-body hr {
    border-color: rgba(17, 24, 39, 0.08) !important;
}

@media (max-width:900px) {
    .registration-page .page-body-wrapper {
        padding: 30px 16px 36px !important;
    }

    .registration-page .content-wrapper {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .registration-page .content-wrapper .row {
        max-width: 100% !important;
        padding: 0 0 !important;
    }

    .registration-page .content-wrapper .col-xl-5,
    .registration-page .content-wrapper .col-lg-5,
    .registration-page .content-wrapper .col-md-8 {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .registration-page .content-wrapper .card-body {
        padding: 28px 24px !important;
    }
}

@media (max-width:900px) {
    .registration-page .content-wrapper {
        display: block;
        padding: 0;
    }

    .registration-page .content-wrapper .col-xl-5,
    .registration-page .content-wrapper .col-lg-5,
    .registration-page .content-wrapper .col-md-8 {
        max-width: 100%;
    }

    .registration-page .content-wrapper .card-body {
        padding: 28px 24px !important;
    }

    .registration-page .content-wrapper .content-wrapper {
        padding: 0;
    }
}

/* Final override: hide empty left column and make the form fill the content area */
.registration-page .card-body>.row>.col-xl-4,
.registration-page .card-body>.row>.col-lg-4 {
    display: none !important;
}

.registration-page .card-body>.row>.col-xl-5,
.registration-page .card-body>.row>.col-lg-5,
.registration-page .card-body>.row>.col-md-8 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.registration-page .content-wrapper .card {
    max-width: 760px !important;
    margin: 0 auto !important;
}

.registration-page .page-body-wrapper {
    padding: 40px 20px 60px !important;
    background: #f8fafc !important;
}

.registration-page .content-wrapper {
    max-width: 780px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

@media (max-width:900px) {
    .registration-page .page-body-wrapper {
        padding: 28px 16px 32px !important;
    }

    .registration-page .content-wrapper {
        max-width: 100% !important;
    }

    .registration-page .content-wrapper .card {
        padding: 0 !important;
    }
}

/* Final override for register.php and forget.php */
.registration-page .card-body .col-xl-4,
.registration-page .card-body .col-lg-4 {
    display: none !important;
}

.registration-page .card-body .col-xl-5,
.registration-page .card-body .col-lg-5,
.registration-page .card-body .col-md-8 {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.registration-page .content-wrapper {
    display: block !important;
    max-width: 760px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.registration-page .page-body-wrapper {
    background: #f8fafc !important;
    min-height: 100vh !important;
}

.registration-page .card {
    max-width: 760px !important;
    margin: 0 auto !important;
    border-radius: 28px !important;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1) !important;
}

.registration-page .card-body {
    padding: 38px 34px !important;
}

.registration-page .card-title {
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 22px !important;
    color: #1c2737 !important;
}

.registration-page .form-control,
.registration-page select.form-control {
    border-radius: 14px !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    background: #f7f9fc !important;
    padding: 14px 16px !important;
}

.registration-page .form-control:focus,
.registration-page select.form-control:focus {
    border-color: #f07c1d !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 124, 29, 0.12) !important;
}

.registration-page .btn-outline-dark,
.registration-page .btn-outline-dark:hover,
.registration-page .btn-outline-dark:focus {
    background: #fff !important;
    color: #1c2737 !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
}

.registration-page .btn {
    border-radius: 999px !important;
    padding: 14px 24px !important;
    background: #f07c1d !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.registration-page .card-body hr {
    border-color: rgba(17, 24, 39, 0.08) !important;
}

/* ==========================================================
   STYLE ORANGE DES SESSIONS
   ========================================================== */

.session-card-orange {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 244, 232, 0.96)
        );

    border: 1px solid rgba(245, 130, 32, 0.35);

    box-shadow:
        0 8px 24px rgba(245, 130, 32, 0.08);
}

.session-card-orange .session-tag {
    color: var(--orange);
}

.session-card-orange .session-label {
    color: #211b17;
}

.session-card-orange .session-date {
    color: var(--orange);
}

.session-card-orange:hover {
    border-color: var(--orange);

    box-shadow:
        0 14px 32px rgba(245, 130, 32, 0.16);
}

/* ==========================================================
   STYLE VERT DES SESSIONS
   ========================================================== */    

/* ---------- Détail sujets (avec annulation) ---------- */
.exam-slot-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid var(--line); font-size:12.5px; }
.exam-slot-row:last-child { border-bottom:0; }
.exam-slot-row .missing { color:#c0392b; font-weight:700; }
.exam-slot-row .slot-actions { display:flex; gap:6px; }
.exam-slot-row .dl-pill { background:#EAFBF0; color:#1f8a4c; text-decoration:none; padding:5px 10px; border-radius:999px; font-weight:700; }
.exam-slot-row .cancel-pill { background:#FDECEA; color:#c0392b; text-decoration:none; padding:5px 10px; border-radius:999px; font-weight:700; cursor:pointer; }


.documents-info {
    margin: 20px auto 28px;
    padding: 10px 14px;
    max-width: 630px;
    border-left: 3px solid var(--orange);
    background: #fff8f1;
    color: #4a4038;
    font-size: 14px;
    line-height: 1.5;
}

.documents-info strong {
    color: var(--orange);
}


/* ==========================================================
   PAGINATION DATATABLES - ORANGE
   ========================================================== */

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination li a {
    color: var(--orange) !important;
    border-color: #e5e5e5;
    background: #fff;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination li a:hover {
    color: #fff !important;
    background: var(--orange) !important;
    border-color: var(--orange) !important;
}

/* Page active */
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.active a,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.active a:hover {
    color: #fff !important;
    background: var(--orange) !important;
    border-color: var(--orange) !important;
}

/* Boutons désactivés */
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.disabled a,
div.dataTables_wrapper div.dataTables_paginate ul.pagination li.disabled a:hover {
    color: #aaa !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
}
.formation-table {
    width: 65% !important;
    max-width: 65% !important;
    margin: 0 auto !important;
    table-layout: fixed;
}


.report-table2 {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    table-layout: fixed;
}

/* Colonne N° */
.report-table2 th:first-child,
.report-table2 td:first-child {
    width: 60px !important;
    text-align: center !important;
}

/* Colonne Libellé */
.report-table2 th:nth-child(2),
.report-table2 td:nth-child(2) {
    text-align: left !important;
}

/* En-tête */
.report-table2 th {
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 12px 10px;
    text-align: middle;
    white-space: normal;
    line-height: 1.35;
    vertical-align: middle;
}

/* Contenu */
.report-table2 td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center !important;
}

.hero-cta-wrapper {
    text-align: right;
    margin-top: 5px;
}

.hero-cta {
    display: inline-block;
}

/* =========================================================
   LIENS D'INSCRIPTION
========================================================= */

.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}


/* =========================================================
   CARTE
========================================================= */

.quick-link {
    position: relative;

    display: flex;
    align-items: center;

    gap: 15px;
    min-height: 140px;
    padding: 22px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: #fff;
    color: var(--ink);

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* Effet au survol */

.quick-link:hover {
    transform: translateY(-4px);

    border-color: var(--orange);

    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}


/* =========================================================
   BARRE ORANGE SUPÉRIEURE
========================================================= */

.quick-link::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--orange);
}


/* =========================================================
   NUMÉRO
========================================================= */

.quick-link-icon {
    width: 45px;
    height: 50px;

    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--orange);
    color: #fff;

    font: 800 12px Archivo, Arial, sans-serif;

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );
}


/* =========================================================
   CONTENU
========================================================= */

.quick-link-content {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   PETIT LABEL
========================================================= */

.quick-link-label {
    margin-bottom: 6px;

    color: var(--orange);

    font: 700 11px 'IBM Plex Mono', monospace;

    letter-spacing: .09em;

    text-transform: uppercase;
}


/* =========================================================
   TITRE PRINCIPAL
========================================================= */

.quick-link-content strong {
    font-family: Archivo, Arial, sans-serif;

    font-size: 17px;

    line-height: 1.35;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.quick-link-content small {
    margin-top: 7px;

    color: var(--ink-soft);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FLÈCHE
========================================================= */

.quick-link-arrow {
    flex: 0 0 auto;

    color: var(--orange);

    font-size: 25px;

    transition: transform .25s ease;
}


/* Animation de la flèche */

.quick-link:hover .quick-link-arrow {
    transform: translateX(5px);
}


/* =========================================================
   COULEUR DES 3 CARTES
========================================================= */

/* Enseignement secondaire */
.quick-link-secondary::before {
    background: #d97706;
}

/* Session Octobre */
.quick-link-octobre::before {
    background: var(--orange);
}

/* Session Février */
.quick-link-fevrier::before {
    background: #e85d04;
}


/* =========================================================
   SOUS-TITRE DE LA SECTION
========================================================= */

.section-heading-subtitle {
    display: block;

    margin-top: 4px;

    color: var(--ink-soft);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE — TABLETTE
========================================================= */

@media (max-width: 900px) {

    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link {
        min-height: 125px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .quick-links {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .quick-link {
        min-height: 120px;

        padding: 18px;

        gap: 13px;
    }

    .quick-link-icon {
        width: 42px;
        height: 47px;

        flex: 0 0 42px;
    }

    .quick-link-label {
        font-size: 10px;
    }

    .quick-link-content strong {
        font-size: 15px;
    }

    .quick-link-content small {
        font-size: 12px;
    }

    .quick-link-arrow {
        font-size: 22px;
    }
}

/* =========================================================
   NIVEAUX ET FILIÈRES
   ========================================================= */

.niveaux-filieres {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;

    font-family: Arial, Helvetica, sans-serif;

    border: 1px solid #e8e0da;
    border-radius: 10px;
    overflow: hidden;

    background: #fff;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.nf-header {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #F58220;
    color: #fff;

    font-size: 21px;
    font-weight: 800;

    min-height: 60px;
}

.nf-header > div {
    display: flex;
    align-items: center;

    padding: 12px 18px;
}

.nf-header > div:first-child {
    justify-content: flex-start;
}

.nf-header > div:last-child {
    justify-content: flex-end;
    font-size: 24px;
}


/* =========================================================
   LIGNE
   ========================================================= */

.nf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 65px;

    border-top: 4px solid #fff;
}


/* =========================================================
   PARTIE FRANÇAISE
   ========================================================= */

.nf-fr {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 8px 18px;

    background: #fff7f0;
    color: #222;
}

.nf-fr strong {
    font-size: 20px;
    line-height: 1.1;

    color: #222;
}

.nf-fr span {
    margin-top: 2px;

    font-size: 18px;
    font-weight: 400;

    color: #4a4a4a;
}


/* =========================================================
   PARTIE ARABE
   ========================================================= */

.nf-ar {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    background: #fff1e6;

    color: #222;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.25;

    text-align: center;
}


/* =========================================================
   ALTERNANCE DES LIGNES
   ========================================================= */

.nf-row:nth-child(odd) .nf-fr {
    background: #fff;
}

.nf-row:nth-child(odd) .nf-ar {
    background: #fff7f0;
}


/* =========================================================
   EFFET SURVOL
   ========================================================= */

.nf-row:hover .nf-fr,
.nf-row:hover .nf-ar {
    background: #fff3e8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .niveaux-filieres {
        width: 96%;
        margin: 20px auto;
    }

    .nf-header {
        min-height: 52px;
    }

    .nf-header > div {
        padding: 10px 12px;
        font-size: 16px;
    }

    .nf-header > div:last-child {
        font-size: 19px;
    }

    .nf-row {
        grid-template-columns: 1fr 1fr;
        min-height: 60px;
    }

    .nf-fr {
        padding: 7px 10px;
    }

    .nf-fr strong {
        font-size: 16px;
    }

    .nf-fr span {
        font-size: 14px;
    }

    .nf-ar {
        padding: 7px 8px;
        font-size: 16px;
    }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nf-header {
        grid-template-columns: 1fr 1fr;
    }

    .nf-header > div {
        font-size: 14px;
    }

    .nf-header > div:last-child {
        font-size: 16px;
    }

    .nf-row {
        min-height: 58px;
    }

    .nf-fr strong {
        font-size: 14px;
    }

    .nf-fr span {
        font-size: 12.5px;
    }

    .nf-ar {
        font-size: 14px;
        line-height: 1.2;
    }

}

/* ---------- Statistiques (graphiques Chart.js) ---------- */
.stat-count { text-align:center; font-family:Archivo,Arial,sans-serif; font-size:26px; font-weight:800; margin:20px 0 28px; }
.stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; }
.stat-card h6 { font-family:Archivo,Arial,sans-serif; font-size:14px; font-weight:800; margin:0 0 16px; }
.stat-card.full { grid-column:1 / -1; }
@media (max-width:760px) { .stat-grid { grid-template-columns:1fr; } }


/* =========================================================
   ESPACE MEMBRE — HEADER
   ========================================================= */

.member-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.member-top-strip {
    display: flex;
    align-items: center;

    min-height: 55px;
    padding: 0 3%;

    background: #F58220;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 14px;
}

.member-top-strip a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.member-ar {
    font-weight: 600;
}

.member-top-separator {
    margin: 0 12px;
    opacity: .6;
}

.member-top-spacer {
    flex: 1;
}

.member-language-link {
    margin-left: 20px;
    padding-left: 20px;

    border-left: 1px solid rgba(255,255,255,.35);
}


/* =========================================================
   NAVIGATION PRINCIPALE
   ========================================================= */

.member-nav-row {
    display: flex;
    align-items: center;

    min-height: 135px;

    padding: 0 10%;

    background: #fff;
}


/* =========================================================
   LOGO
   ========================================================= */

.member-brand {
    display: flex;
    align-items: center;

    gap: 15px;

    text-decoration: none;
    color: #111;

    flex-shrink: 0;
}

.member-brand-mark {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.member-brand-mark img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.member-brand-copy {
    display: flex;
    flex-direction: column;
}

.member-brand-copy strong {
    font-size: 18px;
    font-weight: 800;
}

.member-brand-copy small {
    margin-top: 4px;

    color: #777;
    font-size: 14px;
}


/* =========================================================
   MENU
   ========================================================= */

.member-main-menu {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}

.member-main-menu > a,
.member-menu-link {
    color: #111;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;

    transition: color .2s ease;
}

.member-main-menu > a:hover,
.member-menu-link:hover,
.member-main-menu > a.active {
    color: #F58220;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.member-nav-dropdown {
    position: relative;
}

.member-nav-dropdown summary {
    list-style: none;

    cursor: pointer;

    color: #111;

    font-size: 16px;
    font-weight: 700;
}

.member-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.member-nav-dropdown summary:hover {
    color: #F58220;
}

.member-dropdown-panel {
    position: absolute;

    top: calc(100% + 15px);
    left: 50%;

    transform: translateX(-50%);

    min-width: 210px;

    padding: 8px;

    background: #fff;

    border: 1px solid #eee;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,.12);

    z-index: 10000;
}

.member-dropdown-panel a {
    display: block;

    padding: 11px 14px;

    color: #333;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 7px;
}

.member-dropdown-panel a:hover {
    background: #fff4eb;
    color: #F58220;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.member-nav-actions {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-left: 30px;
}

.member-navbar-actions {
    display: flex;
    align-items: center;

    gap: 5px;

    list-style: none;

    margin: 0;
    padding: 0;
}


/* =========================================================
   BOUTON MOBILE
   ========================================================= */

.member-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    color: #111;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1200px) {

    .member-nav-row {
        padding: 0 5%;
    }

    .member-main-menu {
        gap: 20px;
    }

    .member-main-menu > a,
    .member-menu-link,
    .member-nav-dropdown summary {
        font-size: 14px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .member-top-strip {
        padding: 0 15px;
        font-size: 12px;
    }

    .member-top-strip > span:nth-child(3) {
        display: none;
    }

    .member-nav-row {
        min-height: 90px;
        padding: 0 18px;
    }

    .member-brand-copy {
        display: none;
    }

    .member-brand-mark {
        width: 62px;
        height: 62px;
    }

    .member-nav-actions {
        margin-left: auto;
    }

    .member-navbar-actions {
        display: none;
    }

    .member-menu-toggle {
        display: block;
    }


    /* MENU MOBILE */

    .member-main-menu {
        display: none;

        position: absolute;

        top: 145px;
        left: 15px;
        right: 15px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 10px;

        background: #fff;

        border: 1px solid #eee;
        border-radius: 12px;

        box-shadow: 0 15px 35px rgba(0,0,0,.12);

        z-index: 9999;
    }

    .member-main-menu.member-is-open {
        display: flex;
    }


    .member-main-menu > a,
    .member-menu-link {
        display: block;

        padding: 14px 15px;

        border-bottom: 1px solid #eee;

        font-size: 15px;
    }


    .member-nav-dropdown {
        width: 100%;
    }

    .member-nav-dropdown summary {
        display: block;

        padding: 14px 15px;

        border-bottom: 1px solid #eee;

        font-size: 15px;
    }


    .member-dropdown-panel {
        position: static;

        transform: none;

        min-width: 0;

        padding: 5px;

        border: 0;
        box-shadow: none;

        background: #fafafa;
    }


    .member-dropdown-panel a {
        padding: 12px 20px;
    }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .member-top-strip {
        min-height: 45px;
    }

    .member-top-strip .member-ar {
        font-size: 11px;
    }

    .member-top-strip a {
        font-size: 12px;
    }

    .member-nav-row {
        min-height: 80px;
        padding: 0 15px;
    }

    .member-brand-mark {
        width: 58px;
        height: 58px;
    }

    .member-main-menu {
        top: 125px;
        left: 10px;
        right: 10px;
    }

}


/* =========================================================
   STATUT DES MESSAGES
   ========================================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


/* Message répondu */

.status-success {
    background: #e8f8ef;
    color: #0aa85a;
}


/* Message non répondu */

.status-pending {
    background: #fff1e6;
    color: #F58220;
}

/* =========================================================
   FORMULAIRE UTILISATEUR
   ========================================================= */

.user-form-card {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #eadfd5;
    border-radius: 18px;
    background: #fff;
}

.user-form-title {
    margin-bottom: 22px;
    font-size: 19px;
    font-weight: 800;
    color: #17130f;
}

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

.user-form-group {
    display: flex;
    flex-direction: column;
}

.user-form-group label {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.user-form-group input,
.user-form-group select {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #eadfd5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.user-form-group input:focus,
.user-form-group select:focus {
    outline: none;
    border-color: #F58220;
}

.user-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}


/* =========================================================
   PHOTO
   ========================================================= */

.user-photo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}


/* =========================================================
   STATUT
   ========================================================= */

.status-button {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 7px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.status-button-active {
    background: #159447;
}

.status-button-inactive {
    background: #F58220;
}

.status-button:hover {
    color: white;
    opacity: .9;
}


/* =========================================================
   MESSAGE ERREUR
   ========================================================= */

.alert-error {
    margin: 20px 0;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff1e8;
    color: #d96f13;
    font-weight: 700;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .user-form-grid {
        grid-template-columns: 1fr;
    }

    .user-form-actions {
        justify-content: center;
    }

}