/* Payer adjudication portal — HealthFirst / insurer look */

.payer-body {
    margin: 0;
    padding: 0;
    background: #eef1f5;
    font-family: "Segoe UI", Frutiger, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    min-height: 100vh;
}

.payer-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top bar: insurer branding */
.payer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0c3d5c 0%, #0a2d44 100%);
    color: #fff;
    padding: 0 24px;
    height: 52px;
    flex-shrink: 0;
    border-bottom: 3px solid #0d7ea4;
}

.payer-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payer-logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.payer-logo-accent {
    color: #5ec4e8;
    font-weight: 400;
}

.payer-portal-name {
    font-size: 13px;
    color: #9ec5d8;
    font-weight: 400;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.payer-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #b8d4e3;
}

.payer-user {
    font-weight: 500;
    color: #fff;
}

/* Main layout: sidebar + content */
.payer-main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.payer-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #1a4a66;
    color: #e8f4f8;
    padding: 16px 0;
}

.payer-nav-section {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7eb8d0;
    padding: 8px 16px;
    margin-top: 12px;
}

.payer-nav-section:first-child {
    margin-top: 0;
}

.payer-nav-item {
    display: block;
    padding: 10px 16px;
    color: #c5e0eb;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.payer-nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.payer-nav-item-active {
    background: rgba(13, 126, 164, 0.35);
    color: #fff;
    font-weight: 500;
    border-left-color: #5ec4e8;
}

/* Content area */
.payer-content {
    flex: 1 1 0%;
    min-width: 0;
    overflow: auto;
    padding: 24px 32px 32px;
    background: #eef1f5;
}

.payer-page-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    color: #0c3d5c;
}

.payer-page-subtitle {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #5a6c7d;
}

/* Request card: work-queue style */
.payer-request-card {
    background: #fff;
    border: 1px solid #d0dae4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.payer-request-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
    border-bottom: 1px solid #e2e8f0;
}

.payer-request-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0c3d5c;
}

.payer-request-card-body {
    padding: 20px;
}

.payer-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.payer-detail-item {
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.payer-detail-item label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5a6c7d;
    margin-bottom: 4px;
}

.payer-detail-item .value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

.payer-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payer-status-badge.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.payer-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.payer-status-badge.channel {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Clinical data block */
.payer-clinical-block {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    border-left: 4px solid #0d7ea4;
}

.payer-clinical-block .question {
    margin: 0 0 4px 0;
    font-size: 12px;
    color: #0c3d5c;
    font-weight: 600;
}

.payer-clinical-block .answer {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1a1a1a;
}

.payer-clinical-block .answer:last-child {
    margin-bottom: 0;
}

.payer-clinical-block em {
    font-size: 12px;
    color: #5a6c7d;
}

/* Value proposition card */
.payer-value-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 24px;
}

.payer-value-card h2 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #065f46;
    font-weight: 600;
}

.payer-value-card p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.55;
    color: #047857;
}

.payer-value-card p:last-child {
    margin-bottom: 0;
}

.payer-value-card strong {
    color: #064e3b;
}

/* Timeline / source indicator */
.payer-source-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #eff6ff;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #1e40af;
}

.payer-source-row .icon {
    font-size: 18px;
}
