body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}



.login-container {
    width: calc(445px + 2*48px);
    height: calc(424px + 2*56px);
    padding: 54px 48px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #17171F;
    box-sizing: border-box;
}

.reset-container {
    width: calc(445px + 2*48px);
    height: calc(344px + 2*56px);
    padding: 54px 48px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #17171F;
    box-sizing: border-box;
}

.change-password-container {
    width: calc(445px + 2*48px);
    height: calc(350px + 2*56px);
    padding: 54px 48px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #17171F;
    box-sizing: border-box;
}

.brand-logo img {
    width: 110px; 
    height: auto;
}

h2 {
    margin-top: 20px;
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(10, 29, 60, 1.0);
}

.input-group,
.checkbox-group {
    margin-bottom: 24px;
    box-sizing: border-box;
}

.input-group label, 
.checkbox-group label,
.email-text {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

.email-text {
    font-weight: 400;
    margin-bottom: 20px;
}

.input-group input, 
.password-container input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #dfe1e5;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    height: 50px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #17171F;
}

.password-container {
    display: block;
    justify-content: space-between;
    align-items: center;
}

.password-container label, 
.password-container a.forgot-password {
    display: block;
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-group label {
    margin-bottom: 0;
}



.login-btn {
    width: 100%;
    padding: 12px;
    background-image: linear-gradient(to right, #330072 0%, #4d148c  51%, #330072  100%);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Subtle shadow for depth */
    transition: background-image 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease; /* Transition for smooth effects on hover and click */
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-btn:hover {    
    background-position: right center; /* change the direction of the change here */
    color: #F5F5FA;
    text-decoration: none;
    box-shadow: 0 6px 12px 0 rgba(0,0,0,0.3); /* Slightly elevated shadow on hover */
}

.login-btn:active {
    transform: translateY(2px); /* Simulate button press */
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); /* Less shadow to give a pressed effect */
}

/* Styling for the disabled state */
.login-btn[disabled] {
    background-color: #ccc; /* grayed out */
    color: #888;
    cursor: not-allowed; /* indicating not clickable */
}

/* Hover effect for an enabled button */
.login-btn:hover:not([disabled]) {
    background-color:rgba(51,0,114,1.00);
    color: #fff;
}

.icon {
    margin-right: 8px;  /* Adjust the size of the gap as needed */
}

.subdued-text {
    color: rgba(169,169,169,0.9);
    font-weight: 200;
}

.forgot-password , .return-to-signin {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    color: rgba(51,0,114,1.00);
}

.return-to-signin {
    margin-top: 15px
}



.password-field-wrapper {
    position: relative;
}

.password-input {
    padding-right: 40px; /* To ensure the text does not overlap with the icons. Adjust this value based on the size of your icons. */
}


.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0; /* Initially hidden */
}

.password-toggle::before {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    bottom: -25px;  /* Adjust this value for the tooltip position */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333; /* Tooltip background color */
    color: #fff; /* Tooltip text color */
    padding: 5px 10px; /* Tooltip padding */
    border-radius: 4px; /* Tooltip corner rounding */
    font-size: 12px; /* Tooltip font size */
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.password-toggle:hover::before {
    display: block;
}


.hide-icon {
    display: none; /* Initially hidden */
}

.show-icon, .hide-icon {
    transform: scale(0.80);
}

.password-toggle:hover {
    opacity: 1 !important; /* full color when hovered, added !important to override inline styles */
}

.password-input:focus, .input-group input:focus {
    outline: none; 
    box-shadow: 0 0 5px rgba(51,0,114,0.3); 
    border: 1px solid rgba(51,0,114,0.3); 
}


/* Style for the placeholder of the email input */
#email::placeholder {
    color: #a0a0a0; /* Subdued gray color */
    font-style:normal; 
    opacity: 0.7; /* Make the placeholder less opaque */
    font-weight: 400;
}

.reset-message-container {
    width: calc(445px + 2*48px);
    height: calc(265px + 2*56px);
    padding: 56px 48px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: rgb(65, 69, 82);
    box-sizing: border-box;
}

.reset-message-text {
    font-weight: 700;
    font-size: 24px;
}

.reset-message-subtext {
    font-weight: 500;
    font-size: 14px;
}

.resend-link, .try-different-mail {
    text-decoration: none;
    color: rgba(51,0,114,1.00);
    cursor: pointer;
    font-weight: 700;
}

.password-change-subtext {
    font-weight: 400;
    font-size: 10px;
    font-style: italic;
}

.invalid-input {
    border: 1px solid red;
    box-shadow: 0 0 5px red;
}