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

.hive-actions-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px;
}

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

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

/* 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 */
.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
   ============================================ */

.split-layout .hive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.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;
}

.split-layout .inline-inputs {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
}

.split-layout .hive-card.notes {
    grid-column: 1 / -1 !important;
}

.split-layout .hive-card.notes input[type="text"] {
    width: 100% !important;
    max-width: none !important;
}

.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;
}

.split-layout .hive-card.hive-card-blue p {
    text-align: left !important;
}

.split-layout .hive-card.hive-card-brown label {
    text-align: left !important;
    display: block !important;
}

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

/* ============================================
   NEW DASHBOARD HEADER WITH VOICE INPUT
   ============================================ */

/* Header container */
#hr-dashboard-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* Voice Input button — distinctive amber colour */
#hr-voice-button {
    width: 100%;
    max-width: 260px;
    padding: 10px;
    background: #d97706; /* amber 600 */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05em;
    margin: 5px 0;
    font-weight: 600;
}

#hr-voice-button:hover {
    background: #b45309; /* amber 700 */
}


/* Focus controls (mobile default) */
#hr-focus-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1.05em;
}

/* Laptop layout */
@media (min-width: 768px) {

    #hr-dashboard-header {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    #hr-voice-button {
        width: auto;
        margin-right: 30px;
    }

    #hr-focus-controls {
        flex-direction: row;
        gap: 30px;
        text-align: left;
    }
}

#hr-dashboard-logout {
    text-align: center !important;
}

#hr-dashboard-logout form {
    display: inline-block !important;
}

#hr-dashboard-logout button {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
}

#hr-dashboard-header,
#hr-voice-button {
    transform: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    touch-action: manipulation !important;
}

#hr-dashboard-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

