@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

.google-logo {
    width: 40px;
    height: 35px;
    margin-right: 8px
}

.login-with-google-btn {
    display: flex;
    align-items: center;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 5px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    width: 270px;
}

.login-btn{
    width: 270px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #000;
}

body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    background: url("https://i.ytimg.com/vi/piOjlFrA_sk/maxresdefault.jpg");
    background-position: center;
    background-size: cover;
}

.suppli::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    background: url("/static/home/img/bg-img.jpeg");
    background-position: center;
    background-size: cover;
}

.corpor::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    background: url("/static/home/img/corpo_bg.jpeg");
    background-position: center;
    background-size: cover;
}

nav {
    position: fixed;
    border-radius: 20px;
    padding: 10px 20px;
    z-index: 1;
    background: white;
}
nav a img {
    width: 167px;
}
.benif{
    font-size: 14px;
    color: #003289;
}
.form-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 20px;
    padding: 45px;
    width: 60%;
    height: 530px;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 50px black;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media screen and (max-width: 480px) {
    .form-wrapper{
        margin-top: -100px;
        width: 50%;
        height: 445px;
    }  
}
@media screen and (max-width: 850px) and (min-width: 480px) {
    .form-wrapper{
        height: 451px;
        width: 60%;
        top: 58%;
    }  
    .form-wrapper form{
        margin: 10px 0 10px;
        width: 100%;
    }
    .login-bt{
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 1025px) and (min-width: 851px) {
    .form-wrapper{
        margin-top: -85px;
        width: 90%;
        height: 560px;
    }
}
@media screen and (max-width: 1440px) and (min-width: 1026px) {
    .form-wrapper{
        height: 457px;
    }
}

.form-wrapper h2 {
    color: #003289;
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-wrapper form {
    margin: 10px 0px 10px;
    width: 100%;
}

.form-control {
    height: 50px;
    width: 270px;
    position: relative;
    margin-bottom: 16px;
    display: flex;
}

.form-control input {
    height: 100%;
    width: 100%;
    background: white;
    border: none;
    outline: none;
    border-radius: 4px;
    color: grey;
    font-size: 1rem;
    padding: 0 20px;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.form-control input:is(:focus, :valid) {
    background: white;
    color: black;
}

.form-control label {
    position: absolute;
    left: 20px;
    top: 50% ;
    font-size: 1rem;
    pointer-events: none;
    color: black;
    transition: all 0.2s ease;
    padding: 1px 4px;
    
}

.form-control input:is(:focus, :valid)~label {
    padding: 2px 4px;
    font-size: 0.75rem;
}


.form-control input:not(:placeholder-shown)~label {
   transform: translateY(-110%);

}
form button {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    background: #164bf8;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    outline: none;
    margin: 10px 0 10px;
    cursor: pointer;
    transition: 0.1s ease;
}

form button:hover {
    background: #4772ff;
}

.form-wrapper a {
    text-decoration: none;
    color: #4154f1;
}

.form-wrapper a:hover {
    text-decoration: underline;
}

.form-wrapper :where(label, p, small, a) {
    color: #b3b3b3;
}

.form-help {
    display: flex;
    justify-content: space-between;
}

.remember-me {
    display: flex;
}

.remember-me input {
    margin-right: 5px;
    accent-color: #b3b3b3;
}

.form-help :where(label, a) {
    font-size: 0.9rem;
}

.form-wrapper p a {
    color: black;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
}

.form-wrapper small {
    display: block;
    margin-top: 15px;
    color: #b3b3b3;
}

.form-wrapper small a {
    color: #0071eb;
}

.card{
    background-color: #fff;
    border-radius: 20px;
}

.marg{
    margin-left: 92px;
}

@media screen and (max-width: 991px) and (min-width: 480px) {
    .form-control {
        width: 210px;
    }
    .login-with-google-btn {
        width: 210px;
    }
    .login-btn{
        width: 210px;
    }
}

@media screen and (max-width: 480px) and (min-width: 321px) {
    #scrolling-div{
        margin-top: 20px;
        width: 430px;
        height: 50px;
        overflow-y: scroll;
    }
    .card{
        width: 340px;
        text-align: center;
    }
    .marg{
        margin-left: 0px;
    }
    .marg1{
        margin-left: 20px;
    }
}

@media screen and (max-width: 320px) {
    #scrolling-div{
        margin-top: 20px;
        width: 430px;
        height: 50px;
        overflow-y: scroll;
    }
    .card{
        width: 300px;
        text-align: center;
    }
    .marg{
        margin-left: 0px;
    }
}

@media (max-width: 740px) {
    body::before {}

    .form-wrapper {
        padding: 20px;
        width: 90%;
        top: 76%;    }

    nav a img {
        width: 140px;
    }

    .fa-eye {
        top: 135px
    }

    .fa-eye {
        top: 135px
    }

    .social-text {
        display: none
    }
}
#eye_1 {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
@media (min-width:991px) and (max-width:1400px) {
    .form-wrapper{
        position: absolute;
    left: 50%;
    top: 55%;
    border-radius: 20px;
    padding: 30px;
    width: 389px;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 50px black;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    nav{
        position: fixed;
        border-radius: 20px;
        padding: 5px 20px;
        z-index: 1;
        background: white;
    }
    .login-with-google-btn {
        display: flex;
        align-items: center;
        background-color: white;
        color: black;
        border: 1px solid black;
        padding: 5px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 4px;
        width: 90%;
        margin-left: 18px;
    }
    .form-control {
        height: 50px;
        position: relative;
        margin-bottom: 16px;
        margin-left: 7px;
    }
    form button {
        width: 89%;
        padding: 13px 0px;
        font-size: 1rem;
        background: #164bf8;
        color: #fff;
        font-weight: 500;
        border-radius: 4px;
        border: none;
        outline: none;
        margin-left: 8px;
        cursor: pointer;
        transition: 0.1s ease;
        margin-bottom: 32px;
    }
    .login-with-google-btn {
        display: flex;
        align-items: center;
        background-color: white;
        color: black;
        border: 1px solid black;
        padding: 5px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 4px;
        width:76%;
        margin-left: 8px;
    }
    .forget-text, .sign-up, .cor, .usr{
        margin-left: -58px;
        text-align: center;
    }   
}
.star-list {
  list-style: none;
  max-width: 500px;
  padding: 0;
  background: #fff;
  border-radius: 8px;
}
.star-list li {
  position: relative;
  padding: 6px 0px 0px 36px;
  transition: background 0.3s;
}
.star-list li:last-child {
  border-bottom: none;
}
.star-list li:before {
  content: "★";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #f1c40f;
  font-size: 1.2em;
}
.star-list li:hover {
  background: #fcfcfc;
}