/* ================================ Printer Directory (Nav-Tabs Sidebar Version) ================================ */

.cc-printer-directory {
    --cc-printer-blue: #002f5f;
    --cc-printer-text: #222;
    --cc-printer-muted: #555;
    --cc-printer-border: #e5e7eb;
    --cc-printer-hover-bg: #f3f6fa;
    --cc-printer-soft-bg: #f9fafb;
    --cc-printer-white: #fff;
    margin: 30px 0;
}

/* --- Outer shape: this row IS the rounded rectangle. Both columns sit --- */
/* --- flush inside it (no gutter), and overflow:hidden clips their      --- */
/* --- corners to follow the row's rounding — only at the outer edges.   --- */

.cc-printer-directory .row {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid var(--cc-printer-border);
    border-radius: 10px;
    overflow: hidden;
}

.cc-printer-directory .col-4,
.cc-printer-directory .col-8 {
    padding-left: 0;
    padding-right: 0;
}

/* --- Left column: printer title list (styled like your accordion "summary" bars) --- */

.cc-printer-directory .col-4 {
    border-right: 1px solid var(--cc-printer-border); /* the straight divider line */
}

.cc-printer-directory .nav-tabs {
    border-bottom: none; /* remove Bootstrap's default horizontal-tabs underline */
    flex-wrap: nowrap;
    height: 100%;
}

.cc-printer-directory .nav-tabs .nav-link {
    position: relative;
    display: block;
    padding: 18px 20px;
    border: none;
    border-bottom: 1px solid var(--cc-printer-border);
    background: #fff;
    color: var(--cc-printer-text);
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.cc-printer-directory .nav-tabs .nav-link:last-child {
    border-bottom: none;
}

.cc-printer-directory .nav-tabs .nav-link:hover,
.cc-printer-directory .nav-tabs .nav-link:focus {
    background: var(--cc-printer-hover-bg);
    outline: none;
}

.cc-printer-directory .nav-tabs .nav-link:focus {
    box-shadow: inset 0 0 0 3px rgba(0, 47, 95, 0.18);
}

/* Active tab gets the same left-border "opened" treatment your accordion used */
.cc-printer-directory .nav-tabs .nav-link.active {
    background: var(--cc-printer-hover-bg);
    border-left: 4px solid var(--cc-printer-blue);
    padding-left: 16px;
    color: var(--cc-printer-blue);
}

/* --- Right column: description / capabilities panel (styled like your accordion card body) --- */

.cc-printer-directory .tab-content {
    background: var(--cc-printer-white);
    padding: 22px;
    height: 100%;
}

.cc-printer-directory .tab-pane p,
.cc-printer-directory .tab-pane li {
    color: #333;
    line-height: 1.7;
}

.cc-printer-directory .tab-pane p:last-child,
.cc-printer-directory .tab-pane ul:last-child {
    margin-bottom: 0;
}

.cc-printer-directory .tab-pane ul {
    padding-left: 22px;
}

/* Turn the "Description:" / "What it Can Do:" labels into the same uppercase
   blue headers your accordion body used for <h3> */
.cc-printer-directory .tab-pane p > strong {
    display: block;
    margin-bottom: 8px;
    color: var(--cc-printer-blue);
    font-size: 1rem;
    font-weight: 600;
   /* text-transform: uppercase;*/
    letter-spacing: 0.03em;
}

.cc-printer-directory .tab-pane p:not(:first-child) > strong {
    margin-top: 4px;
}

/* --- Badge (e.g. "Most Popular" flag on a tab title) --- */

.cc-printer-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e7f2ff;
    color: #0055a5;
    font-size: 0.8rem;
    font-weight: 600;
    vertical-align: middle;
}

/* Optional: a little more breathing room on larger screens */
@media (min-width: 768px) {
    .cc-printer-directory .tab-content {
        padding: 24px 28px;
    }
}