.responsive {
    max-width: 100%; /* Ensure the image never exceeds its parent container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper rendering */
    margin: 0 auto; /* Center the image horizontally within its container */
    object-fit: cover;

}

.wrapperHeader {
    position: absolute;
    top: -10px;
    left: 14px;
    width: 90%;
}

.wrapper {
    max-width: 270px;
    width: auto;
    height: 365px;
    position: absolute;
    top: 32%;
    left: 32%; 
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-controls {
    position: absolute; /* Position the controls absolutely */
    top: 0; /* Position at the top of the wrapper */
    left: 0; /* Align to the left of the wrapper */
    width: 100%; /* Full width */
}

.wrapper .slide-controls {
    position: relative;
    display: flex;
    height: 50px;
    width: 100%;
    overflow: hidden;
    margin: 30px 0 10px 0;
    justify-content: space-between;
    border: 1px solid lightgrey;
    border-radius: 15px;
}

.slide-controls .slide {
    height: 100%;
    width: 100%;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 48px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.6s ease;
}

.slide-controls label.signup {
    color: #000;
}

.slide-controls label.signin {
    color: #000;
}

.slide-controls .slider-tab {
    position: absolute;
    height: 100%;
    width: 50%;
    left: 0;
    z-index: 0;
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
}

input[type="radio"] {
    display: none;
}

#signIn {
    display: block;
}

#signUp {
    display: none;
}

.slide.login {
    /* background: -webkit-linear-gradient(left, #f0f0f0, #d9d9d9, #bfbfbf, #a6a6a6); */
    background: -webkit-linear-gradient(left, #00A5BF, #f0f0f0);
    color: #000000;
    text-align: center;
    font-weight: 200;
    font-size: 110%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.slide.signup {
    color: #000000;
    text-align: center;
    font-weight: 200;
    font-size: 110%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.google-sign-in {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #54616C;
    color: #54616C;
    text-align: left;
    font-weight: 200;
    border-radius: 99px;
    background-color: transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 74%;
    max-width: 260px;
    line-height: 24px;
    vertical-align: middle;
    padding: 0.435rem 0.8rem;
    font-size: 100%;
    margin: 17px auto auto auto;
}

.google-sign-in:hover {
    color: #0F70E6;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.login-button-img {
    margin-right: 6px;
    width: 25px;
    height: 25px;
}

.line-container {
    display: flex;
    align-items: center;
    margin: -7px auto;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 0;
}

.text-between-lines {
    margin: 0 10px;
    color: #ccc;
    font-weight: bold;
}

.text-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
    color: #ccc;
    font-weight: bold;
}

.mainFlex {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.orText {
    margin: 0 10px;
}

.lineFlex {
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

#email,
#password,
#emailSignIn,
#resetEmail,
#passwordSignIn,
#name {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 0px;
    width: 250px;
}

#password,
#passwordSignIn {
    margin-bottom: 15px;
}

.signUp {
    margin-top: 145px
}

.signIn {
    margin-top: 145px
}

.button-sign-in {
    background-color: #0F70E6;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: flex;
    margin: 7px auto;
    font-size: medium;
}

.button-sign-in:hover {
    background-color: #0c5aa7;
}

.privacy-links {
    text-align: center;
    margin-bottom: 10px;
}

.privacy-links a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
}

.privacy-links a:hover {
    text-decoration: none;
}

.acceptance-message {
    color: #757575;
    direction: ltr;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 11px;
    font-family: Arial, sans-serif;
}

.errorMsg {
    display: none;
    color: red;
    font-family: Arial, sans-serif;
    font-size: x-small;
    display: flex;
    text-align: center;
}

/* Media query for small screens (e.g., phones) */
@media (min-width: 375px) and (max-width: 430px) {
    .wrapper {
        max-width: 270px;
        width: auto;
        height: 365px;
        position: absolute;
        top: 11%;
        left: 12%; 
        background: #ffffff;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


/* Media query for tablets */
@media(min-width: 768px) and (max-width: 1370px) {
    .wrapper {
        max-width: 270px;
        width: auto;
        height: 365px;
        position: absolute;
        top: 16%;
        left: 22%; 
        background: #ffffff;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.forgot-password-link-redirect {
    font-size: 0.85em;
    color: #007BFF;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.forgot-password-link {
    font-size: 0.85em;
    color: #000000;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap; /* Optional: wrap on smaller screens */
}

.back-arrow {
    font-size: 1.5em;
    cursor: pointer;
    margin-bottom: 10px;
    color: #007BFF;
    font-weight: bold;
}
.back-arrow:hover {
    color: #0c5aa7;
}

