/* =====================================================
   Client Portal Login – CSS Skin
   ===================================================== */

/* Page foundation */
body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f4f7fb, #e9eef6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

article {
    width: 100%;
}

/* Header */
.client-portal-header {
    background: #ffffff;
    border-bottom: 1px solid #e6ebf2;
}

.client-portal-header-inner {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 32px;
}

.client-portal-logo {
    max-height: 40px;
    width: auto;
    display: block;
    margin-right: 14px;
}

.client-portal-company {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    color: #212529;
}

/* Main layout */
main {
    display: flex;
    justify-content: center;
    padding: 64px 16px;
}

/* Login card */
.login-form {
    background: #ffffff;
    max-width: 420px;
    width: 100%;
    padding: 32px 36px 36px;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
    border: 1px solid #e6ebf2;
}

/* Avatar */
.login-form .avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    background: #eef2f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form .avatar img {
    width: 34px;
    height: 34px;
    opacity: 0.6;
}

/* Copy / separators */
.login-form p {
    color: #3c4556;
    font-size: 0.95rem;
    line-height: 1.4;
}

.login-form hr {
    margin: 14px 0;
    border-color: #edf1f7;
}

/* Inputs */
.login-form .form-control {
    border-radius: 9px;
    padding: 11px 12px;
    border: 1px solid #dbe2ef;
    font-size: 0.95rem;
}

.login-form .form-control:focus {
    border-color: #4c6ef5;
    box-shadow: 0 0 0 2px rgba(76,110,245,0.15);
}

/* Buttons */
.login-form .btn-primary {
    border-radius: 9px;
    background: #4c6ef5;
    border-color: #4c6ef5;
    font-weight: 500;
    padding: 10px;
}

.login-form .btn-primary:hover {
    background: #3b5bdb;
    border-color: #3b5bdb;
}

/* Footer links */
.login-form .small {
    color: #6c757d;
}

.login-form a {
    color: #4c6ef5;
}

.login-form a:hover {
    text-decoration: underline;
}

/* Remember row */
.bottom-action {
    font-size: 0.85rem;
}
