/* clauseflint-aux.css — Clauseflint auxiliary pages CSS (web0519)
   Owner: pages-aux scope
   Covers: team.html, contact.html, 404.html, login/* pages
   BEM prefix: cf-*  |  Accent: #1e3a8a  |  Secondary: #b45309
   Anti-fingerprint: 4-space indent, cf- prefix
*/

/* ============================================================ */
/* TEAM PAGE — cf-team, A-grid variant, grid-N layout           */
/* ============================================================ */
.cf-team {
    padding: 80px 0;
    background: #f8fafc;
}

.cf-team__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cf-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.cf-team__card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.cf-team__card:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.12);
}

.cf-team__avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.cf-team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cf-team__info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cf-team__name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cf-team__role {
    font-size: 14px;
    color: #1e3a8a;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 0;
}

.cf-team__bio {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin-top: 12px;
    flex: 1;
}

@media (max-width: 900px) {
    .cf-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .cf-team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================ */
/* CONTACT PAGE — cf-contact, A-split variant                   */
/* ============================================================ */
.cf-contact {
    padding: 80px 0;
    background: #f8fafc;
}

.cf-contact__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cf-contact__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.cf-contact__form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.cf-contact__info {
    padding-top: 8px;
}

.cf-contact__info-heading {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cf-contact__info-body {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cf-contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.cf-contact__detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1e3a8a;
    font-size: 16px;
}

.cf-contact__detail-text {
    display: flex;
    flex-direction: column;
}

.cf-contact__detail-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 2px;
    font-family: 'IBM Plex Mono', monospace;
}

.cf-contact__detail-value {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.5;
}

.cf-contact__detail-value a {
    color: #1e293b;
    text-decoration: none;
}

.cf-contact__detail-value a:hover {
    color: #1e3a8a;
    opacity: 1;
}

/* FORM STYLES */
.cf-form__title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.cf-form__group {
    margin-bottom: 20px;
}

.cf-form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.cf-form__input,
.cf-form__select,
.cf-form__textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: border-color 0.2s, outline 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.cf-form__input:focus,
.cf-form__select:focus,
.cf-form__textarea:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
    border-color: #1e3a8a;
}

.cf-form__input::placeholder,
.cf-form__textarea::placeholder {
    color: #94a3b8;
}

.cf-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.cf-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.cf-form__submit {
    width: 100%;
    padding: 14px;
    background: #1e3a8a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: filter 0.2s;
}

.cf-form__submit:hover {
    filter: brightness(1.12);
}

.cf-form__success {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.2);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    display: none;
}

@media (max-width: 900px) {
    .cf-contact__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cf-contact__form {
        padding: 28px 24px;
    }
}

/* ============================================================ */
/* 404 PAGE — cf-404                                            */
/* ============================================================ */
.cf-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 80px 0;
}

.cf-404__inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.cf-404__code {
    font-size: 120px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 16px;
    opacity: 0.15;
}

.cf-404__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cf-404__body {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cf-404__body a {
    color: #1e3a8a;
    font-weight: 600;
}

.cf-404__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================ */
/* LOGIN MODULE — Pattern A (subfolder), B-split-features       */
/* bg_mode: B-css-gradient, right_side_content: feature_list    */
/* Pages: login/index.html, signup.html, reset-password.html,   */
/*        verify.html, dashboard.html                           */
/* NO site nav, NO site footer, NO cookie banner                */
/* ============================================================ */

/* Auth page wrapper */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: #070d1a;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* B-css-gradient background */
.auth-page--gradient {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30, 58, 138, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(180, 83, 9, 0.10) 0%, transparent 50%),
        #070d1a;
}

/* B-split-features layout */
.auth-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.auth-form-side {
    flex: 0 0 480px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 48px;
    background: #0e1525;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-info-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 64px;
}

/* Logo above form (P1-above-form) */
.auth-logo {
    margin-bottom: 32px;
}

.auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.auth-logo img {
    height: 32px;
    width: auto;
}

.auth-logo__text {
    font-size: 18px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.01em;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Auth card */
.auth-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 40px 36px;
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    color: #f1f5f9;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.auth-card__sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Auth form */
.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: #f1f5f9;
    background: #12121e;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: border-color 0.2s, outline 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.auth-form .form-control:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
    border-color: #1e3a8a;
}

.auth-form .form-control::placeholder {
    color: #475569;
}

.auth-form select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
    background-color: #12121e;
}

.auth-form select.form-control option {
    background: #1e293b;
    color: #f1f5f9;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.auth-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1e3a8a;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-checkbox-group label {
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    margin-bottom: 0;
}

.auth-checkbox-group a {
    color: #6d8fd6;
    text-decoration: none;
}

.btn-auth {
    width: 100%;
    padding: 13px;
    background: #1e3a8a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    margin-top: 6px;
    transition: filter 0.2s;
}

.btn-auth:hover {
    filter: brightness(1.15);
}

.auth-divider {
    text-align: center;
    font-size: 12px;
    color: #475569;
    margin: 16px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.auth-divider span {
    background: #0e1525;
    padding: 0 12px;
    position: relative;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #64748b;
}

.auth-links a {
    color: #6d8fd6;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

.auth-back-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: #6d8fd6;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.auth-back-bar:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/* Auth message feedback */
.auth-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.auth-message.visible {
    display: flex;
}

.auth-message--success {
    background: rgba(21, 128, 61, 0.15);
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.2);
}

.auth-message--error {
    background: rgba(185, 28, 28, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.2);
}

/* Feature list (right side content) */
.auth-info-heading {
    font-size: 28px;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.auth-info-sub {
    font-size: 15px;
    color: rgba(241, 245, 249, 0.65);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 440px;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-features__icon {
    width: 36px;
    height: 36px;
    background: rgba(30, 58, 138, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6d8fd6;
    font-size: 14px;
}

.auth-features__text {
    display: flex;
    flex-direction: column;
}

.auth-features__title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.auth-features__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Dashboard specific */
.auth-dashboard {
    display: flex;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #070d1a;
}

.auth-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #0e1525;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.auth-sidebar__logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.auth-sidebar__logo a {
    font-size: 17px;
    font-weight: 800;
    color: #f1f5f9;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.auth-sidebar__nav {
    list-style: none;
    padding: 0 12px;
    margin: 0;
    flex: 1;
}

.auth-sidebar__nav li {
    margin-bottom: 4px;
}

.auth-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.auth-sidebar__nav a:hover,
.auth-sidebar__nav a.active {
    background: rgba(30, 58, 138, 0.15);
    color: #e2e8f0;
    opacity: 1;
}

.auth-sidebar__footer {
    padding: 16px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 16px;
}

.auth-sidebar__footer a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.auth-sidebar__footer a:hover {
    color: #94a3b8;
    opacity: 1;
}

.auth-main {
    flex: 1;
    overflow-y: auto;
    padding: 40px 40px;
}

.auth-main-header {
    margin-bottom: 40px;
}

.auth-main-header h1 {
    font-size: 26px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.auth-main-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.auth-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.auth-stat-card {
    background: #0e1525;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 24px;
}

.auth-stat-card__label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 10px;
}

.auth-stat-card__value {
    font-size: 32px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.02em;
    font-family: 'IBM Plex Mono', monospace;
}

.auth-stat-card__sub {
    font-size: 12px;
    color: #475569;
    margin-top: 6px;
}

.auth-panel {
    background: #0e1525;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 24px;
}

.auth-panel__title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-panel__empty {
    font-size: 14px;
    color: #475569;
    text-align: center;
    padding: 32px 0;
}

/* Mini footer (Pattern A: no site footer, just legal mini-footer) */
.auth-mini-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
    background: #0e1525;
    text-align: center;
}

.auth-mini-footer a {
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    margin: 0 8px;
}

.auth-mini-footer a:hover {
    color: #94a3b8;
    opacity: 1;
}

/* Responsive auth */
@media (max-width: 1024px) {
    .auth-form-side {
        flex: 0 0 420px;
        max-width: 420px;
        padding: 40px 32px;
    }

    .auth-info-side {
        padding: 48px 40px;
    }
}

@media (max-width: 768px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-form-side {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 40px 24px;
    }

    .auth-info-side {
        display: none;
    }

    .auth-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .auth-main {
        padding: 24px 20px;
    }

    .auth-sidebar {
        display: none;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-form-side {
        padding: 32px 20px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-stats-grid {
        grid-template-columns: 1fr;
    }
}
