/*
 * FELGO – Theme My Login 7 Compatibility
 * Developers Sidebar
 */

/* Login form */
.sidebar .tml-login form {
    margin: 0;
}

/* Social login buttons */
.sidebar .tml-login .felgo-social-login {
    margin-bottom: 0;
}

.sidebar .tml-login .felgo-social-login .social-signup {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Original social login icon alignment */
.sidebar .tml-login .social-signup i {
    display: inline-block;
    width: 30px;
    text-align: left;
}

/* Separator between social login and password login */
.sidebar .tml-login .grey-border-bottom {
    margin-bottom: 30px !important;
}

/* Username and password fields */
.sidebar .tml-login .tml-log-wrap,
.sidebar .tml-login .tml-pwd-wrap {
    margin: 0 0 12px;
}

.sidebar .tml-login .tml-label {
    display: block;
    margin-bottom: 3px;
}

.sidebar .tml-login input.tml-field {
    width: 100%;
    box-sizing: border-box;
}

/* Hide the TML 7 password visibility toggle */
.sidebar .tml-login .tml-toggle-pwd {
    display: none !important;
}

/* Hide Remember Me – persistent login is handled in PHP */
.sidebar .tml-login .tml-rememberme-wrap {
    display: none !important;
}

/* Login button */
.sidebar .tml-login .tml-submit-wrap {
    margin: 25px 0 0;
    padding: 0;
}

.sidebar .tml-login .tml-submit-wrap .tml-button {
    display: inline-block;
    width: auto;
    background: #237bc0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 24px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

/* Sign Up and Forgot Password links */
.sidebar .tml-login .tml-action-links {
    display: block;
    float: right;
    margin: -52px 10px 0 0;
    padding: 0;
    list-style: none;
}

.sidebar .tml-login .tml-action-links li {
    display: block;
    margin: 0 0 5px;
    padding: 0;
    list-style: none;
}

.sidebar .tml-login .tml-action-links a {
    white-space: nowrap;
}

/* Clear floats */
.sidebar .tml-login::after {
    content: "";
    display: table;
    clear: both;
}

/* TML 7 – original FELGO login error styles */
.sidebar .tml-login .tml-alerts {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0;
    padding: 0;
}

.sidebar .tml-login .tml-alerts:empty {
    display: none;
}

.sidebar .tml-login .tml-errors {
    display: block;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 5px;
    padding: 6px 10px;
    list-style: none;
    background-color: #f5f6f7;
    border-left: 3px solid #ed2529;
}

.sidebar .tml-login .tml-errors .tml-error {
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #ed2529;
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: normal;
}

.sidebar .tml-login .tml-errors .tml-error strong {
    font-weight: 700;
}


/* Spacing adjustments – Developers login */
.sidebar .tml-login .tml-alerts:not(:empty) {
    margin-bottom: 15px;
}

.sidebar .tml-login .tml-label {
    margin-bottom: 10px;
}
