/* ═══════════════════════════════════════════════════════════════════════════
   Realms Construction – Frontend Styles
   Matches the Modern Medieval dashboard aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

.rc-construction {
    --rc-accent: #8b6914;
    --rc-accent-hover: #a47d1a;
    --rc-accent-subtle: rgba(139, 105, 20, 0.08);
    --rc-text: #3a3428;
    --rc-text-sec: #7a7164;
    --rc-text-dim: #a09888;
    --rc-bg-card: #ffffff;
    --rc-bg-warm: #faf8f4;
    --rc-border: #d6cfc3;
    --rc-border-light: #e8e2d8;
    --rc-red: #9c3a3a;
    --rc-red-bg: rgba(156, 58, 58, 0.06);
    --rc-green: #4a7a3a;
    --rc-green-bg: rgba(74, 122, 58, 0.06);
    --rc-radius: 6px;
    --rc-shadow-sm: 0 1px 2px rgba(58, 52, 40, 0.06);
    --rc-shadow-md: 0 2px 8px rgba(58, 52, 40, 0.08);
    --rc-font-display: 'Cormorant Garamond', 'Georgia', serif;
    --rc-font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

    font-family: var(--rc-font-body);
    font-size: 14px;
    color: var(--rc-text);
}

/* ── Resource Summary Bar ───────────────────────────────────────────────── */

.rc-resources-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--rc-bg-card);
    border: 1px solid var(--rc-border-light);
    border-radius: var(--rc-radius);
    margin-bottom: 20px;
}

.rc-res-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rc-text-dim);
    white-space: nowrap;
}

.rc-res-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rc-res-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--rc-bg-warm);
    border: 1px solid var(--rc-border-light);
    border-radius: 4px;
    font-size: 13px;
}

.rc-res-icon {
    display: flex;
    align-items: center;
    color: var(--rc-accent);
}

.rc-res-icon svg {
    stroke: var(--rc-accent);
}

.rc-res-value {
    font-family: var(--rc-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--rc-text);
}

.rc-res-type {
    font-size: 10px;
    font-weight: 500;
    color: var(--rc-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Building Cards Grid ────────────────────────────────────────────────── */

.rc-building-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.rc-card {
    background: var(--rc-bg-card);
    border: 1px solid var(--rc-border-light);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rc-card:hover {
    border-color: var(--rc-border);
    box-shadow: var(--rc-shadow-md);
}

.rc-card-unaffordable {
    opacity: 0.7;
}

.rc-card-maxed {
    opacity: 0.55;
}

/* Card header */
.rc-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rc-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-accent-subtle);
    border: 1px solid var(--rc-border-light);
    border-radius: var(--rc-radius);
    color: var(--rc-accent);
    flex-shrink: 0;
}

.rc-card-icon svg {
    stroke: var(--rc-accent);
    fill: none;
}

.rc-card-title-area {
    flex: 1;
    min-width: 0;
}

.rc-card-title {
    font-family: var(--rc-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--rc-text);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.rc-card-count {
    font-size: 12px;
    color: var(--rc-text-dim);
    margin-top: 2px;
    display: block;
}

.rc-card-count strong {
    color: var(--rc-text-sec);
    font-weight: 600;
}

/* Description */
.rc-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--rc-text-sec);
    margin: 0;
}

/* Cost chips */
.rc-card-costs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rc-cost {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    background: var(--rc-bg-warm);
    border: 1px solid var(--rc-border-light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rc-text);
}

.rc-cost-icon {
    display: flex;
    align-items: center;
}

.rc-cost-icon svg {
    stroke: var(--rc-text-sec);
    fill: none;
    width: 12px;
    height: 12px;
}

.rc-cost-short {
    background: var(--rc-red-bg);
    border-color: rgba(156, 58, 58, 0.15);
    color: var(--rc-red);
}

.rc-cost-short .rc-cost-icon svg {
    stroke: var(--rc-red);
}

/* Workers meta */
.rc-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Build button */
.rc-card-action {
    margin-top: auto;
    padding-top: 4px;
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 16px;
    border: none;
    border-radius: var(--rc-radius);
    font-family: var(--rc-font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.rc-btn svg {
    fill: none;
    stroke: currentColor;
    width: 14px;
    height: 14px;
}

.rc-btn-build {
    background: var(--rc-accent);
    color: #fff;
}

.rc-btn-build:hover {
    background: var(--rc-accent-hover);
    box-shadow: 0 2px 6px rgba(139, 105, 20, 0.25);
    transform: translateY(-1px);
}

.rc-btn-build:active {
    transform: translateY(0);
    box-shadow: none;
}

.rc-btn-disabled {
    background: var(--rc-bg-warm);
    color: var(--rc-text-dim);
    border: 1px solid var(--rc-border-light);
    cursor: not-allowed;
}

.rc-btn-building {
    background: var(--rc-accent-subtle);
    color: var(--rc-accent);
    border: 1px solid rgba(139, 105, 20, 0.2);
    cursor: wait;
}

.rc-btn-success {
    background: var(--rc-green-bg);
    color: var(--rc-green);
    border: 1px solid rgba(74, 122, 58, 0.2);
}

.rc-btn-error {
    background: var(--rc-red-bg);
    color: var(--rc-red);
    border: 1px solid rgba(156, 58, 58, 0.15);
}

/* Toast notification */
.rc-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--rc-text);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--rc-radius);
    font-family: var(--rc-font-body);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
    pointer-events: none;
}

.rc-toast.rc-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.rc-toast-error {
    background: var(--rc-red);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media screen and (max-width: 600px) {
    .rc-resources-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .rc-building-grid {
        grid-template-columns: 1fr;
    }
    .rc-card {
        padding: 16px;
    }
}

/* ── Category Sections ──────────────────────────────────────────────────── */

.rc-category-section {
    margin-bottom: 28px;
}

.rc-category-title {
    font-family: var(--rc-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--rc-text);
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rc-border-light);
    letter-spacing: 0.02em;
}

/* ── Active Construction Panel ──────────────────────────────────────────── */

.rc-active-builds {
    background: var(--rc-accent-subtle);
    border: 1px solid rgba(139, 105, 20, 0.15);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.rc-active-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rc-accent);
    margin-bottom: 10px;
}

.rc-active-label svg {
    stroke: var(--rc-accent);
}

.rc-active-item {
    background: var(--rc-bg-card);
    border: 1px solid var(--rc-border-light);
    border-radius: var(--rc-radius);
    padding: 10px 14px;
    margin-bottom: 8px;
}

.rc-active-item:last-child {
    margin-bottom: 0;
}

.rc-active-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.rc-active-info strong {
    font-family: var(--rc-font-display);
    font-size: 14px;
    color: var(--rc-text);
}

.rc-active-detail {
    font-size: 12px;
    color: var(--rc-text-dim);
}

.rc-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--rc-bg-warm);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--rc-border-light);
}

.rc-progress-fill {
    height: 100%;
    background: var(--rc-accent);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* ── Peasant Selector ───────────────────────────────────────────────────── */

.rc-peasant-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 4px;
}

.rc-peasant-label {
    font-size: 12px;
    color: var(--rc-text-sec);
    white-space: nowrap;
}

.rc-peasant-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--rc-border);
    border-radius: 4px;
    overflow: hidden;
}

.rc-peasant-minus,
.rc-peasant-plus {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--rc-bg-warm);
    color: var(--rc-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.rc-peasant-minus:hover,
.rc-peasant-plus:hover {
    background: var(--rc-border-light);
}

.rc-peasant-value {
    width: 32px;
    text-align: center;
    font-family: var(--rc-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--rc-text);
    border-left: 1px solid var(--rc-border-light);
    border-right: 1px solid var(--rc-border-light);
    line-height: 28px;
}

.rc-peasant-eta {
    font-size: 12px;
    font-weight: 600;
    color: var(--rc-accent);
    white-space: nowrap;
}

/* ── Labor meta in cards ────────────────────────────────────────────────── */

.rc-meta-labor {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--rc-text-dim);
}

.rc-meta-labor svg {
    stroke: var(--rc-text-dim);
    fill: none;
    width: 13px;
    height: 13px;
}

/* ── Category Accordion ─────────────────────────────────────────────────── */

.rc-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: var(--rc-bg-card);
    border: 1px solid var(--rc-border-light);
    border-radius: var(--rc-radius);
    cursor: pointer;
    font-family: var(--rc-font-body);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.rc-category-toggle:hover {
    background: var(--rc-bg-warm);
    border-color: var(--rc-border);
    box-shadow: var(--rc-shadow-sm);
}

.rc-category-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rc-category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--rc-accent);
    transition: transform 0.25s ease;
}

.rc-category-arrow svg {
    stroke: var(--rc-accent);
    width: 14px;
    height: 14px;
}

.rc-category-open .rc-category-arrow {
    transform: rotate(45deg);
}

.rc-category-toggle-label {
    font-family: var(--rc-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--rc-text);
    letter-spacing: -0.01em;
}

.rc-category-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--rc-text-dim);
    padding: 2px 10px;
    background: var(--rc-bg-warm);
    border: 1px solid var(--rc-border-light);
    border-radius: 12px;
}

.rc-category-panel {
    padding-top: 12px;
}

.rc-category-section {
    margin-bottom: 12px;
}

/* Override the old h3 title since we replaced it */
.rc-category-title {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Realms Construction – Grouped Active Builds
   Append to or merge into construction-style.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Build Group Container ──────────────────────────────────────────────── */

.rc-build-group {
    background: var(--rd-bg-card, #ffffff);
    border: 1px solid var(--rd-border-light, #e8e2d8);
    border-radius: var(--rd-radius, 6px);
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.rc-build-group:last-child {
    margin-bottom: 0;
}

.rc-build-group:hover {
    border-color: var(--rd-accent-muted, #c4a84f);
}

/* ── Group Summary (the clickable collapsed row) ────────────────────────── */

.rc-group-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--rd-font-body, 'DM Sans', sans-serif);
    font-size: 13px;
    color: var(--rd-text, #3a3428);
    text-align: left;
    transition: background 0.15s ease;
    line-height: 1.4;
}

.rc-group-summary:hover {
    background: var(--rd-accent-subtle, rgba(139, 105, 20, 0.08));
}

.rc-group-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rc-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--rd-accent-subtle, rgba(139, 105, 20, 0.08));
    border-radius: var(--rd-radius, 6px);
    flex-shrink: 0;
}

.rc-group-icon svg {
    stroke: var(--rd-accent, #8b6914);
}

.rc-group-name {
    font-family: var(--rd-font-display, 'Cormorant Garamond', serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--rd-text, #3a3428);
    white-space: nowrap;
}

.rc-group-qty {
    font-family: var(--rd-font-body, 'DM Sans', sans-serif);
    font-size: 12px;
    font-weight: 600;
    color: var(--rd-accent, #8b6914);
    background: var(--rd-accent-subtle, rgba(139, 105, 20, 0.08));
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ── Group Meta (peasants · fraction · ETA) ─────────────────────────────── */

.rc-group-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--rd-text-secondary, #7a7164);
    min-width: 0;
}

.rc-group-peasants,
.rc-group-fraction {
    white-space: nowrap;
}

.rc-group-separator {
    color: var(--rd-text-tertiary, #a09888);
    font-size: 10px;
}

.rc-group-eta {
    white-space: nowrap;
    color: var(--rd-accent, #8b6914);
    font-weight: 500;
}

/* ── Chevron / expand indicator ─────────────────────────────────────────── */

.rc-group-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--rd-text-tertiary, #a09888);
    transition: transform 0.2s ease, color 0.2s ease;
}

.rc-group-chevron svg {
    stroke: currentColor;
}

.rc-group-summary.rc-group-open .rc-group-chevron {
    transform: rotate(45deg);
    color: var(--rd-accent, #8b6914);
}

/* ── Group Detail Panel (expanded table) ────────────────────────────────── */

.rc-group-detail {
    border-top: 1px solid var(--rd-border-light, #e8e2d8);
    background: var(--rd-bg-card-alt, #faf8f4);
    padding: 0;
}

/* ── Detail Table ───────────────────────────────────────────────────────── */

.rc-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--rd-font-body, 'DM Sans', sans-serif);
    font-size: 12px;
}

.rc-detail-table thead th {
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rd-text-tertiary, #a09888);
    border-bottom: 1px solid var(--rd-border-light, #e8e2d8);
    text-align: left;
    white-space: nowrap;
}

.rc-detail-table tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--rd-border-light, #e8e2d8);
    vertical-align: middle;
    color: var(--rd-text, #3a3428);
}

.rc-detail-table tbody tr:last-child td {
    border-bottom: none;
}

.rc-detail-table tbody tr:hover {
    background: rgba(139, 105, 20, 0.03);
}

.rc-detail-num {
    width: 32px;
    font-weight: 600;
    color: var(--rd-text-tertiary, #a09888);
    text-align: center;
}

.rc-detail-started,
.rc-detail-peasants {
    white-space: nowrap;
}

.rc-detail-peasants {
    text-align: center;
    font-weight: 600;
}

/* ── Mini progress bar (inside the detail table) ────────────────────────── */

.rc-detail-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.rc-detail-pct {
    font-size: 11px;
    font-weight: 600;
    color: var(--rd-text-secondary, #7a7164);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

.rc-mini-bar {
    flex: 1;
    height: 4px;
    background: var(--rd-bg-inset, #eae4d9);
    border-radius: 2px;
    overflow: hidden;
    min-width: 48px;
}

.rc-mini-fill {
    display: block;
    height: 100%;
    background: var(--rd-accent-muted, #c4a84f);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ── Completion column ──────────────────────────────────────────────────── */

.rc-detail-completion {
    white-space: nowrap;
    font-size: 11px;
    color: var(--rd-text-secondary, #7a7164);
}

.rc-detail-complete-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #d4edda;
    color: #155724;
}

/* Completed rows get a subtle fade */
.rc-detail-done td {
    opacity: 0.55;
}

.rc-detail-done .rc-detail-complete-badge {
    opacity: 1;
}

.rc-detail-done .rc-mini-fill {
    background: #6a9e5e;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media screen and (max-width: 680px) {
    .rc-group-summary {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 12px;
    }

    .rc-group-meta {
        width: 100%;
        justify-content: flex-start;
        padding-left: 38px; /* align with name after icon */
        font-size: 11px;
    }

    .rc-detail-table {
        font-size: 11px;
    }

    .rc-detail-table thead th,
    .rc-detail-table tbody td {
        padding: 6px 8px;
    }

    .rc-detail-started {
        display: none; /* hide started date on mobile to save space */
    }

    .rc-detail-table thead th:nth-child(2) {
        /* hide the "Started" header on mobile too */
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Auto-Reassignment Strategy Selector
   ═══════════════════════════════════════════════════════════════════════════ */

.rc-auto-reassign {
    background: var(--rc-bg-card);
    border: 1px solid var(--rc-border-light);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.rc-reassign-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rc-text-dim);
    margin-bottom: 10px;
}

.rc-reassign-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rc-reassign-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    border: 1px solid var(--rc-border-light);
    border-radius: var(--rc-radius);
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 120px;
    background: var(--rc-bg-warm);
}

.rc-reassign-option:hover {
    border-color: var(--rc-border);
    background: var(--rc-bg-card);
}

.rc-reassign-option.rc-reassign-active {
    border-color: var(--rc-accent);
    background: var(--rc-accent-subtle);
    box-shadow: 0 0 0 1px var(--rc-accent);
}

.rc-reassign-option input[type="radio"] {
    display: none;
}

.rc-reassign-text {
    font-family: var(--rc-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--rc-text);
}

.rc-reassign-hint {
    font-size: 11px;
    color: var(--rc-text-dim);
    line-height: 1.3;
}

.rc-reassign-active .rc-reassign-text {
    color: var(--rc-accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Reinforce Controls (add peasants to in-progress job)
   ═══════════════════════════════════════════════════════════════════════════ */

.rc-detail-reinforce {
    white-space: nowrap;
}

.rc-reinforce-controls {
    display: flex;
    align-items: center;
    gap: 0;
}

.rc-reinforce-minus,
.rc-reinforce-plus {
    width: 22px;
    height: 22px;
    border: 1px solid var(--rc-border);
    background: var(--rc-bg-warm);
    color: var(--rc-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
    line-height: 1;
}

.rc-reinforce-minus {
    border-radius: 3px 0 0 3px;
}

.rc-reinforce-plus {
    border-radius: 0;
    border-left: none;
}

.rc-reinforce-minus:hover,
.rc-reinforce-plus:hover {
    background: var(--rc-border-light);
}

.rc-reinforce-val {
    width: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--rc-text);
    border-top: 1px solid var(--rc-border);
    border-bottom: 1px solid var(--rc-border);
    line-height: 20px;
    height: 22px;
    display: inline-block;
}

.rc-reinforce-btn {
    margin-left: 0;
    padding: 0 8px;
    height: 22px;
    border: 1px solid var(--rc-accent);
    border-left: none;
    border-radius: 0 3px 3px 0;
    background: var(--rc-accent);
    color: #fff;
    font-family: var(--rc-font-body);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.rc-reinforce-btn:hover {
    background: var(--rc-accent-hover);
}

.rc-reinforce-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.rc-detail-no-peasants {
    color: var(--rc-text-dim);
    font-size: 12px;
}

@media screen and (max-width: 680px) {
    .rc-reassign-options {
        flex-direction: column;
    }

    .rc-reassign-option {
        min-width: unset;
    }

    .rc-detail-reinforce {
        display: none;
    }
}