/* product_hub.css
 * Styling for product_hub.php's tab bar + iframe panels.
 *
 * Deliberately does NOT use theme.css's --brand-red (2026-08-25) — the
 * rest of the site now uses exactly one red (#DC1F1D, see theme.css's
 * own note), but the hub keeps its own separate shade(s) via --hub-red
 * below instead, so a future brand-red change elsewhere doesn't also
 * repaint the hub's tab bar.
 */
*{margin:0;padding:0;box-sizing:border-box}
:root{ --hub-red: #C81111; }
html,body{height:100%;font-family:'Ubuntu',Arial,sans-serif;overflow:hidden}
body{padding-top:10px;display:flex;flex-direction:column}

.hub-tabs{
    display:flex;
    align-items:center;
    gap:4px;
    background:var(--hub-red);
    padding:8px 8px 0;
    flex:0 0 auto;
}
.hub-tab-btn{
    border:0;
    background:#a80d0d;
    color:#fff;
    padding:10px 24px;
    border-radius:8px 8px 0 0;
    font-size:20px;
    font-weight:600;
    font-family:inherit;
    cursor:pointer;
    opacity:0.75;
}
.hub-tab-btn.active{background:#fff;color:var(--hub-red);opacity:1}

.hub-search-box{
    background:#fff;
    border-radius:6px;
    padding:6px 10px;
    margin-left:8px;
}
.hub-search-box input{
    border:0;
    outline:none;
    font-size:14px;
    font-family:inherit;
    width:220px;
}

.hub-back-btn{
    margin-left:auto;
    border:0;
    background:transparent;
    color:#fff;
    padding:10px 16px;
    font-weight:bold;
    font-size:24px;
    font-family:inherit;
    cursor:pointer;
    text-decoration:underline;
    display:none;
}

.hub-panel{display:none;flex:1 1 auto;min-height:0}
.hub-panel.active{display:block}
.hub-panel iframe{width:100%;height:100%;border:0;display:block}
