.medaid-login-outer {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    box-sizing: border-box;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.medaid-login-outer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.medaid-login-container {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.medaid-login-card {
    min-height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    display: block;
}

.medaid-login-logo {
    text-align: left;
    margin-bottom: 24px;
}

.medaid-login-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.medaid-login-logo-text {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.medaid-login-card .login-main {
    width: 100%;
    max-width: 450px;
    margin: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    padding: 40px;
    box-shadow: 0 0 37px rgba(8, 21, 66, 0.08);
}

.medaid-login-card .theme-form h4 {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
    font-weight: 500 !important;
    color: #2c323f;
    margin-bottom: 5px;
}

.medaid-login-card .theme-form p {
    margin-bottom: 20px;
}

.medaid-login-card .theme-form .form-group {
    margin-bottom: 16px;
}

.medaid-login-card .theme-form .form-group .link {
    display: inline-block;
    margin-top: 10px;
}

.medaid-login-card .theme-form .col-form-label {
    margin-bottom: 8px;
}

.medaid-login-card .theme-form .form-input {
    position: relative;
}

.medaid-login-card .theme-form .form-input .form-control {
    padding-right: 44px;
}

.medaid-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.medaid-password-toggle:hover {
    color: #2c323f;
}

.medaid-password-toggle .medaid-eye-closed {
    display: none;
}

.medaid-password-toggle.is-visible .medaid-eye-open {
    display: none;
}

.medaid-password-toggle.is-visible .medaid-eye-closed {
    display: inline-block;
}

.medaid-login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.medaid-login-remember .form-check-input {
    margin-top: 0;
}

.medaid-login-submit {
    width: 100%;
    margin-top: 24px;
}

.medaid-login-card .login-main .btn-primary,
.medaid-login-card .login-main .medaid-btn-primary {
    background: var(--medaid-primary) !important;
    border-color: var(--medaid-primary) !important;
    color: #fff !important;
}

.medaid-login-card .login-main .btn-primary:hover,
.medaid-login-card .login-main .medaid-btn-primary:hover {
    background: var(--medaid-primary-hover) !important;
    border-color: var(--medaid-primary-hover) !important;
    color: #fff !important;
}

@media (max-width: 575px) {
    .medaid-login-card .login-main {
        padding: 28px 22px;
    }
}
