/**
 * File Path: assets/css/mbs-admin-settings-universes.css
 * Universes tab styles -- mirrors collections tab without collection-type section; loaded when tab is active.
 * @package MyBookShowroom
 * @since   1.0.0
 */

/* ----- Tab wrapper ----- */
.mbs-tab-universes {
    max-width: 1200px;
    padding-top: 12px;
}

.mbs-tab-universes > h2 {
    margin-bottom: 8px;
}

.mbs-universe-card-list {
    margin-top: 20px;
}

/* Full-width description field. */
.mbs-universe-field-wide {
    margin-bottom: 16px;
    clear: both;
}

.mbs-universe-field-wide > textarea,
.mbs-universe-description-field {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    min-height: 68px;
}

/* ----- Reading-order section ----- */
/* Rules consolidated to mbs-admin-settings-entities.css as
   .mbs-entity-reading-order-section (P-003). */

/* ----- Banner image field (F-BNR-U) ----- */
.mbs-universe-field-banner {
    margin-bottom: 16px;
}

.mbs-universe-field-banner > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2c3338;
}

.mbs-universe-banner-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.mbs-universe-banner-img {
    max-width: 320px;
    max-height: 120px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #dcdcde;
}

.mbs-universe-banner-controls {
    display: flex;
    gap: 8px;
}

.mbs-universe-field-banner .description {
    font-size: 12px;
    color: #646970;
    margin: 0;
}

/* BNR-001 pattern: WP admin .button overrides UA [hidden]. Compound selector wins. */
.mbs-universe-banner-controls .mbs-universe-banner-remove[hidden] {
    display: none;
}
