/* LeadPointe Login / Website Layout Styles
   Brand colors: #435071 (primary blue), #3F4C6C (dark blue), #B01D18 (accent red) */

body {
    font-family: 'Segoe UI', Roboto, Tahoma, sans-serif;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background: #fff;
}

/* ═══════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════ */
#top-bar {
    background: #435071;
    color: #fff;
    font-size: 14px;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    gap: 4px;
}

.top-btn {
    color: #fff;
    text-decoration: none;
    padding: 6px 20px;
    background: #555;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

.top-btn:hover {
    background: #B01D18;
    color: #fff;
}

/* ═══════════════════════════════════════
   MENU BAR (Logo + Navigation)
   ═══════════════════════════════════════ */
#menu-bar {
    background: #EEEEEE;
    border-bottom: 1px solid #DFDFDF;
}

.menu-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.menu-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
}

.logo-text-nav {
    font-size: 36px;
    font-weight: 700;
    color: #435071;
    letter-spacing: 1px;
}

.logo-accent {
    font-weight: 300;
}

.menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.menu-nav li a {
    display: block;
    padding: 10px 18px;
    color: #435071;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.15s;
}

.menu-nav li a:hover {
    color: #435071;
}

.menu-nav li a .bi-house-door-fill {
    font-size: 18px;
}

/* ═══════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════ */
#main-wrap {
    background: #FFFFFF;
    border-top: 8px solid #DFDFDF;
    min-height: 400px;
    padding: 60px 20px 80px;
}

#login-wrap {
    width: 460px;
    margin: 0 auto;
}

/* Login panel */
#login-container {
    background: #F1F1F1;
    padding: 12px;
    border: 1px solid #bfbfbf;
    box-shadow: 0 4px 2px -2px #808080;
}

/* Inner white box */
.login-box {
    background: #fff;
    border: 1px solid #c6c6c6;
    padding: 32px 24px 20px;
}

/* Form elements */
.login-label {
    font-size: 15px;
    color: #505050;
    display: block;
    margin-bottom: 4px;
}

.login-input-group {
    display: flex;
    margin-bottom: 16px;
}

.login-input-icon {
    background: #eee;
    border: 2px solid #DFDFDF;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #767676;
    font-size: 18px;
}

.login-input {
    font-family: inherit;
    width: 100%;
    color: #767676;
    font-size: 16px;
    height: 46px;
    border: 2px solid #DFDFDF;
    background: #fff;
    padding: 0 12px;
    outline: none;
}

.login-input:focus {
    border-color: #30557F;
}

.login-input.is-invalid {
    border-color: #B01D18;
}

/* Login button */
.btn-login {
    display: block;
    width: 100%;
    color: #f7f7f7;
    font-weight: 400;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    background: #3F4C6C;
    border: 1px solid #2e374e;
    margin-top: 8px;
}

.btn-login:hover {
    color: #f7f7f7;
    opacity: .9;
}

/* Error alert */
.login-alert {
    color: #8a1612;
    font-size: .9em;
    text-align: center;
    background: #FCF8E3;
    padding: 8px;
    margin-bottom: 12px;
}

/* Bottom links */
.login-opts {
    color: #505050;
    font-size: 14px;
}

.login-opts a {
    color: #49609d;
    text-decoration: none;
}

.login-opts a:hover {
    color: #000;
}

/* Client picker cards */
.client-card {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 8px;
    background: #fff;
    border: 2px solid #DFDFDF;
    color: #333;
    text-decoration: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.client-card:hover {
    border-color: #435071;
    color: #435071;
}

.client-card .client-role {
    font-size: 13px;
    color: #888;
    margin-left: 8px;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer-wrap {
    background: #333;
    color: #aaa;
    border-top: 15px solid #575757;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
}

.footer-logo-img {
    height: 100px;
}

.footer-contact {
    text-align: center;
}

.footer-phone {
    font-size: 24px;
    font-style: italic;
    color: #ccc;
    margin-bottom: 8px;
}

.footer-contact p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-social {
    text-align: right;
}

.footer-follow-img {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.social-icons a {
    text-decoration: none;
    transition: opacity 0.15s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons img {
    height: 42px;
    width: 42px;
}

.footer-copyright {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #4a4a4a;
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .menu-bar-inner {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .menu-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-nav li a {
        padding: 8px 12px;
        font-size: 14px;
    }

    #login-wrap {
        width: 100%;
        padding: 0 12px;
    }

    #login-container {
        border: none;
        box-shadow: none;
    }

    #main-wrap {
        padding: 30px 10px 50px;
    }

    .login-input-icon {
        display: none;
    }

    .btn-login {
        font-size: 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .menu-nav li a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .logo-text-nav {
        font-size: 28px;
    }
}
