input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
	-webkit-appearance: none; 
	margin: 0;
}

#loginPage {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Lato';
}

#loginPage::before {
    background-color: #fff;
    background: url(https://static.mykaarma.com/res/global/img/login/bg.jpg) no-repeat center center;
    background-size: auto;
    opacity: 0.1;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#loginWrapper {
    background-color: #fff;
    padding: 16pt 32pt;
    -moz-box-shadow: 0 0 10px #666;
    -webkit-box-shadow: 0 0 10px #666;
    box-shadow: 0 0 10px #666;
    border-radius: 3pt;
    width: 90vw;
    max-width: 480px;
    margin: 0 auto;
}

#applicationLogo {
    height: 40px;
    width: 100%;
    background: url("https://static.mykaarma.com/res/mkblue/img/mklogo-small.svg") no-repeat center center;
    background-size: contain;
    margin-bottom: 10px;
}

.signInText {
    text-align: center;
    font-family: Lato;
    font-size: 14pt;
    color: Black;
    padding-bottom: 5px;
    border-bottom: solid thin Gray;
    margin-bottom: 20px;
}

/* Clear button for username input */
.bClear {
    position: absolute;
    display: block;
    top: 16px;
    right: 0px;
    cursor: pointer;
    height: 15px;
    width: 20px;
    margin-right: 5px;
    margin-bottom: -1px;
    background: url(https://app.mykaarma.com/images/tbreset_x_transparent.png) no-repeat center center;
    background-size: contain;
}

/* Text box styling */
.txtBox {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 1rem;
    font-family: Lato;
}


#loginForm input {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#usernameForm input[type="text"] {
    width: 100%;
    margin: 0;
    padding: 0.6rem;
    padding-right: 30px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Ensure checkbox inputs don't get full width */
#usernameForm input[type="checkbox"] {
    width: auto;
    margin: 0 6px 0 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
}

/* Keep remember username label inline with checkbox */
#remember_username_label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
}

/* Ensure remember/reset row stays on one line */
#rememberMeAndResetPassword {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Do not stretch checkboxes to full width */
#loginForm input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0 6px 0 0;
    border: none;
}

/* Keep remember-me label on one line and aligned */
#loginForm .form-check-label {
    white-space: nowrap;
    margin-bottom: 0;
}

#loginForm .form-check {
    margin-bottom: 0;
}

#loginForm label {
    display: block;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.btn {
    width: 100%;
}


.errorlabel {
    color: red;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.password-wrapper {
    position: relative;
}

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