/* ================================
   HIVE ACTIONS SCREEN ONLY
   ================================ */

.hive-actions-wrapper {
    max-width: 1200px; /* slightly wider container */
    margin: 0 auto;
    padding: 6px;
}

/* Title */
.hive-actions-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

/* Focus bar */
.hive-focus-bar {
    display: flex;
    justify-content: space-between;
    background: #eef5ff;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 15px;
}

/* Grid layout — wider cards */
.hive-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* wider cards */
    gap: 14px; /* slightly reduced gap */
}

/* Cards */
.hive-actions-wrapper .hive-card {
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    text-align: center;
}

/* Card titles */
.hive-actions-wrapper .hive-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

/* Dropdowns */
.hive-actions-wrapper .hive-card select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Buttons — uniform width */
.hive-actions-wrapper .hive-card button {
    width: 100%;
    max-width: 260px;
    padding: 10px;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px 0;
}

.hive-actions-wrapper .hive-card button:hover {
    background: #1e4f82;
}

/* Logout card */
.hive-actions-wrapper .logout-card {
    background: #ffecec;
    border-left: 4px solid #cc0000;
}

.hive-actions-wrapper .logout-card h2 {
    color: #990000;
}

/* Reminders section */
.hive-actions-wrapper .hive-reminders {
    margin-top: 20px;
    padding: 12px;
    background: #f7fff0;
    border-radius: 10px;
}

.hive-actions-wrapper .hive-reminder-item {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

/* Grey cancel button — scoped to hive actions & add forms */
.hive-actions-wrapper .hive-cancel-button,
.hive-report-wrapper .hive-cancel-button {
    width: 100%;
    max-width: 260px;
    padding: 10px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px 0;
}

.hive-actions-wrapper .hive-cancel-button:hover,
.hive-report-wrapper .hive-cancel-button:hover {
    background: #c8c8c8;
}

/* ============================================
   RECORD SPLIT — SAFE OVERRIDES (NO BREAKAGE)
   ============================================ */

/* Force 2-column layout ONLY for Record Split */
.split-layout .hive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Make inputs narrower ONLY on Record Split */
.split-layout .hive-card input[type="text"],
.split-layout .hive-card input[type="number"],
.split-layout .hive-card input[type="date"],
.split-layout .hive-card select {
    width: 70% !important;
    max-width: 260px !important;
}

/* Optional: inline brood/food frames */
.split-layout .inline-inputs {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
}

/* Make Notes card span the entire last row on Record Split */
.split-layout .hive-card.notes {
    grid-column: 1 / -1 !important;
}

/* Make Notes input full width ONLY on Record Split */
.split-layout .hive-card.notes input[type="text"] {
    width: 100% !important;
    max-width: none !important;
}

/* ============================================
   BUTTON CENTRING FOR RECORD SPLIT & ACTIONS
   ============================================ */

.split-layout .hive-button-wrapper {
    text-align: center !important;
    width: 100% !important;
}

.split-layout .hive-button-row {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Left-align text inside Hive Details card, but keep the heading centered */
.split-layout .hive-card.hive-card-blue p {
    text-align: left !important;
}

/* Left-align radio buttons inside the Additions card */
.split-layout .hive-card.hive-card-brown label {
    text-align: left !important;
    display: block !important;
}

/* Remove theme content width restrictions for SHOW HIVES */
.hive-report-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
}

/* Full-width layout for ALL Hive Records report screens */
.hive-report-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
}
