.page-user-login {
   img{
   opacity: 1;
}
 .img-fluid {
  border-radius: 30px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
 input#edit-submit {
  background: linear-gradient(181.57deg, #09244B 1.33%, #183866 98.67%);
  width: 100%; /* pour s'adapter sur mobile - sinon mets 481px si fixe */
  height: 50px;
  border-radius: 10px;
  border: none;
  color: white;
  font-weight: 600;
  padding: 8px 20px;
  opacity: 1;
  transition: background 0.3s ease;
  margin-top:30px;
}
 input#edit-submit:hover {
  background: linear-gradient(181.57deg, #0c2f5d 1.33%, #1e4b88 98.67%);
  cursor: pointer;
}
form label {
  display: inline-block;
margin-top: 10px;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  vertical-align: middle;
  opacity: 1;
  margin-bottom: 0.5rem; /* espace avec le champ */
}
 input {
  width: 100%;
  height: 45px;
  background: rgba(255, 255, 255, 1);
  border: 2px solid rgba(243, 243, 243, 1);
  border-radius: 5px;
  padding: 0.375rem 0.75rem; /* standard Bootstrap spacing */
  font-size: 1rem;
  opacity: 1;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
input:focus {
  border-color: #183866;
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(24, 56, 102, 0.25);
}


@media (max-width: 767.98px) {
  .col-md-6 {
    padding: 2rem;
  }
}.js-form-item.form-item {
    display: grid;
}
div#block-bourse-primary-local-tasks {
display: none;
}

.dropdown-menu {
  border-radius: 12px;
  min-width: 160px;
}

.dropdown-item {
  font-size: 16px;
  padding: 6px 12px;
}
    .dropdown-item:hover {
        color: #f06522 !important;
        font-weight: 700;
    }

    h2 {
font-weight: 700;
font-style: Bold;
font-size: 32px;
line-height: 37px;
letter-spacing: -3%;
text-align: center;

    }
    p {
        font-family: Helvetica;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 23px;
letter-spacing: 1%;
text-align: center;

    }
    form#user-login-form, form#user-pass {
    padding: 130px;
}
.lien-reset {
color: rgba(6, 12, 67, 1);
font-size: 14px;
text-align: center;
}


.password-wrapper {
  position: relative;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 40px; /* espace pour le bouton œil */
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.password-wrapper .toggle-password svg {
  width: 24px;
  height: 24px;
  stroke: #09244B;
}

.custom-error-text {
  color: rgba(255, 0, 0, 1);;
  font-weight: bold;
}
.user-pass p {
  display: none;
}

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideInDown 0.5s ease-out;
    padding: 50px 0;
}

.popup-header {
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-title {
    margin: auto;
    color: var(--Blue-text, rgba(9, 36, 75, 1));
    font-weight: 700;
    font-style: Bold;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;

}

.popup-close {
    background: none;
    border: none;
    color: rgb(92, 92, 92);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    opacity: 1;
}

.popup-body {
    color: var(--Blue-text, rgba(9, 36, 75, 1));
    font-weight: 400;
    font-size: 16px;

}

.countdown {
    color: var(--Blue-text, rgba(9, 36, 75, 1));
    text-align: center;
    font-size: 16px;
    margin: auto;
}

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

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

}