/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Inter';
    background-color: #F2F6FF;
}

/* Navbar (Logo Section) */
.navbar-left {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    gap: 35px;
    width: 100%;
    z-index: 10;
    position: sticky;
    top: 0;
    padding: 17px;
}

.logo {
    max-width: 120px;
    max-height: 70px;
    width: auto;
    height: auto;
    margin-left: 10px;
}

/* Split Layout */
.container {
    display: flex;
    height: 100vh;
}

/* Left Section: Navbar and Form */
.left-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
    padding: 0px;
    overflow: scroll;
}

.left-section::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
}

.form-container {
    padding: 40px;
    width: 100%;
    margin-top: 40px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for scale */
}

h1 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Add space below each label */
.label {
    margin-bottom: 10px;
    display: block;
    /* Ensures the label is a block element */
}

label {
    color: black;
}

/* To also add space for the error message */
.input-group {
    margin-bottom: 20px;
    /* Adjust the space between each input group */
}

p {
    color: #A1A5B7;
    margin-bottom: 40px;
}

/* Input Fields */
.input-group {
    margin-bottom: 20px;
    /* Gap between inputs */
}

.custom-input {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: 1px solid #a1a5b74b;
    font-size: 16px;
}

/* Password Input Styles */
.password-input {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #A1A5B7;
}

/* Error Message Styles */
.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #a1a5b74b;
    border-radius: 4px;
}

.custom-checkbox:hover input~.checkmark {
    background-color: #f8f8f8;
}

.custom-checkbox input:checked~.checkmark {
    background-color: white;
    border: 2px solid #EA5E20;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #EA5E20;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me-text {
    vertical-align: middle;
    color: #A1A5B7 !important;
}

.forgot-password {
    color: #FF0000;
    text-decoration: none;
    float: right;
    font-size: 0.9rem;
}

/* Button Styles */
.custom-login-btn {
    background-color: #FFE1D4;
    color: #ea5d207e;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    /* Space above the button */
}

.custom-login-btn:hover {
    background-color: #f2a97f;
}

/* Signup Link Styles */
.custom-signup {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #A1A5B7
}

.signup-link {
    color: #EA5E20;
    margin-left: 5px;
    text-decoration: underline;
}

/* Right Section: Image */
.right-section {
    flex: 1;
    position: relative;
    height: 100%;
    /* Make sure it takes the full height */
    overflow: hidden;
    /* Prevent scrolling on the right section */
}

.img-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

input::placeholder {
    color: #a1a5b7;
    /* Change this to your desired color */
}

/* Hide Edge password reveal icon */
input[type="password"]::-ms-reveal {
    display: none;
}

/* Hide Edge clear icon (just in case) */
input[type="password"]::-ms-clear {
    display: none;
}

/* Prevent unwanted browser UI */
input[type="password"] {
    appearance: none;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        width: 100%;
    }

    .right-section {
        display: none;
    }

    .form-container {
        max-width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .navbar-left {
        padding: 10px;
    }

    .custom-signup {
        justify-content: center;
        align-items: center;
    }

    label {
        font-size: 14px;
    }

    .custom-login-btn {
        padding: 10px;
    }

    .custom-signup {
        font-size: 14px;
    }

    .custom-input {
        font-size: 14px;
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 8px;
    }

    .error-message {
        font-size: 0.8rem;
    }

    .form-container {
        max-width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .navbar-left {
        padding: 10px;
    }

    .custom-signup {
        justify-content: center;
        align-items: center;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 3px;
    }

    p {

        font-size: 14px;
        margin-bottom: 16px;

    }

    .requirement-content span {
        font-size: 14px;
    }

    #icon-lowercase,
    #icon-uppercase,
    #icon-special,
    #icon-numbers {
        font-size: 0.4rem;
    }

    input[type="checkbox"] {
        transform: translateY(20%) scale(1);
    }

    .checkmark {
        height: 18px;
        width: 18px;
    }

    .checkmark:after {
        left: 4px;
        top: 0px;
        width: 4px;
        height: 8px;
    }

    .custom-checkbox input:checked~.checkmark:after {
        height: 8px;
        width: 4px;
        left: 4px;
    }

    .custom-checkbox {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
        margin-bottom: 3px;
    }

    p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .navbar-left {
        margin-bottom: -20px;
        height: 64px;
    }

    label {
        font-size: 14px;
    }

    .custom-login-btn {
        padding: 10px;
    }

    .custom-signup {
        font-size: 14px;
    }

    .custom-input {
        font-size: 14px;
    }

    .error-message {
        font-size: 0.8rem;
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 8px;
    }

    .input-group {
        margin-bottom: 16px;
    }

    input[type="checkbox"] {
        transform: translateY(20%) scale(1) !important;
    }

    .checkmark {
        height: 16px;
        width: 16px;
        transform: translateY(10%);
    }

    .checkmark:after {
        left: 3px;
        top: 0px;
        width: 3px;
        height: 6px;
    }

    .custom-checkbox input:checked~.checkmark:after {
        height: 6.5px;
        width: 3px;
        left: 3px;
    }

    .custom-checkbox {
        padding-left: 20px;
    }

}

@media (min-width: 769px) and (max-width: 1919px) {
    h1 {
        font-size: 28px;
        /* Significantly increase the font size for the main heading */
        margin-top: -35px;
        margin-bottom: 3px;
    }

    p {
        font-size: 14px;
        /* Increase paragraph font size */
        margin-bottom: 15px;
    }

    label {
        font-size: 14px;
    }

    .custom-login-btn {
        padding: 10px;
    }

    .custom-signup {
        font-size: 14px;
    }

    .custom-input {
        font-size: 14px;
    }

    .error-message {
        font-size: 0.8rem;
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 20px;
    }

    .requirement-content span {
        font-size: 14px;
    }

    #icon-lowercase,
    #icon-uppercase,
    #icon-special,
    #icon-numbers {
        font-size: 0.4rem;
    }

    .custom-input::placeholder {
        /* Increase the font size of the placeholder text */
        padding-left: 5px;
        /* Adjust this value to move the placeholder right */
    }

    input[type="checkbox"] {
        transform: translateY(20%) scale(1) !important;
        /* Make the checkbox larger */
        margin-right: 5px;
        /* Add space between the checkbox and label */
    }

    .checkmark {
        height: 16px;
        width: 16px;
        transform: translateY(10%);
    }

    .checkmark:after {
        left: 4px;
        top: 0px;
        width: 4px;
        height: 8px;
    }

    .custom-checkbox input:checked~.checkmark:after {
        height: 8px;
        width: 2px;
        left: 4px;
    }

    .custom-checkbox {
        padding-left: 25px;
    }
}

/* Media Query for Very Large Screens (above 1920px) */
@media (min-width: 1920px) {
    h1 {
        font-size: 4rem;
        /* Significantly increase the font size for the main heading */
    }

    p {
        font-size: 1.6rem;
        /* Increase paragraph font size */
    }

    .custom-input {
        padding: 20px;
        /* Increase padding for input fields */
        font-size: 20px;
        /* Increase font size of input fields */
        border-radius: 40px;
        /* Make the input fields even more rounded */
    }

    /* Increase the size of the input placeholder */
    .custom-input::placeholder {
        font-size: 1.8rem;
        /* Increase the font size of the placeholder text */
        padding-left: 10px;
        /* Adjust this value to move the placeholder right */
        transform: translateY(12%);
    }

    .custom-login-btn {
        padding: 25px;
        /* Increase button padding */
        font-size: 24px;
        /* Increase button font size */
        border-radius: 40px;
        /* Make the button more rounded */
    }

    .error-message {
        font-size: 1.4rem;
        /* Increase error message font size */
    }

    .forgot-password,
    .signup-link,
    .custom-signup span,
    label {
        font-size: 2rem;
        /* Increase the font size of both links */
    }

    /* Increase the checkbox size and "Remember Me" label size */
    input[type="checkbox"] {
        transform: translateY(-20%) scale(2) !important;
        /* Make the checkbox larger */
        margin-right: 10px;
        /* Add space between the checkbox and label */
    }

    /* Center-align "Remember Me" checkbox and label */
    .remember-me-container {
        display: flex;
        align-items: center;
        margin-top: 20px;
        /* Add space above the checkbox */
        gap: 20px;
    }

    .navbar-left {
        padding: 30px 50px;
        /* Increase navbar padding */
        height: 160px;
    }

    .logo {
        max-width: 300px;
        max-height: 700px;
        /* Increase logo size */
        padding: 75px;
        padding-left: 0px;
    }

    .form-container {
        padding: 60px;
        /* Increase the padding around the form container */
    }

    .input-group {
        margin-bottom: 30px;
        /* Increase space between input groups */
    }

    .password-toggle {
        font-size: 2rem;
        /* Increase the size of the password toggle icon */
        transform: translateY(8%);
    }

    .custom-signup {
        margin-top: 30px;
        /* Increase the space above the sign-up section */
    }

    .checkmark {
        height: 30px;
        width: 30px;
        top: 9px;
        border-radius: 10px;
    }

    .checkmark:after {
        left: 4px;
        top: 50px;
        width: 4px;
        height: 8px;
    }

    .custom-checkbox input:checked~.checkmark:after {
        height: 15px;
        width: 5px;
        left: 7px;
        border-width: 0 4px 4px 0;
    }

    .custom-checkbox {
        padding-left: 50px;
    }

    .custom-checkbox input:checked~.checkmark {
        border: 4px solid #EA5E20;
    }
}

@media (min-height:700px) {
    .img-overlay {
        height: 120%;
        object-fit: cover;
    }
}