/* ===============================
   Général / Réinitialisation
   =============================== */

.hidden,
.nonepopup {
    display: none;
}

.blockpopup {
    display: block;
}

img.img-rounded {
    border-radius: 13px;
}

a.nav-link,
button,
input,
textarea,
select {
    outline: none;
}

/* ===============================
   Formulaires et champs d'entrée
   =============================== */

input[type="email"],
input[type="text"],
input[type="password"],
textarea {
    background-color: #fff !important;
    color: #131F3B;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: #555;
    opacity: 1;
}

/* Accessibilité renforcée sur focus */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 246, 209, 0.25);
}

.btn-primary:focus,
.btn-primary:hover {
    background-color: white;
    box-shadow: none;
    color: #131F3B;
    border: 1px solid #131F3B;
}

/* ===============================
   Popups & modales
   =============================== */

.popup,
.popupgoogle,
.popupapple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    text-align: left;
}

.popup__content {
    width: 80%;
    max-height: 90vh;
    overflow: auto;
    margin: auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #131F3B;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (min-width: 900px) {
    .popup__content {
        width: 100%;
    }
}

/* ===============================
   Boutons, textes & erreurs
   =============================== */

.icon-eye-style {
    color: #3c5b77;
    font-weight: bold;
}

.text-highlight {
    color: #3c5b77;
}

.text-end {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    padding: 0 25px;
}

.agree-error,
.terms-warning {
    display: none;
    font-weight: bold;
    font-size: 13px;
    color: red;
}

/* ===============================
   Mise en page & composants
   =============================== */

.card-body,
.custom-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(50px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    color: #131F3B;
    padding: 0.5rem;
}

/* ===============================
   Login page & layout
   =============================== */

.login-bg {
    background: url("/uploads/website/66a721e40f068.png") center/cover no-repeat;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .login-bg {
        margin-top: 60px;
    }
}

@media (min-width: 1200px) {
    .login-bg {
        margin-top: 80px;
    }
}

/* ===============================
   Composants spécifiques
   =============================== */

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    color: #131F3B;
    background-color: var(--bs-tertiary-bg, #e9ecef);
    border: none;
    border-radius: 0.375rem;
}

.nesttabs {
    background-color: #dce1e9;
    padding: 1px;
}

.nesttabs .container {
    background-color: #fff;
    padding: 12px;
}

.nesttabs a.nav-link {
    background-color: #dce1e9;
    border: 1px solid #cfd6e1;
    border-radius: 0;
    color: #000;
    z-index: 1;
}

.nesttabs a.nav-link.active {
    background-color: #fff;
    z-index: 10000;
    box-shadow: 0 18px 12px -12px rgba(226, 231, 237, 1);
    border-right-color: #fff;
}

/* ===============================
   Scrollbar personnalisée
   =============================== */

#page_scroll::-webkit-scrollbar {
    width: 10px;
}

#page_scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

#page_scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.password-container {
    position: relative;
    width: 100%;
}

#password,
#password_confirmation {
    width: 100%;
    padding-right: 35px;
    /* Space for the icon */
}

#toggle-password,
#toggle-passwordc {
    position: absolute;
    top: 50%;
    right: 10px;
    /* Adjust as needed */
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}

#toggle-password:hover {
    color: #333;
}