/* ==========================================================================
   Bridgehead — Admin Styles
   ========================================================================== */

:root {
    --bh-purple:       #7b68ee;
    --bh-purple-light: #eeecfd;
    --bh-green:        #46b450;
    --bh-red:          #dc3232;
    --bh-yellow:       #d39000;
    --bh-border:       #c3c4c7;
    --bh-bg:           #f0f0f1;
    --bh-text:         #1d2327;
    --bh-muted:        #50575e;
}

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.bh-pro-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 20px;
}

.bh-pro-header h1 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Tab navigation
   -------------------------------------------------------------------------- */

.bh-pro-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--bh-border);
    margin-bottom: 20px;
}

.bh-pro-tab-nav a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bh-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}

.bh-pro-tab-nav a:hover {
    color: var(--bh-purple);
}

.bh-pro-tab-nav a.bh-tab-active {
    color: var(--bh-purple);
    border-bottom-color: var(--bh-purple);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Tab panels
   -------------------------------------------------------------------------- */

.bh-pro-tab-panel {
    display: none;
}

.bh-pro-tab-panel.bh-panel-active {
    display: block;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.bh-pro-card {
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 16px;
    position: relative;
}

.bh-pro-card h3 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--bh-border);
    color: var(--bh-muted);
}

/* --------------------------------------------------------------------------
   Status badges
   -------------------------------------------------------------------------- */

.bh-pro-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.bh-pro-status::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bh-pro-status--active   { background: #d7f0dc; color: #1e7e34; }
.bh-pro-status--active::before   { background: #1e7e34; }

.bh-pro-status--inactive  { background: #fff3cd; color: var(--bh-yellow); }
.bh-pro-status--inactive::before { background: var(--bh-yellow); }

.bh-pro-status--invalid   { background: #f8d7da; color: var(--bh-red); }
.bh-pro-status--invalid::before  { background: var(--bh-red); }

/* --------------------------------------------------------------------------
   Info grid (label: value rows)
   -------------------------------------------------------------------------- */

.bh-pro-info-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    row-gap: 14px;
    column-gap: 16px;
    align-items: center;
}

.bh-pro-info-grid dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--bh-muted);
}

.bh-pro-info-grid dd {
    margin: 0;
    font-size: 13px;
    color: var(--bh-text);
}

/* --------------------------------------------------------------------------
   Form actions row
   -------------------------------------------------------------------------- */

.bh-pro-form-actions {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid var(--bh-border);
}

/* --------------------------------------------------------------------------
   Notice bar (inline)
   -------------------------------------------------------------------------- */

.bh-pro-notice-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bh-purple-light);
    border-left: 3px solid var(--bh-purple);
    border-radius: 0 3px 3px 0;
    font-size: 13px;
    color: var(--bh-text);
    margin-bottom: 16px;
}

.bh-pro-notice-inline a {
    color: var(--bh-purple);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Instructions tab — numbered steps
   -------------------------------------------------------------------------- */

.bh-pro-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bh-pro-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bh-pro-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bh-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.bh-pro-step-body {
    flex: 1;
}

.bh-pro-step-body strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--bh-text);
}

.bh-pro-step-body p {
    margin: 0;
    font-size: 13px;
    color: var(--bh-muted);
    line-height: 1.55;
}
