/* ============================================================
   MANDEOO — Landing / Auth Pages CSS
   Rencontre & Connexion · Africains · Afro-Descendants · Afro-Caribéens
   ============================================================ */

/* ── Base utilitaires ── */
.w-full { display: block; width: 100%; }

/* ── Page fond hero ── */
.home {
    background-image:
        linear-gradient(135deg, rgba(26,10,0,0.72) 0%, rgba(155,34,38,0.45) 50%, rgba(232,93,4,0.30) 100%),
        url(/img/hero_african_romance.png);
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    min-height: 100vh;
    background-color: var(--main_page_background);
}

/* ── Footer transparent sur home ── */
.home #main-footer {
    background-color: transparent !important;
    margin-top: 5px;
    padding-top: 0;
    padding-bottom: 30px;
}
.home #main-footer li,
.home #main-footer a {
    color: rgba(255,255,255,0.80) !important;
}

/* ── Limiter ── */
.limiter {
    width: 100%;
    margin: 0 auto;
}

/* ── Conteneur principal ── */
.container-login100 {
    width: 100%;
    min-height: calc(100vh - 320px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px 15px;
    background: transparent;
}

/* ── Carte formulaire (wrap) ── */
.wrap-login100 {
    border-radius: 24px;
    width: 860px;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row-reverse;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.wrap-login100 .standard-page {
    width: 100%;
    padding: 48px 52px;
    background: var(--common_page_background);
}
.wrap-login100 .opt-in { width: 100%; }

/* ── Panneau image droite ── */
.login100-more {
    width: 52%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: relative;
    z-index: 1;
    background-image: url('/img/form_bg_african.png');
}

#signup-page .login100-more {
    background-image: url('/img/form_bg_african.png');
    background-position: center center;
}

.signup-page .login100-more { width: 48%; }

/* Overlay gradient sur le panneau image */
.login100-more::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background: linear-gradient(
        160deg,
        rgba(155,34,38,0.55) 0%,
        rgba(26,10,0,0.70) 60%,
        rgba(232,93,4,0.40) 100%
    );
}

/* ── Contenu texte sur panneau image ── */
.login100-more .login100_content {
    position: relative;
    z-index: 2;
    word-break: break-word;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 40px;
    font-family: 'Nunito', sans-serif;
}

.login100_content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin: 0 0 14px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.login100_content p {
    color: rgba(255,255,255,0.90);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* ── Badge culturel sur le panneau image ── */
.login100-more .culture-badge {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(232,93,4,0.90);
    color: #fff;
    font-family: 'Dancing Script', cursive;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
}

/* ── Panneau formulaire gauche ── */
.login100-form {
    width: 48%;
    display: flex;
    flex-direction: column;
    padding: 44px 48px;
    background: var(--common_page_background);
    position: relative;
}

.signup-page .login100-form { width: 52%; }

/* ── Logo dans le formulaire ── */
.login100-form .form-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.login100-form .form-logo .form-logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #E85D04, #9B2226);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ── Titre du formulaire ── */
.login100-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text_title);
    line-height: 1.2;
    text-align: left;
    width: 100%;
    display: block;
    margin-bottom: 6px;
}
.login100-form-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: var(--text_sub_title);
    margin-bottom: 24px;
    display: block;
}

/* ── Divider "ou" ── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--text_sub_title);
    font-size: 13px;
    font-family: 'Nunito', sans-serif;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--separator_common);
}

/* ── Boutons sociaux ── */
.login100-form p { width: 100%; margin: 0 0 10px; }

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    border: 1.5px solid var(--separator_common);
    color: var(--text_primary);
    background: var(--common_page_background);
    letter-spacing: 0.01em;
}
.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    color: var(--text_primary);
    border-color: var(--button_primary_color);
}
.btn-social .icon-container { display: flex; align-items: center; }

/* ── Inputs ── */
.login100-form input[type="text"],
.login100-form input[type="password"],
.login100-form input[type="email"],
.login100-form input[type="number"],
.login100-form select {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    border-radius: 12px;
    margin-bottom: 14px;
}

/* ── Bouton submit ── */
.login100-form .submit-button,
.login100-form input[type="submit"].primary {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #E85D04 0%, #9B2226 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 20px rgba(232,93,4,0.35);
    margin-top: 6px;
    text-transform: uppercase;
}
.login100-form .submit-button:hover,
.login100-form input[type="submit"].primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232,93,4,0.50);
    background: linear-gradient(135deg, #c94e03 0%, #7d1a1e 100%);
}
.login100-form .submit-button:active,
.login100-form input[type="submit"].primary:active {
    transform: translateY(0);
}

/* ── Bloc bouton login (login + forgot) ── */
.login-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}
.login-button .submit-button,
.login-button input[type="submit"] {
    width: 100%;
    margin-right: 0 !important;
}
.login-button .help {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: var(--text_link);
    text-decoration: none;
    transition: color 0.2s;
}
.login-button .help:hover { color: var(--text_link_hover); text-decoration: underline; }

/* ── Lien "Pas de compte ?" ── */
.auth-switch-link {
    text-align: center;
    margin-top: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: var(--text_sub_title);
}
.auth-switch-link a {
    color: var(--text_link);
    font-weight: 700;
    text-decoration: none;
}
.auth-switch-link a:hover { text-decoration: underline; }

/* ── Alerte erreur ── */
.login100-form .alert {
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    margin-bottom: 16px;
    border: none;
}

/* ── Section aperçu profils ── */
.wrap-landing-info-container {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: transparent;
    margin: 40px 0;
}

.wrap-landing-info {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    width: 860px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.wrap-landing-info span.avatar {
    background-size: cover;
    background-position: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    border: 3px solid rgba(232,93,4,0.7);
    transition: transform 0.2s;
    display: inline-block;
}
.wrap-landing-info span.avatar:hover { transform: scale(1.08); }

/* ── Texte intro aperçu profils ── */
.wrap-landing-info p {
    width: 100%;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
}

/* ── Animations d'entrée ── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.wrap-login100 {
    animation: fadeSlideUp 0.55s cubic-bezier(.4,0,.2,1) both;
}

/* ── Page standard (remind / restore) ── */
.wrap-login100 .standard-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text_title);
    margin-bottom: 20px;
}
.wrap-login100 .standard-page .login-button {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.wrap-login100 .standard-page .login-button .primary {
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, #E85D04, #9B2226);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(232,93,4,0.3);
    width: auto;
}
.wrap-login100 .standard-page .login-button .primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232,93,4,0.45);
}
.wrap-login100 .standard-page .errors-container {
    background: rgba(155,34,38,0.1);
    border: 1px solid rgba(155,34,38,0.3);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #9B2226;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .login100-form  { width: 58%; padding: 36px 32px; }
    .login100-more  { width: 42%; }
}

@media (max-width: 768px) {
    .wrap-login100  { flex-direction: column; }
    .login100-form  { width: 100%; padding: 36px 28px; }
    .login100-more  { display: none; }
    .signup-page .login100-form { width: 100%; }
}

@media (max-width: 576px) {
    .login100-form  { padding: 28px 20px; }
    .login100-form-title { font-size: 22px; }
    .wrap-landing-info span.avatar { width: 70px; height: 70px; }
}