body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: rgb(17, 17, 52);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: white;
}

#paypal-button-container {
    justify-content: center;
    padding-left:300px;
    align-items: center;
    height: 100vh; /* Assurez-vous que la hauteur soit au moins égale à la hauteur de la fenêtre */
  }

.wrapper {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 10px;
    margin: 20px;
}

.card {
    border: #192453 2px solid;
    width: 450px;
    height: 300px;
    border-radius: 25px;
    background-color: rgb(17, 17, 52);
}

.cardp {
    border: #495fc2 2px solid;
    width: 350px;
    height: 400px;
    border-radius: 25px;
    background-color: rgb(17, 17, 52);
    align-items: center;
    padding: 10px;
}

.cardp2 {
    border: #495fc2 2px solid;
    width: 350px;
    height: 450px;
    border-radius: 25px;
    background-color: rgb(17, 17, 52);
    align-items: center;
    padding: 10px;
}

.card a {
    position: relative;
}

.region_text {
    position: absolute;
    bottom: -50px;
    /* padding-left: 20px;
      padding-right: 30px; */
    left: 12px;
}

.region_buttons {
    color: #fefafa;
    /* padding: 4px 160px; */
    border-radius: 10px;
    background-color: #483bd7;
    border: 2px solid transparent;
    width: 420px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    padding-top: 10px;
}

.trait {
    width: 100pxpx;
    height: 100px;
    background-color: #4c0267;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.avatar1 {
    height:300px;
    width: 250px;
    /* border: 5px blue solid; */
    border-radius: 100%;
    /* margin: 20px; */
    position: relative;
    bottom: 130px;
right: 70px;
}

.nom_avatar1 {
    color: #fefafa;
    font-size: 20px;
    position: relative;
    left: 100px;
    top: 30px;
}

.header {
    color: #fefafa;
}

.description {
    align-items: center;
    color: red;
}

.sectiondebut {
    background-color: rgb(17, 17, 52);
    padding-bottom: 20px;
}

.sectionfin {
    background-color: rgb(8, 46, 46);
    color: blue;
    padding-top: 10px;
}

.navbar-principale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem;
    background: rgba(6, 4, 22, 0.72);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.14);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-elements {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-elements .buttonuser,
.nav-elements .nombreCredit {
    margin: 0;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.user-count {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    white-space: nowrap;
    margin-left: 1.2rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.user-count-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
    animation: pulse-green 2.5s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 6px rgba(52, 211, 153, 0.7); }
    50%       { box-shadow: 0 0 12px rgba(52, 211, 153, 0.3); }
}

.user-count .nombre {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.user-count-label {
    color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 992px) {
    .logodebut {
        gap: 0.75rem;
    }

    .user-count {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .hamburger-menu {
        display: flex;
        margin-left: auto;
        z-index: 1002;
    }

    .nav-elements {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: linear-gradient(180deg, rgba(10, 4, 30, 0.99) 0%, rgba(28, 8, 65, 0.99) 100%);
        border-left: 1px solid rgba(139, 92, 246, 0.25);
        flex-direction: column;
        padding: 5rem 1.5rem;
        transition: all 0.3s ease;
        gap: 2rem;
        align-items: flex-start;
        box-shadow: -8px 0 32px rgba(109, 40, 217, 0.2);
        z-index: 1001;
    }

    .nav-elements.active {
        right: 0;
    }

    .logodebut {
        max-width: calc(100% - 50px);
        overflow: hidden;
    }

    .user-count {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }

    .nav-elements .buttonuser,
    .nav-elements .nombreCredit {
        width: 100%;
    }

    .nav-credit,
    .nav-user {
        width: 100%;
    }

    .nav-credit {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .buttonuser,
    .nombreCredit {
        width: 100%;
        text-align: left;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
        position: static;
        margin-top: 0.5rem;
        background: rgba(139, 92, 246, 0.1);
        border: 1px solid rgba(139, 92, 246, 0.2);
    }

    .dropdown-menu .nav-link,
    .dropdown-menu .dropdown-item {
        color: rgba(216, 180, 254, 0.85);
        padding: 0.75rem 1rem;
    }

    .dropdown-menu .nav-link:hover,
    .dropdown-menu .dropdown-item:hover {
        background: rgba(139, 92, 246, 0.2);
        color: white;
    }
}

@media (max-width: 576px) {
    .navbar-principale {
        padding: 0.8rem;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    .linklogodebut {
        font-size: 1.2rem;
    }

    .user-count {
        font-size: 0.75rem;
    }

    .logodebut {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Hide social proof pill on very small screens — not enough room */
    .user-count {
        display: none;
    }
}

.footer {
    color: #192453;
    background-color: rgb(12, 12, 12);
}

.boxsection {
    display: flex;
    justify-content: center;
    color: #fefafa;
}

.box1section {
    justify-content: center;
    height: 200px;
    width: 350px;
    text-align: center;
}

.boxfooter {
    display: flex;
    justify-content: center;
    color: #fefafa;
}

.logofin {
    height: 150px;
    width: 500px;
    font-size: 35px;
    text-align: center;
    padding: 30px;
    color: #fefafa;
}

.box1 {
    height: 150px;
    width: 300px;
}

.box2 {
    height: 150px;
    width: 300px;
}

.sectionfin div h2 {
    color: #fefafa;
    text-align: center;
}

.logodebut {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    min-width: fit-content;
}

.linklogodebut {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-moon {
    color: #a78bfa;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.7));
}

.logo-fr {
    color: #c084fc;
    font-weight: 800;
}

.point {
    color: #a78bfa;
    font-size: 0.45rem;
    animation: pulse-violet 2.5s ease-in-out infinite;
}

@keyframes pulse-violet {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 3px #a78bfa); }
    50% { opacity: 0.4; filter: none; }
}

.buttonuser {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.78);
    padding: 0.42rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    justify-content: center;
    transition: all 0.22s ease;
    font-weight: 500;
    font-size: 0.87rem;
    backdrop-filter: blur(8px);
}

.buttonuser:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.buttonuser:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.4);
}

/* Avatar initiale dans le bouton */
.nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(109,40,217,0.7), rgba(45,212,191,0.5));
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.dropdown-menu {
    background: rgba(8, 5, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0,0,0,0.3);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    overflow: hidden;
    padding: 6px;
    min-width: 200px;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    padding: 10px 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 4px;
}

.dropdown-username {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
}

.dropdown-email {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 4px 0;
}

.dropdown-menu .nav-link,
.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.65);
    padding: 0.5rem 0.85rem;
    transition: all 0.18s ease;
    font-size: 0.875rem;
    border-radius: 10px;
}

.dropdown-menu .nav-link:hover,
.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.95);
}

.dropdown-item-danger { color: rgba(248, 113, 113, 0.75) !important; }
.dropdown-item-danger:hover { background: rgba(248, 113, 113, 0.08) !important; color: rgba(248, 113, 113, 0.95) !important; }

.sectionChat {
    margin-top: 80px;
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

.iconeuser {
    font-size: 25px;
}

.icone-good {
    height: 25px;
    width: 40px;
}

.liste-desc {
    list-style: none;
    display: flex;
    color: #fefafa;
}

.liste-desc li {
    border: 1px solid white;
    border-radius: 20px;
    margin: 15px 5px;
    padding: 5px 20px;
    font-size: 15px;
}

.description1 p {
    color: #fefafa;
    font-size: 16px;
    margin: 10px 20px;
}

.liste-desc .Amour {
    border-color: red;
}

.description1 .p-avatar2 {
    color: #fefafa;
    font-size: 16px;
    margin: -6px 20px;
}

#contain .chatavatar {
    border: 1px solid rgb(37, 37, 62);
    height: 100px;
    margin-top: -25px;
    margin-bottom: 5px;
    align-items: center;
    padding-top: 35px;
    border-left: none;
    border-right: none;
}

#contain .avatarchat {
    height: 60px;
    width: 60px;
    border: 5px blue solid;
    border-radius: 100%;
    margin: 20px;
    position: relative;
    bottom: 100px;
    left: 180px;
}

#contain .iconback {
    border: 2px solid rgb(91, 60, 139);
    padding: 20px 12px;
    color: #fff;
    border-radius: 9px;
    background-color: #192453;
    position: relative;
    left: 150px;
    bottom: 20px;
    cursor: pointer;
}

#contain .nomvoyant {
    color: #fff;
    font-size: 20px;
    position: relative;
    left: 165px;
    bottom: 115px;
}

#contain .chatCredit {
    position: relative;
    left: 85px;
    bottom: 80px;
    font-size: 18px;
    color: rgb(119, 135, 176);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#formChatUser {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

#formChatUser .textarea {
    border: 3px double blue;
    width: 925px;
    height: 45px;
    border-radius: 10px;
    margin-left: 140px;
}

#formChatUser .envoyer {
    background-color: rgb(64, 155, 64);
    padding: 10px 30px;
    color: #fff;
    border-radius: 10px;
}

#chat_user {
    margin-left: 150px;
    margin-right: 150px;
    height: 330px;
    margin-top: -5px;
    padding: 15px;
    padding-top: 30px;
    z-index: 1;
    position: relative;
    overflow-y: auto;
}

#chat_user .avatar_chat {
    height: 50px;
    width: 50px;
    border: 5px #111f5e solid;
    border-radius: 100%;
}

#chat_user .message_user .avatar_userchat {
    border: 2px rgb(26, 91, 181) solid;
    padding: 12px 15px;
    border-radius: 100%;
    color: #fff;
    background-color: #830aaf;
    font-size: 18px;
    margin-left: 4px;
    width: 50px;
    height: 50px;
}

#chat_user .message_user {
    z-index: 0;
    float: right;
    display: flex;
    flex-grow: 1;
}

#chat_user .message_user .text_user {
    border: 1px solid #192453;
    padding: 14px 10px;
    border-radius: 10px;
    color: #fff;
    background-color: rgb(45, 45, 240);
}

#chat_user .message_agent {
    position: relative;
    z-index: 0;
    margin-top: 60px;
}

#chat_user .message_agent .text_agent {
    border: 1px solid #192453;
    padding: 21px 10px;
    border-radius: 10px;
    color: #fff;
    background-color: #111f5e;
}

.nombreCredit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(109,40,217,0.55), rgba(124,58,237,0.45));
    border: 1px solid rgba(139,92,246,0.45);
    color: rgba(233, 213, 255, 0.95);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.38rem 1rem;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 12px rgba(109,40,217,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    white-space: nowrap;
}

.nombreCredit:hover {
    background: linear-gradient(135deg, rgba(124,58,237,0.75), rgba(139,92,246,0.65));
    border-color: rgba(167,139,250,0.6);
    color: #fff;
    box-shadow: 0 4px 18px rgba(109,40,217,0.4);
}

.credit-gem { font-size: 0.85rem; }
.credit-word { color: rgba(233,213,255,0.7); font-weight: 400; }

.nav-credit,
.nav-user {
    display: flex;
    align-items: center;
}

.nav-credit {
    margin-right: 1rem;
}
