/* ============================================================
   build_series.css
   Series nav strip and series edit fieldset — buildlog.php
   ============================================================ */

/* ----------------------------------------------------------
   Series nav strip
   ---------------------------------------------------------- */
.series-nav {
    padding: 1rem 0;
    margin-bottom: 1.25rem;
}

.series-nav__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.series-nav__badge {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
}

.series-nav__title {
    font-size: 13px;
    font-weight: 500;
    color: #212529;
    margin: 0;
}

/* Progress bar */
.series-nav__progress-wrap {
    height: 3px;
    background: #dee2e6;
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.series-nav__progress-fill {
    height: 100%;
    background: #0d6efd;
    border-radius: 2px;
}

/* Step cards grid */
.series-nav__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.series-nav__step {
    border-radius: 8px;
    border: 0.5px solid #dee2e6;
    padding: 10px 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    transition: border-color 0.15s ease;
}

.series-nav__step:hover {
    border-color: #adb5bd;
    text-decoration: none;
}

.series-nav__step--active {
    border: 2px solid #0d6efd;
    background: rgba(13, 110, 253, 0.05);
    cursor: default;
    pointer-events: none;
}

.series-nav__step-num {
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
}

.series-nav__step--active .series-nav__step-num {
    color: #0d6efd;
}

.series-nav__step-label {
    font-size: 13px;
    font-weight: 500;
    color: #212529;
    line-height: 1.3;
}

.series-nav__step--active .series-nav__step-label {
    color: #212529;
}

.series-nav__step-you {
    font-size: 11px;
    font-weight: 500;
    color: #0d6efd;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 400px) {
    .series-nav__steps {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   Series edit fieldset — inside the owner edit form
   ---------------------------------------------------------- */
.series-edit-fieldset {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

.series-edit-fieldset legend {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 0.5rem;
    width: auto;
    color: #343a40;
}

.series-edit__hint {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}