:root {
    color: #435164;
    background: #f7f7fc;
    font-family: "Public Sans", Arial, sans-serif;
}

body {
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
}

.fci-summary-page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 1.6rem 3.5rem 1.25rem;
    overflow: hidden;
    background: #f7f7fc;
}

.fci-summary-page::before,
.fci-summary-page::after {
    position: absolute;
    z-index: 0;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.fci-summary-page::before {
    top: 7.5rem;
    left: -14rem;
    background: rgba(105, 108, 255, 0.045);
}

.fci-summary-page::after {
    right: -10rem;
    bottom: -10rem;
    background: rgba(113, 221, 55, 0.025);
}

.fci-summary-site-header,
.fci-summary-content,
.fci-summary-footer {
    position: relative;
    z-index: 1;
}

.fci-summary-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fci-summary-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #435164;
}

.fci-summary-brand-mark {
    display: inline-flex;
    align-items: center;
    width: 1.95rem;
}

.fci-summary-brand strong,
.fci-summary-brand small {
    display: block;
}

.fci-summary-brand strong {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.fci-summary-brand small,
.fci-summary-footer {
    color: #8592a3;
    font-size: 0.7rem;
}

.fci-summary-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.85rem;
    border-color: #d9dcff;
    color: #696cff;
    background: #fff;
    box-shadow: 0 0.125rem 0.35rem rgba(67, 89, 113, 0.08);
    font-size: 0.76rem;
    font-weight: 600;
}

.fci-summary-login-link:hover,
.fci-summary-login-link:focus {
    border-color: #696cff;
    color: #5f61e6;
    background: #fff;
}

.fci-summary-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.25rem 1rem 2rem;
}

.fci-summary-eyebrow {
    margin: 0 0 1.25rem;
    color: #696cff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fci-summary-card {
    width: min(100%, 49.5rem);
    overflow: hidden;
    border: 1px solid #e7e7f0;
    border-left: 0.3rem solid #696cff;
    border-radius: 0.5rem;
    box-shadow: 0 0.75rem 2rem rgba(67, 89, 113, 0.1);
}

.fci-directory-content {
    justify-content: flex-start;
    padding-top: 3.5rem;
}

.fci-directory-card {
    width: min(100%, 72rem);
    overflow: hidden;
    border: 1px solid #e7e7f0;
    border-left: 0.3rem solid #696cff;
    border-radius: 0.5rem;
    box-shadow: 0 0.75rem 2rem rgba(67, 89, 113, 0.1);
}

.fci-directory-card-header,
.fci-directory-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
}

.fci-directory-card-header {
    border-bottom: 1px solid #eef0f4;
}

.fci-directory-card-header h1 {
    margin: 0;
    color: #435164;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fci-directory-card-header p {
    margin: 0.35rem 0 0;
    color: #8592a3;
    font-size: 0.78rem;
}

.fci-directory-count {
    flex: 0 0 auto;
    color: #696cff;
    font-size: 0.74rem;
    font-weight: 700;
}

.fci-directory-filter-form {
    padding: 1.1rem 1.35rem 1.25rem;
    border-bottom: 1px solid #eef0f4;
    background: #fcfcfe;
}

.fci-directory-filter-form .form-label {
    margin-bottom: 0.4rem;
    color: #697a8d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.fci-directory-filter-form .form-control,
.fci-directory-filter-form .form-select,
.fci-directory-filter-form .input-group-text {
    border-color: #e1e4ea;
    font-size: 0.82rem;
}

.fci-directory-filter-form .input-group-text {
    color: #8592a3;
    background: #fff;
}

.fci-directory-filter-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.35rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.fci-directory-table th,
.fci-directory-table td {
    padding: 1rem 1.35rem;
    border-bottom-color: #eef0f4;
    vertical-align: middle;
}

.fci-directory-table th {
    color: #8592a3;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fci-directory-table td {
    color: #435164;
    font-size: 0.86rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fci-directory-empty {
    padding: 2.25rem 1.35rem !important;
    color: #8592a3 !important;
    font-weight: 400 !important;
    text-align: center;
}

.fci-directory-card-footer {
    justify-content: center;
    border-top: 1px solid #eef0f4;
}

.fci-directory-card-footer .page-link {
    min-width: 2rem;
    color: #696cff;
    border-color: #e7e7f0;
    text-align: center;
}

.fci-directory-card-footer .page-item.active .page-link {
    border-color: #696cff;
    background: #696cff;
}

.fci-summary-card-header,
.fci-summary-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem;
}

.fci-summary-card-header {
    border-bottom: 1px solid #eef0f4;
}

.fci-summary-card-header h1 {
    margin: 0;
    color: #435164;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fci-summary-table {
    table-layout: fixed;
}

.fci-summary-table > :not(caption) > * > * {
    padding: 1.05rem 1.35rem;
    border-bottom-color: #eef0f4;
    vertical-align: middle;
}

.fci-summary-table th {
    width: 35%;
    color: #8592a3;
    background: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.fci-summary-table td {
    color: #435164;
    font-size: 0.94rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fci-summary-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.fci-summary-status i {
    font-size: 1rem;
}

.fci-summary-status--success {
    color: #3e9d25;
    background: #e8f8e2;
}

.fci-summary-status--primary {
    color: #696cff;
    background: #e9e9ff;
}

.fci-summary-status--warning {
    color: #a76d00;
    background: #fff3d5;
}

.fci-summary-status--danger {
    color: #d13f4f;
    background: #fde7e9;
}

.fci-summary-status--secondary {
    color: #697a8d;
    background: #edf0f2;
}

.fci-summary-card-footer {
    justify-content: center;
    padding: 1.25rem;
    border-top: 1px solid #eef0f4;
}

.fci-summary-details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 0.25rem 0.65rem rgba(105, 108, 255, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
}

.fci-summary-footer {
    padding-top: 0.5rem;
    text-align: center;
}

@media (max-width: 576px) {
    .fci-summary-page {
        padding: 1rem;
    }

    .fci-summary-site-header {
        align-items: flex-start;
    }

    .fci-summary-brand strong {
        font-size: 1.05rem;
    }

    .fci-summary-brand small {
        font-size: 0.6rem;
    }

    .fci-summary-login-link {
        padding: 0.4rem 0.55rem;
        font-size: 0.68rem;
    }

    .fci-summary-content {
        justify-content: flex-start;
        padding: 5rem 0 1.5rem;
    }

    .fci-directory-content {
        padding-top: 2.5rem;
    }

    .fci-directory-card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.1rem;
    }

    .fci-directory-filter-form {
        padding: 1rem 1.1rem 1.1rem;
    }

    .fci-directory-filter-actions .btn {
        flex: 1;
    }

    .fci-directory-table th,
    .fci-directory-table td {
        padding: 0.8rem 1rem;
    }

    .fci-summary-card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.1rem;
    }

    .fci-summary-card-header h1 {
        font-size: 0.95rem;
    }

    .fci-summary-table,
    .fci-summary-table tbody,
    .fci-summary-table tr,
    .fci-summary-table th,
    .fci-summary-table td {
        display: block;
        width: 100%;
    }

    .fci-summary-table tr {
        padding: 0.85rem 1.1rem;
        border-bottom: 1px solid #eef0f4;
    }

    .fci-summary-table > :not(caption) > * > * {
        padding: 0;
        border: 0;
    }

    .fci-summary-table th {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
    }

    .fci-summary-table td {
        font-size: 0.86rem;
    }
}
