/* ============================================================
   PAEEJ BUSINESS CENTER — Identification
   Redesign v2.0 — Mars 2026
   Palette: Navy #1a3a5c / Gold #c5943a / Crème #f8f6f2
   Structure HTML identique — relooking CSS uniquement
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --paeej-navy: #1a3a5c;
    --paeej-navy-dark: #0f2540;
    --paeej-navy-light: #2a5a8c;
    --paeej-gold: #c5943a;
    --paeej-gold-light: #d4a94e;
    --paeej-gold-dark: #a67b2e;
    --paeej-gold-pale: #f5edd8;
    --paeej-white: #ffffff;
    --paeej-offwhite: #f8f6f2;
    --paeej-gray-100: #f3f1ed;
    --paeej-gray-200: #e5e1d9;
    --paeej-gray-400: #9c9688;
    --paeej-gray-600: #6b6560;
    --paeej-gray-800: #3d3832;
    --paeej-radius: 10px;
    --paeej-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

::placeholder {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--paeej-gray-400);
}

/* ============================================
   WRAPPER PRINCIPAL — FOND PLEIN ÉCRAN
   ============================================ */
.wrapper-shopping-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    background-image: url(https://radiustheme.com/demo/wordpress/themes/finbuzz/wp-content/uploads/2022/12/background-Ffvegxhs.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Motifs décoratifs sur le fond */
.wrapper-shopping-cart::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(197, 148, 58, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(197, 148, 58, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 10%, rgba(255,255,255,0.03) 0%, transparent 30%);
    pointer-events: none;
}

.wrapper-shopping-cart::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(25deg, transparent, transparent 80px, rgba(197, 148, 58, 0.3) 80px, rgba(197, 148, 58, 0.3) 81px);
    pointer-events: none;
}

.wrapper-shopping-cart .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* ============================================
   BLOC CONNEXION (conteneur central)
   ============================================ */
.contener-bloc-connexion {
    width: 660px;
    max-width: 100%;
}

/* ============================================
   BOÎTE FORMULAIRE
   ============================================ */
.wrap_lightbox {
    background-color: var(--paeej-white);
    position: relative;
    border-radius: 16px;
    padding: 28px 28px 25px;
    width: 100%;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    margin-top: 0;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo au-dessus du formulaire */
.wrap_lightbox::before {
    content: '';
    display: block;
    width: 180px;
    height: 60px;
    background: url('https://business-center.paeej.bi/images/logo.png') center / contain no-repeat;
    margin: 0 auto 28px;
}

/* ============================================
   ONGLETS CONNEXION / INSCRIPTION
   ============================================ */
ul#wrap-onget-client {
    display: flex;
    list-style: none;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 4px;
    position: relative;
    margin: 0 0 28px;
    background: var(--paeej-gray-100);
}

li.onglet-client {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    box-sizing: border-box;
    padding: 12px 0;
    margin: 0;
    color: var(--paeej-gray-400);
    font-size: 13px;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    transition: var(--paeej-transition);
    background: transparent;
}

li.onglet-client + li {
    border-left: none;
    border-radius: 10px;
}

li.onglet-client:hover:not(.actif) {
    color: var(--paeej-gray-600);
}

li.onglet-client.actif {
    background-color: var(--paeej-white);
    color: var(--paeej-navy);
    font-weight: 600;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Supprimer la flèche triangulaire */
li.onglet-client.actif:after {
    display: none;
}

/* ============================================
   CONTENEUR FORMULAIRE
   ============================================ */
.tabcontent {
    display: none;
}

.tabcontent.actif {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container_form_lightbox {
    position: relative;
}

form.form_lightbox {
    position: relative;
}

.div_field_form {
    position: relative;
    overflow: visible;
    padding-right: 0;
    margin-right: 0;
}

/* ============================================
   LABELS
   ============================================ */
label.label_field {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--paeej-gray-600);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 7px;
    z-index: 1;
    width: 100%;
    line-height: 1.5;
}

label.label_field span {
    color: var(--paeej-gold);
}

/* ============================================
   CHAMPS INPUT & SELECT
   ============================================ */
.field_input {
    position: relative;
    margin-bottom: 18px;
}

.element_field {
    position: relative;
}

.element_field i {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: var(--paeej-gray-400);
    font-style: normal;
    pointer-events: none;
    z-index: 1;
    line-height: 48px;
    transition: color 0.3s;
    top: 0;
}

.class_select, .class_input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1.5px solid var(--paeej-gray-200) !important;
    border-radius: var(--paeej-radius) !important;
    outline: none;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--paeej-gray-800);
    background: var(--paeej-white);
    height: 48px !important;
    box-shadow: none;
    transition: var(--paeej-transition);
    -webkit-appearance: none;
    appearance: none;
}

/* Focus doré */
.class_select:focus, .class_input:focus,
.class_select:hover, .class_input:hover {
    border-color: var(--paeej-gold) !important;
    box-shadow: 0 0 0 3px rgba(197, 148, 58, 0.1);
}

/* Icône dorée au focus */
.element_field:focus-within i {
    color: var(--paeej-gold);
}

/* Select : flèche personnalisée */
select.class_select {
    background: var(--paeej-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239c9688' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
    cursor: pointer;
}

/* Champ sexe */
.class_select.elt-sex {
    padding-left: 14px !important;
}

/* Messages d'erreur */
.message-erreur {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 2px;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================
   RANGÉES DE CHAMPS
   ============================================ */
.field_double {
    display: flex;
    position: relative;
    justify-content: space-between;
    gap: 14px;
}

.field_input.full_line {
    width: 100%;
}

.field_input.middle {
    display: flex;
    position: relative;
    width: 49%;
    justify-content: space-between;
    flex-direction: column;
}

.field_input.middle .element_field {
    width: 100%;
}

.field_input.middle .element_field input,
.field_input.middle .element_field select {
    width: 100%;
}

.field_double .field_input .element_field {
    width: 100%;
}

/* Sexe + Nom en ligne */
.content-two-elt.field-form {
    display: flex;
    justify-content: space-between;
    width: 49%;
    gap: 10px;
}

.content-select-type.middle {
    width: 30%;
}

.content-two-elt.field-form .field_input {
    width: 68%;
}

.content-select-type.middle select {
    padding-left: 14px;
}

/* ============================================
   INDICATIF TÉLÉPHONE
   ============================================ */
span.fixed-indicatif {
    position: absolute;
    top: 0;
    left: 14px;
    font-weight: 500;
    line-height: 48px;
    border-right: 1px solid var(--paeej-gray-200);
    padding-right: 8px;
    display: flex;
    padding-left: 0;
    color: var(--paeej-gray-400);
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    z-index: 1;
    pointer-events: none;
}

input#numero {
    padding-left: 65px !important;
}

/* ============================================
   BOUTON PRINCIPAL
   ============================================ */
.space_btn_submit {
    margin-top: 22px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: center;
}

button.button_lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 0;
    border: none;
    border-radius: var(--paeej-radius);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--paeej-white);
    background: linear-gradient(135deg, var(--paeej-gold), var(--paeej-gold-light));
    box-shadow: 0 4px 15px rgba(197, 148, 58, 0.3);
    transition: var(--paeej-transition);
    outline: none;
    line-height: 1.5;
    text-align: center;
}

button.button_lightbox:hover {
    background: linear-gradient(135deg, var(--paeej-gold-dark), var(--paeej-gold));
    box-shadow: 0 8px 25px rgba(197, 148, 58, 0.4);
    transform: translateY(-1px);
    color: var(--paeej-white);
}

/* Bouton inscription → variante navy */
#form-inscription button.button_lightbox {
    background: linear-gradient(135deg, var(--paeej-navy), var(--paeej-navy-light));
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

#form-inscription button.button_lightbox:hover {
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   FOOTER DU FORMULAIRE
   ============================================ */
.signup_footer {
    border-top: 1px solid var(--paeej-gray-200);
    margin-top: 22px;
    padding-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: var(--paeej-gray-400);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'DM Sans', sans-serif;
}

.signup_footer a {
    line-height: 1.8;
    display: block;
    color: var(--paeej-gray-600);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.signup_footer a:hover {
    color: var(--paeej-gold);
}

.creer-compte {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.creer-compte a {
    margin-left: 5px;
    text-decoration: none;
    color: var(--paeej-gold);
    font-weight: 500;
}

.creer-compte a:hover {
    color: var(--paeej-gold-dark);
}

/* ============================================
   PAGE PARTENAIRE — HEADER
   ============================================ */
.wrapper-top-identification {
    padding: 0 0 20px;
}

h1.top-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.2;
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--paeej-navy-light);
    font-weight: 400;
}

p.description-partenaire {
    color: var(--paeej-navy-light);
    font-size: 14px;
    line-height: 1.7;
    font-family: 'DM Sans', sans-serif;
}

p.description-partenaire a {
    color: var(--paeej-gold);
    font-weight: 600;
    text-decoration: none;
}

p.description-partenaire a:hover {
    text-decoration: underline;
}

/* ============================================
   TITRE LIGHTBOX
   ============================================ */
h3.title_lightbox {
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 24px;
    color: var(--paeej-navy);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================================
   BOUTON CLOSE LIGHTBOX
   ============================================ */
.btn_close {
    position: absolute;
    top: 12px;
    right: 14px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paeej-gray-400);
    border-radius: 50%;
    transition: all 0.2s;
}

.btn_close:hover {
    color: var(--paeej-navy);
    background: var(--paeej-gray-100);
}

/* ============================================
   LIGHTBOX OVERLAY
   ============================================ */
.wrapper_lightbox {
    position: fixed;
    top: 0;
    z-index: 99999;
    background: rgba(15, 37, 64, 0.8);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_lightbox {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    width: 880px;
}

.content_lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ============================================
   CHECKBOX STYLISÉ
   ============================================ */
.class_input.elt-check {
    display: none;
}

.label_field.label-elt-check {
    display: flex;
    top: 0;
    left: 0;
    position: relative;
    align-items: center;
    padding-left: 28px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--paeej-gray-600);
}

.label_field.label-elt-check:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--paeej-gold);
    left: 0;
    border-radius: 4px;
    background: transparent;
    transition: all 0.2s;
}

.label-elt-check:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    left: 4px;
    border-radius: 2px;
}

.class_input.elt-check:checked ~ .label-elt-check:after {
    background: var(--paeej-gold);
}

.class_input.elt-check:checked ~ .label-elt-check:before {
    border-color: var(--paeej-gold);
}

/* ============================================
   SOUS-TITRES DE SECTION
   ============================================ */
h3.elt_text {
    font-size: 13px;
    margin-top: 14px;
    border-bottom: 1px solid var(--paeej-gray-200);
    font-weight: 600;
    padding-bottom: 6px;
    margin-bottom: 14px;
    color: var(--paeej-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================
   SCROLLBAR
   ============================================ */
.list_categorie::-webkit-scrollbar {
    width: 6px;
    background: var(--paeej-gray-100);
    border-radius: 3px;
}

.list_categorie::-webkit-scrollbar-thumb {
    background: var(--paeej-gold);
    border-radius: 3px;
}

/* ============================================
   TABLEAUX
   ============================================ */
table.table_list {
    width: 100%;
    text-align: center;
    border-spacing: 0;
}

table.table_list thead tr {
    background: var(--paeej-gray-100);
    height: 36px;
    text-align: center;
    font-size: 12px;
    color: var(--paeej-gray-600);
}

table.table_list tbody tr.text {
    height: 36px;
    cursor: pointer;
    background: rgba(197, 148, 58, 0.04);
}

table.table_list tbody tr.text:hover {
    background: rgba(197, 148, 58, 0.08);
}

.text td.selection_liste {
    font-size: 12px;
    padding: 7px;
}

.list_categorie {
    overflow-y: auto;
    max-height: 215px;
    position: relative;
}

/* ============================================
   PARTENAIRE — SÉPARATEURS
   ============================================ */
.tire-form {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.tire-form .ligne-design {
    flex: 1;
    height: 1px;
    background: var(--paeej-gray-200);
}

.tire-form h3 {
    color: var(--paeej-navy);
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
}

/* ============================================
   PARTENAIRE — PHOTO UPLOAD
   ============================================ */
.content-image-principale {
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-add-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 2px dashed var(--paeej-gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.class-add-picture:hover {
    border-color: var(--paeej-gold);
    background: rgba(197, 148, 58, 0.04);
}

.icone-camera {
    font-size: 28px;
    color: var(--paeej-gray-400);
}

.class-add-picture:hover .icone-camera {
    color: var(--paeej-gold);
}

/* ============================================
   CK EDITOR
   ============================================ */
.ck-editor__editable_inline {
    min-height: 200px;
    border-radius: 0 0 var(--paeej-radius) var(--paeej-radius);
}

/* ============================================
   FIL D'ARIANE COMMANDE
   ============================================ */
div#conteneur-titre {
    width: 100%;
    margin-bottom: 20px;
}

div#conteneur-fil-arian {
    width: 100%;
}

/* ============================================
   TEXTAREA
   ============================================ */
.class_texterea {
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--paeej-gray-200);
    border-radius: var(--paeej-radius);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--paeej-gray-800);
    background: var(--paeej-white);
    outline: none;
    transition: var(--paeej-transition);
    resize: vertical;
}

.class_texterea:focus {
    border-color: var(--paeej-gold);
    box-shadow: 0 0 0 3px rgba(197, 148, 58, 0.1);
}