/* Styles for [custom_login_form], [mdbc_forgot_password], [mdbc_reset_password]. */

.mdbc-custom-form .mdbc-error {
    background: #fdd;
    border: 1px solid #d33;
    color: #900;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 5px;
    font-weight: bold;
}

.mdbc-custom-form .mdbc-success {
    background: #e3f6e3;
    border: 1px solid #4CAF50;
    color: #1d3157;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 5px;
    font-weight: bold;
}

.mdbc-custom-form .mdbc-row {
    display: flex;
    gap: 1rem;
}

.mdbc-custom-form .mdbc-col {
    flex: 1;
}

.mdbc-custom-form .mdbc-login-form label {
    display: block;
    margin-bottom: .3rem;
    font-weight: bold;
}

.mdbc-custom-form .mdbc-login-form input {
    padding: 5px 15px;
    border: 2px solid #ccc;
    border-radius: 5px !important;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.mdbc-custom-form .mdbc-login-form input[type="text"],
.mdbc-custom-form .mdbc-login-form input[type="password"] {
    width: 100%;
    padding: 5px 15px;
    border: 2px solid #ccc;
    border-radius: 5px !important;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.mdbc-custom-form .mdbc-login-form input[type="text"]:focus,
.mdbc-custom-form .mdbc-login-form input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
}

.mdbc-custom-form .mdbc-help {
    display: block;
    margin-top: .3rem;
    font-size: 13px;
    font-weight: normal;
    color: #666;
}

.mdbc-custom-form .mdbc-button {
    background: #4CAF50;
    color: #000;
    border: none;
    padding: 3px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.mdbc-custom-form .mdbc-button:hover {
    background: #1d3157;
}

.mdbc-custom-form .mdbc-button:focus {
    background: unset;
}

.mdbc-custom-form .mdbc-forgot {
    margin-top: 1rem;
    text-align: left;
    font-weight: bold;
    color: #000;
}

.mdbc-custom-form .mdbc-forgot a {
    display: block;
    font-weight: normal;
    color: #4CAF50;
    text-decoration: none;
    margin-top: .2rem;
}

.mdbc-custom-form .mdbc-forgot a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .mdbc-custom-form .mdbc-row {
        flex-direction: column;
    }
}
