/* Base Mobile-First Styles */
* {
    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, #7a0808, #000);
    color: #fff;
    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: #7a0808;
}

.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: rgba(255, 255, 255, 0.5);
}

.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: #7a0808;
}

.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;
    }
}
