/* ===== Setup Master - Box Card Styles =====

   Type comes off the scale in theme.css, never from a number typed here.

   This file used to size everything in rem against the root - 0.82rem for the
   card, 0.75rem for a label, 0.72rem for a button. Against a 13px root that
   put the labels at 10.5px and the row buttons at 10.1px, which is what made
   /setup/location and the ~20 other pages sharing this sheet read as too
   small. rem is also the wrong unit for it: it silently re-scales everything
   here whenever the root changes, in the opposite direction to the intent. */

/* Shared box styles for setup pages (location-box, setup-box) */
.setup-box,
.location-box {
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: default;
    font-size: var(--fs-base);
    border: 1px solid #dee2e6 !important;
}

.setup-box:hover,
.location-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    border-color: #6f6560 !important;
}

/* Active/selected box */
.setup-box.active-box,
.location-box.active-box {
    border: 2px solid var(--c-primary) !important;
    background-color: var(--c-primary-soft);
    box-shadow: 0 4px 12px var(--c-primary-soft) !important;
}

/* Box heading */
.setup-box h6,
.location-box h6 {
    font-size: var(--fs-md);
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 8px !important;
}

.setup-box h6 i,
.location-box h6 i {
    color: #6f6560;
    margin-right: 4px;
}

/* Label & value inside boxes */
.setup-box-label,
.location-box .label {
    font-weight: 600;
    color: #6f6560;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.setup-box-value,
.location-box .value {
    font-weight: 500;
    color: #212529;
    font-size: var(--fs-base);
}

.setup-box p,
.location-box p {
    margin-bottom: 4px !important;
    line-height: 1.4;
}

/* Box action buttons */
.setup-box .btn-sm,
.location-box .btn-sm {
    font-size: var(--fs-sm);
    padding: 3px 10px;
    border-radius: 4px;
}

/* ===== Setup Form Card ===== */
.setup-form-card {
    background: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
}

.setup-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

/* ===== Empty State ===== */
.setup-page .text-muted i {
    opacity: 0.5;
}
