@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap");

/**
 * LeadConnect login page.
 * Form field names, IDs, and Materialize hooks are unchanged
 * so authentication still works the same way.
 */
:root {
    --lc-primary: #583a95;
    --lc-primary-light: #7b88d3;
    --lc-primary-dark: #3d2870;
    --lc-gradient: linear-gradient(90deg, #7b88d3 0%, #583a95 100%);
}

body.leadconnect-login {
    margin: 0;
    min-height: 100vh;
    font-family: "Nunito Sans", sans-serif;
    background: #0b0a12;
}

.lc-login-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow: hidden;
}

.lc-login-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.lc-login-glow--left {
    width: 420px;
    height: 420px;
    background: rgba(123, 136, 211, 0.35);
    top: -120px;
    left: -80px;
}

.lc-login-glow--right {
    width: 480px;
    height: 480px;
    background: rgba(88, 58, 149, 0.45);
    bottom: -160px;
    right: -100px;
}

.auth-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-wrapper .auth-box {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    max-width: 420px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.auth-wrapper #loginform {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 36px 32px;
}

#loginform .logo {
    text-align: center;
    margin-bottom: 8px;
}

#loginform .logo img,
#loginform .leadconnect-mark--full {
    width: 220px;
    max-width: 100%;
    max-height: none;
    height: auto;
}

.lc-login-kicker {
    text-align: center;
    color: #6b6480;
    font-size: 14px;
    margin: 4px 0 24px;
}

.login-form-hm .input-field input {
    height: 46px;
}

.login-form-hm .input-field label {
    padding-left: 15px;
}

.login-form-hm .input-field input:focus {
    border-bottom-color: var(--lc-primary) !important;
    box-shadow: 0 1px 0 0 var(--lc-primary) !important;
}

.login-form-hm .input-field input:focus + label,
.login-form-hm .input-field label.active {
    color: var(--lc-primary) !important;
}

.invalid-feedback {
    display: block;
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
}

.login-btn,
.login-btn-span {
    position: relative;
}

.login-btn-span {
    width: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.login-btn.btn-large,
.login-form-hm .login-btn {
    background: var(--lc-gradient) !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    box-shadow: 0 10px 24px rgba(88, 58, 149, 0.35);
}

.login-btn:hover,
.btn-large:hover {
    background: linear-gradient(90deg, #6f7cc9 0%, #4a2f80 100%) !important;
    box-shadow: 0 12px 28px rgba(88, 58, 149, 0.45);
}

.auth-wrapper #recoverform {
    display: none;
    padding: 40px 36px 32px;
}

.auth-wrapper .auth-box .logo {
    text-align: center;
    margin-bottom: 20px;
}

.lc-login-footer {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.preloader .loader__label {
    color: #c5c0e0;
}

.loader__figure {
    border-color: #7b88d3;
}

@media (max-width: 767px) {
    .auth-wrapper #loginform {
        padding: 32px 24px 24px;
    }

    #loginform .logo img {
        width: 180px;
    }
}
