.sign{
    background: url("../images/hero-bg.jpg") center/cover no-repeat;
}

.popup {
  width: 80%;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  margin: 130px 0 110px; 
  margin-left: 10%;
}


.popup .box {
    display: flex;
}

.box .details {
    width: 100%;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.signup .details {
    padding: 0 20px;
    background: url("../images/signup-img.jpg");
    background-position: center;
    background-size: cover;
    width: 40% !important;
}

.sign-input{
    flex: 0 0 40% !important; 
    margin-right: 2%;
    box-sizing: border-box; 
}

#signup{
    color: black;
    margin: 20px;
}
.box h2 {
    text-align: center;
    margin-bottom: 29px;
    color: white !important;
}
.form-content h2{
    color: black !important;
}
form{
    margin: 0 12px;
}
form .input-jgh {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 40px;
}

.input-jgh input {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 0.95rem;
    padding: 10PX 10px;
    border: 1px solid #717171;
    border-radius: 3px;
}

.input-jgh select {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 0.95rem;
    padding: 10PX 10px;
    border: 1px solid #717171;
    border-radius: 3px;
}

.input-jgh input:focus {
    border: 1px solid #1b39bd;
}

.input-jgh label {
    position: absolute;
    left: 15px;
    transform: translateY(-50%);
    color: #4a4646;
    pointer-events: none;
    transition: 0.2s ease;
    margin-top: -15px;
}

.input-jgh input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

.input-jgh input:is(:focus, :valid)~label {
    transform: translateY(-70%);
    color: #1878f5;
    font-size: 1rem;
}

.box a {
    color: #00bcd4;
    text-decoration: none;
}

.box a:hover {
    text-decoration: underline;
}

form :where(.forgot-pass-link, .policy-text) {
    display: inline-flex;
    margin-top: 13px;
    font-size: 0.95rem;
}

.sign-btn {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    margin: 25px 0;
    background: #00bcd4;
    transition: 0.2s ease;
    margin-left: 13px;
}

form button:hover {
    background: #0097a7;
}

.form-content .bottom-link {
    margin: 0 12px;
    text-align: start;
}


.popup.show-signup .signup {
    display: flex;
}

.signup .policy-text {
    display: flex;
    margin-top: 14px;
    align-items: center;
}

.signup .policy-text input {
    width: 14px;
    height: 14px;
    margin-right: 7px;
}


@media (max-width: 888px) {
    .sign-input{
        flex: 0 0 90% !important; 
    }
    .popup {
        width: 90% !important;
        margin-left: 20px !important;
    }
    .popup .box {
        justify-content: center
    }
    

    .input-jgh{
        width: 100% !important;
    }

    .box .details {
        display: none;
    }

    .box .form-content {
        width: 100%;
        /* padding: 30px 20px; */
    }
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 20px; 
    margin-bottom: 20px; 
    width: 45vw;
    margin: 10px;
}

/* Mobile responsiveness for form input fields */
@media (max-width: 888px) {
    .form-row{
        flex-direction: column; 
        width: 100%; 
        margin: 0; 
    }

    .sign-btn{
        flex-direction: column; 
        width: 100%;
        margin: 0; 
        /* margin-left: 20px; */
    }

    .policy-text{  
        width: 110%; 
        margin: 10px; 
        margin-left: 20px;
    }

    .bottom-link{
        width: 110%;
        margin: 10px;
        margin-left: 60px;
    }
}