/* ── ResultSearch Page Styles ── */
.re-patient-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.re-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.re-patient-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lc-secondary);
    margin: 0;
}

.re-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.re-card-header {
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #fafbff;
}

.re-card-title {
    font-size: 0.85rem;
    font-weight: 750;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.re-grid-search {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: flex-end;
}

.re-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.re-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.re-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.re-input, .re-select {
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.85rem;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.re-input:focus, .re-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: #fff;
}

.re-pill-group {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.re-pill {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.re-pill.active {
    background: #fff;
    color: #4f46e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.re-pill:hover:not(.active) {
    color: #475569;
    background: #e2e8f0;
}

.re-pill input { display: none; }

.re-btn-primary {
    background: #4f46e5;
    color: #fff !important;
    border: none;
    height: 36px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.re-btn-primary:hover {
    background: #4338ca;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.35);
}

.re-btn-secondary {
    background: #fff;
    color: #64748b;
    border: 1.5px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.re-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}