@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,800;0,900;1,400;1,500;1,600;1,700;1,800&display=swap");
* {
    border: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    font-family: "Red Hat Display", sans-serif;
    --blue-primary-color: #008cb3;
    --gray-primary-color: #ffffff;
}

.root {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background: var(--blue-primary-color);
}

.leftSide {
    width: 100%;
    max-width: 40%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    background: var(--blue-primary-color);
}

.rightSide {
    flex: 1;
    min-height: 100vh;
    background: var(--gray-primary-color);
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.biglogo {
    width: 100px;
    filter: brightness(0) invert(1);
}

.leftSide h3 {
    font-size: 45px;
    font-weight: bolder;
    color: white;
}

.leftSide h5 {
    font-size: 30px;
    font-weight: 500;
    color: white;
}

.content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.small-logo-container {
    width: 100%;
    text-align: center;
    display: none;
}

.logo {
    width: 60px;
}

.anpa-logo-container {
    display: flex;
    align-items: center;
}

    .anpa-logo-container img {
        width: 60px;
        height: 60px;
    }

.rightSide .content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.rightSide .content p {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

/* ? Added description styling */
.description {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.signin-form {
    max-width: 430px;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 18px 15px;
        border-radius: 5px;
        border: 1px solid #ccc;
        outline-color: var(--blue-primary-color);
    }

        .form-group input::placeholder,
        .form-group select::placeholder {
            font-family: "Red Hat Display", sans-serif;
            font-size: 16px;
            font-weight: 500;
        }

.toggle-password svg {
    width: 20px;
    height: 20px;
    color: #6c757d;
}

.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 40px; /* space for the icon */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.d-none {
    display: none !important;
}

.forgot-password {
    font-weight: 500;
    color: var(--blue-primary-color);
    text-decoration: none;
}

#signup-link {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

    #signup-link a {
        font-weight: 500;
        color: var(--blue-primary-color);
        text-decoration: none;
    }

.signin-form .signin-button {
    max-width: 430px;
    width: 100%;
    padding: 15px;
    background-color: var(--blue-primary-color);
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.9;
}

    .signin-form .signin-button:hover {
        opacity: 1;
    }

/* ? Added remember login checkbox styles */
.remember-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .remember-login input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

.auth-social-media {
    width: 100%;
}

.title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
}

.social-buttons-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    margin: 5px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid var(--blue-primary-color);
    color: var(--blue-primary-color);
}

    .social-button:hover {
        opacity: 0.9;
    }

    .social-button i {
        margin-right: 5px;
        font-size: 23px;
    }

.error-message {
    color: red;
    font-size: 14px !important;
    font-weight: 500;
    margin-top: 10px;
    font-style: italic;
}

.wrapper {
    display: inline-flex;
    background: #fff;
    height: 100px;
    width: 400px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    padding: 20px 15px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
}

    .wrapper .option {
        background: #fff;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        margin: 0 10px;
        border-radius: 5px;
        cursor: pointer;
        padding: 0 10px;
        border: 2px solid lightgrey;
        transition: all 0.3s ease;
    }

        .wrapper .option .dot {
            height: 20px;
            width: 20px;
            background: #d9d9d9;
            border-radius: 50%;
            position: relative;
        }

            .wrapper .option .dot::before {
                position: absolute;
                content: "";
                top: 4px;
                left: 4px;
                width: 12px;
                height: 12px;
                background: #0069d9;
                border-radius: 50%;
                opacity: 0;
                transform: scale(1.5);
                transition: all 0.3s ease;
            }

input[type="radio"] {
    display: none;
}

#professional:checked:checked ~ .professional,
#user:checked:checked ~ .user {
    border-color: #0069d9;
    background: #0069d9;
}

    #option-1:checked:checked ~ .professional .dot,
    #user:checked:checked ~ .user .dot {
        background: #fff;
    }

        #professional:checked:checked ~ .professional .dot::before,
        #user:checked:checked ~ .user .dot::before {
            opacity: 1;
            transform: scale(1);
        }

.wrapper .option span {
    font-size: 20px;
    color: #808080;
}

#professional:checked:checked ~ .professional span,
#user:checked:checked ~ .user span {
    color: #fff;
}

@media screen and (max-width: 768px) {
    /* For mid-size screens and smaller */
    .root {
        background-color: white;
    }

    .leftSide {
        display: none;
    }

    .rightSide .content {
        padding: 10%;
    }

        .rightSide .content h2 {
            font-size: 28px;
        }

        .rightSide .content p {
            font-size: 22px;
        }

    .rightSide .small-logo-container {
        display: block;
    }
}

