@import url("https://fonts.googleapis.com/css2?family=Muli:wght@400;500;600;700;800&display=swap");

:root {
    --pf-navy: #0b1b4a;
    --pf-navy-mid: #16306b;
    --pf-ink: #2e365a;
    --pf-orange: #f26522;
    --pf-orange-deep: #d45312;
    --pf-teal: #14a3b8;
    --pf-lime: #7dce4a;
    --pf-text: #1c2744;
    --pf-muted: #5c6b86;
    --pf-line: #e3e8f2;
    --pf-bg: #f3f6fb;
}

* { box-sizing: border-box; }

html, body.pf-login {
    margin: 0;
    min-height: 100%;
    font-family: "Muli", "Segoe UI", sans-serif;
    color: var(--pf-text);
    background: var(--pf-ink);
}

.pf-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.pf-login-brand {
    flex: 1.15 1 52%;
    position: relative;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(7, 16, 48, 0.88) 0%, rgba(11, 36, 92, 0.72) 48%, rgba(12, 70, 110, 0.55) 100%),
        url("../images/banner.jpg") center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 48px 32px;
    overflow: hidden;
}

.pf-login-brand::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 101, 34, 0.45), transparent 68%);
    pointer-events: none;
}

.pf-login-brand__logos {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pf-login-brand__logo {
    width: min(360px, 70%);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.pf-login-brand__alliance {
    height: 58px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pf-login-brand__copy {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin-top: 28px;
}

.pf-login-kicker {
    margin: 0 0 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #9ad7ff;
}

.pf-login-brand h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
}

.pf-login-brand h1 span {
    color: #8ee08a;
}

.pf-login-brand__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.pf-login-facts {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.pf-login-facts li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.pf-login-facts i {
    color: var(--pf-orange);
    margin-right: 6px;
}

.pf-login-panel {
    flex: 0.85 1 420px;
    background: var(--pf-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}

.pf-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(11, 27, 74, 0.12);
    padding: 36px 32px 28px;
    border-top: 5px solid var(--pf-orange);
}

.pf-login-card h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--pf-navy);
}

.pf-login-card__sub {
    margin: 8px 0 22px;
    color: var(--pf-muted);
    font-size: 14px;
    line-height: 1.5;
}

.pf-login-card form {
    margin: 0;
}

.pf-field {
    display: flex;
    align-items: center;
    border: 1px solid var(--pf-line);
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 14px;
    overflow: hidden;
}

.pf-field:focus-within {
    border-color: var(--pf-teal);
    box-shadow: 0 0 0 3px rgba(20, 163, 184, 0.15);
    background: #fff;
}

.pf-field__icon {
    width: 46px;
    text-align: center;
    color: var(--pf-navy-mid);
    font-size: 15px;
    flex-shrink: 0;
}

.pf-login input.form-control,
.pf-login input[type="text"],
.pf-login input[type="password"] {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    height: 48px;
    padding: 0 14px 0 0;
    font-family: inherit;
    font-size: 15px;
    color: var(--pf-text);
    outline: none;
    box-shadow: none !important;
    width: 100%;
}

.pf-login .regerrmsg {
    display: block;
    color: #c62828;
    font-size: 12px;
    margin: -8px 0 10px 4px;
}

.pf-login-msg {
    display: block;
    margin: -4px 0 14px 4px;
    font-size: 13px;
    font-weight: 700;
    color: #c62828;
    min-height: 1.2em;
}

.pf-login-links {
    text-align: right;
    margin: 2px 0 18px;
}

.pf-login-links a {
    color: var(--pf-orange-deep);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pf-login-links a:hover {
    text-decoration: underline;
}

.pf-login-actions {
    display: flex;
    gap: 10px;
}

.pf-login .custom-btn,
.pf-login a.custom-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 12px;
    border: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.pf-login .btn-6 {
    background: linear-gradient(180deg, #ff7a33 0%, var(--pf-orange) 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(242, 101, 34, 0.35);
}

.pf-login .btn-6:hover {
    background: var(--pf-orange-deep);
}

.pf-login a.btn-11 {
    background: #fff;
    color: var(--pf-navy);
    border: 2px solid var(--pf-navy);
}

.pf-login a.btn-11:hover {
    background: var(--pf-navy);
    color: #fff;
}

.pf-login-foot {
    margin: 22px 0 0;
    font-size: 12px;
    color: var(--pf-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .pf-login-shell {
        flex-direction: column;
    }

    .pf-login-brand {
        min-height: 320px;
        padding: 24px 20px;
    }

    .pf-login-brand h1 {
        font-size: 32px;
    }

    .pf-login-panel {
        padding: 20px 16px 32px;
    }

    .pf-login-card {
        padding: 26px 18px 22px;
    }
}
