/* ============================================================
   Subject Info — overrides โหลดหลัง new-models.css
   scoped ทั้งหมดด้วย .subject-info-tabs ไม่กระทบที่อื่น
   ============================================================ */

/* Active tab: พื้นหลังและขอบสี #1e3a5f */
.pill-tab-new.subject-info-tabs .tab-primary-new.mud-tab.mud-tab-active {
    background-color: #1e3a5f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-top: 2px solid #1e3a5f !important;
    border-left: 2px solid #1e3a5f !important;
    border-right: 2px solid #1e3a5f !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ============================================================
   SubjectInfoTabContent — subject code input layout
   ============================================================ */

.subj-code-fields {
    display: block;
    width: 100%;
}

.subj-code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    row-gap: 8px;
}

.subj-code-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.subj-code-sep {
    font-weight: 700;
    font-size: 0.95rem;
    color: #555;
    user-select: none;
    flex-shrink: 0;
}

.prefix-dropdown-wide {
    min-width: 320px !important;
}

.mud-select-input .prefix-major-hint {
    display: none;
}

.prefix-group-header {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--mud-palette-primary) !important;
    background: rgba(0, 0, 0, 0.04);
    pointer-events: none !important;
    opacity: 1 !important;
}

