
.passOublie{
    margin-top: 8px;
    border: none;
    background: none;
    text-decoration: underline;
    color: #d8d8d8;
}
.passOublie:hover{
    text-decoration: underline;
    font-weight: bold;
    color: #ffffff;
}
.passOublieContent{
    max-width: 350px;
    border: 0.1px solid #ffffff75;
    background-color: #ffffff00;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 38px rgba(0, 0, 0, 0.432);
}
.modal-header{
    background-color: #1b1b1b6e;
    text-align: center;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.modal-content form{
    text-align: center;
}
.modal-body {
    box-shadow: 0 2px 4px black inset;
    margin-top: -10px;
    background-color: #fffffff1;
    border-top: 1px solrgb(255, 255, 255)000;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    -ms-border-radius: 10px 10px 0 0;
    -o-border-radius: 10px 10px 0 0;
}
.modal-body input {
    background-color: #eee;
    border: none;
    outline: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border: 1px solid #000;
}

.modal-body button{
    margin: 10px auto;
    background-color: #065721;
}

.mdp_input{
    box-shadow: 2px 2px 1px rgba(128, 128, 128, 0.13) ;
    border-radius: 2px;
    background-color: #fff;
    border: 1px solid rgba(28, 48, 34, 0.397);
}








 .failed{
    background-color: rgba(197, 193, 193, 0.315);
    backdrop-filter: blur(8px);
    border: 1px solid #ffffff;
    color: white;
    height: 190px;
    max-width: 480px;
    padding: 10px;
  }

  .failed .swal2-title{
    padding: 5px 6px !important;
  }
  .failed-bar{
    background-color: #fff;
    height: 8px;
    background: linear-gradient(to right, white, rgb(19, 66, 194));
    margin: 2px 0;
  }

  .failed h4{
    text-shadow: 1px 1px 1px black;
    padding: 0 !important; 
    margin: 0 !important;
  }
  .failed b{
    background-color: #ee0000;
    height: 20px;
    width: 20px;
    min-height: 30px !important;
    min-width: 30px !important;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 1px 1px 1px grey;
    border: 1px solid #e0e0e0e3;
  }


  /* --------------------------------OPT STYLE---------------------------- */
  .optSwal{
    background-color: rgba(197, 193, 193, 0);
    color: white;
    padding: 0px;
    text-align: center;
    width: fit-content !important;
  }
  .optSwal .swal2-html-container{
    padding: 0px !important;
    width: fit-content !important;
    text-align: center;
}

  .auth-container {
    width: 100%;
    max-width: 420px;
    background: #2727277c;
    backdrop-filter: blur(25px);
    border: 1px solid #ffffff;
    border-radius: 6px;
    /* box-shadow: var(--box-shadow); */
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-shadow :3px 3px 85px white;
}
.otp-closer{
    position: absolute;
    right: 4px;
    top: -2px;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff0000;
    transition: all ease 0.1s;
}
.otp-closer:hover{
    transform: scale(1.3);
}

.auth-header {
    padding: 16px 32px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logoFa {
    width: 50px;
    height: 50px;
    padding: 6px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, black, #239e23);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: 0.3px solid #ffffff;
}


.auth-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth-body {
    padding: 25px 32px;
}

.mfa-subtitle {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.mfa-email {
    font-weight: 600;
    color: var(--text-color);
}

.otp-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.otp-input {
    width: 52px;
    height: 60px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    transition: all 0.2s ease;
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(219, 219, 219, 0.2);
    outline: none;
}

.otp-input.filled {
    border-color: var(--primary-color);
    background-color: rgba(226, 226, 226, 0.05);
}

.verify-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.verify-btn:hover {
    background-color: var(--secondary-color);
}

.verify-btn:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

.alt-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.countdown {
    color: var(--text-muted);
}

.resend-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resend-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.resend-btn.disabled {
    color: var(--text-muted);
    pointer-events: none;
    cursor: default;
}


.status-message, #msg-error {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #fffffff6;
    display: none;
}
.status-message {
    padding: 8px 10px;
    margin: 15px 0;
}
.status-success {
    /* background-color: #38b2611a; */
    color: var(--success-color);
    border-left: 3px solid var(--success-color);
}

.status-error, #msg-error {
    /* background-color: #e53e3e1a; */
    color: var(--error-color);
    border-left: 3px solid var(--error-color);
}

.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.rotation{
    display: none;
}
.active{
    margin-left: 15px;
    display: inline-block;
    animation: 1s linear infinite rotation;
}
.rotated{
    margin-left: 5px;
    display: inline-block;
    animation: 1s linear infinite rotation;
}
@keyframes rotation {
    to {transform: rotate(360deg)}
  }

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
    40%, 60% { transform: translate3d(3px, 0, 0); }
}

.pulse {animation: pulse 0.3s ease}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .auth-container {
        max-width: 95%;
    }
    
    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 20px;
    }
    
    .auth-body, .auth-header {
        padding: 20px;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .shake, .pulse {
        animation: none;
    }
}



        /* Terms Modal Styles */
        .terms-div{ 
            opacity: 1;
        }

        .terms-content {
            max-height: 50vh;
            overflow-y: auto;
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 5px;
            background-color: #f9f9f9;
            color: #333;
        }
        
        .terms-content h4 {
            color: #1b1b1b;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        
        .terms-content p {
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .terms-footer {
            font-size: 0.8rem;
            text-align: right;
            color: #777;
            margin-top: 20px;
        }

        .terms-swal {
            z-index: 1000;
            background-color: #6161614b;
            backdrop-filter: blur(6px);
            color: white;
        }
        .terms-swal.swal2-modal {
            border: 1px solid #ffffff;
        }

        .terms-swal button{
            border: 1px solid #ffffff;
        }

        .swal2-container.terms-swal{
            padding: 1px !important;
        }
       
        .terms-content label{cursor: pointer;}
        .terms-content h4 { margin-top: 1.2rem; color: #277e3a; }
        .terms-content p { margin: 0.5rem 0; font-size: 14px; text-align: justify; }
        .download-btn {
            background-color: #277e3a;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 5px;
            font-size: 13px;
            cursor: pointer;
            margin-top: 1rem;
        }
        .download-btn:hover {
             background-color: #1e5e2c;
        }

        


        
        /* Report Form Styles */
       #reportModal textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d3e2;
            border-radius: 5px;
            resize: vertical;
            font-family: inherit;
        }
        
        #reportModal  select {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d3e2;
            border-radius: 5px;
            background-color: rgb(255, 255, 255);
            cursor: pointer;
        }
        
         #reportModal textarea:focus,  #reportModal select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
            outline: none;
        }

        
         #reportModal .form-group {
            margin-bottom: 1rem;
        }

         #reportModal .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: black;
            font-weight: 500;
        }

         #reportModal .form-group input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d3e2;
            border-radius: 5px;
            outline: none;
            transition: border-color 0.3s;
        }

        #reportModal  .form-group input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
        }

         #reportModal .btn {
            display: block;
            width: 60%;
            padding: 0.55rem;
            background-color: var(--primary-color);
            background-image: linear-gradient(to right, #181818 0%, var(--scolor)  60%);
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            margin: 0 auto;
            border: 1px solid #dbdbdbd0;
        }


        

        .modalis{
            display: none;
            position: fixed;
            bottom: 40px;
            width: 300px;
            max-height: 500px;
            height: fit-content;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            opacity: 0;
            transform: translateX(-20px);
            transition: opacity 0.3s, transform 0.3s;
            background-color: #201f1fd3;
            backdrop-filter: blur(105px);
            color:white !important;
            border: 0.1px solid rgba(255, 255, 255, 0.596);
        }

         .modalis.show {
            display: block;
            opacity: 1;
            transform: translateX(0);
        }
        

     
        .modalis ul {
            padding-left: 0.1px !important;
        }
        
        
        .modalis .header {
            background: linear-gradient(135deg, #201f1f, #0a8f27);
            color: white;
            padding: 0.4rem 1rem;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
       .modalis .header h3 {
            margin: 0;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .close-modal {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            color: red;
        }
        
        .modalis .body {
            padding: 1rem;
            padding-bottom: 4px;
            font-size: 0.9rem;
            line-height: 1.5;
            height: 90%;
            overflow-y: auto;
        }

       

        #helpModal .body{
           max-height: 400px;
           display: flex;
           align-items: center;
           justify-content: center;
           flex-direction: column;
        }
          #helpModal .body span,
          #helpModal .body small,
          #helpModal .body p
           {
            text-align: center;
            color: white;
         }

 
   