/* Base Mobile-First Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

#welcome-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #e3edf2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform-origin: top;
    transform: scaleY(1);
    font-family: 'Montserrat', sans-serif; /* apply font only here */
    overflow-x: hidden; /* only here */
}

#welcome-text {
    font-size: 3rem;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
}

#logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#welcome-logo {
    max-width: 120px;
    opacity: 0;
    transform: scale(0.8);
}

#welcome-text {
    font-size: 3rem;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}
.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    color: #2d3748;
}
.look-appointment {
    display: flex;               /* make it a flex container */
    align-items: end;         /* vertically center the button */
    width: 100%;
    height: 20vh;
}


@media (max-width: 600px) {
    #welcome-text {
        font-size: 1.8rem; /* smaller font size for mobile */
        letter-spacing: 0.03em; /* optional: reduce letter spacing a bit */
    }
    .look-appointment {
        height: 25vh;
    }

}@media (max-width: 400px) {
    #welcome-text {
        font-size: 1.5rem; /* smaller font size for mobile */
        letter-spacing: 0.03em; /* optional: reduce letter spacing a bit */
    }

}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.password-container {
    position: relative;
}

#togglePassword {
    color: black; /* Change the color to black */
    font-size: 20px; /* Adjust the icon size if needed */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.loginContent {
    height: 92.9vh;
    font-family: "Rubik", sans-serif;
    display: flex;
    background: linear-gradient(to bottom, #e3edf2, #000);
    color: #2d3748;
    flex-direction: column;
}

.right-container {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px; /* Increased gap for better spacing */
    padding: 20px; /* Added padding for mobile */
    overflow: auto;
}

.right-container__h2 {
    font-size: 8vw; /* Responsive size based on viewport width */
    text-align: center;
    margin: 0; /* Removed default margin */
}

.right-container__h2 span {
    color: #2d3748;
}

.right-container__input {
    width: 100%; /* Full width of screen with some padding */
    padding: 15px;
    font-size: 5vw; /* Larger text inside inputs */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box; /* Ensure padding doesn't break layout */
}

.right-container__input:focus {
    outline: none;
}

.right-container__label {
    font-size: 4vw; /* Larger label text */
    margin-top: 15px;
    display: block; /* Ensure labels are block-level elements */
}

.right-container__bottom-text {
    text-align: center;
    margin-top: 25px;
    font-size: 4.5vw; /* Larger font for bottom text */
    color: #2f4a34;
}

.right-container__bottom-text > strong {
    color: #fff;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-container {
    margin: 20px 0;
    font-size: 5vw; /* Larger font size for toggle */
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-box {
    appearance: none;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    position: relative;
}

.toggle-box:checked {
    background-color: #2f4a34;

}

.toggle-box:checked::after {
    transform: translateX(20px);
    transition: 0.4s ease-in-out;
}

.toggle-box::after {
    position: absolute;
    content: "";
    top: 5px;
    left: 5px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #fff;
}

/* Media Queries for Larger Devices (tablets, desktops) */
@media (min-width: 768px) {
    body {
        flex-direction: row;
    }

    .right-container {
        padding: 40px;
    }

    .right-container__h2 {
        font-size: 40px;
    }

    .right-container__input {
        width: 350px;
        padding: 18px;
        font-size: 16px;
    }

    .right-container__label {
        font-size: 18px;
    }

    .right-container__bottom-text {
        font-size: 16px;
    }

    .toggle-container {
        font-size: 18px;
    }
}

/* Media Queries for Larger Desktops */
@media (min-width: 1024px) {
    .right-container__h2 {
        font-size: 50px;
    }

    .right-container__input {
        width: 400px;
        padding: 20px;
        font-size: 18px;
    }

    .right-container__label {
        font-size: 20px;
    }

    .right-container__bottom-text {
        font-size: 18px;
    }

    .toggle-container {
        font-size: 20px;
    }
}

