/* ============================= */
/* GLOBAL RESET */
/* ============================= */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.hw-navbar {
    width: 100%;
    height: 64px;
    background: #002842;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.hw-navbar-inner {
    width: 100%;
    height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hw-navbar-inner.login-mode {
    justify-content: flex-start;
}

.hw-navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 90px;
}

.hw-navbar-inner.login-mode .hw-navbar-right {
    justify-content: flex-start;
}

.hw-navbar-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.hw-brand-title {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
}

.hw-brand-subtitle {
    margin: 0;
    color: #ffffff;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.15;
    opacity: 0.95;
}

.hw-logo {
    display: block;
    height: 30px;
    width: auto;
    max-width: 78px;
    object-fit: contain;
}

/* ============================= */
/* PAGE SHELL */
/* ============================= */
.hw-page-shell {
    width: 100%;
    padding: 6px 0 0 0;
}

/* ============================= */
/* TOOLBAR */
/* ============================= */
.hw-toolbar {
    width: 100%;
    padding: 8px 10px 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
    z-index: 20;
}

.hw-toolbar-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.hw-toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.hw-year-select {
    width: 90px;
    height: 28px;
    padding: 0 8px;
    margin: 2px;
    border: 1px solid #b7c0c8;
    border-radius: 4px;
    background: #ffffff;
    color: #10233f;
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
    line-height: 1;
}

.hw-producer-select {
    width: 120px;
    height: 28px;
    padding: 0 8px;
    margin: 2px;
    border: 1px solid #b7c0c8;
    border-radius: 4px;
    background: #ffffff;
    color: #10233f;
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
    line-height: 1;
}

.hw-toolbar-btn,
.hw-toolbar-link {
    height: 28px;
    min-width: 62px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid #002842;
    border-radius: 6px;
    background: #ffffff;
    color: #002842;
    font-size: 11px;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}

.hw-logout-form {
    margin: 0;
    display: inline-flex;
    flex: 0 0 auto;
}
.hw-filters-row {
    display: flex;
    align-items: center;
}

.hw-year-filter {
    margin-right: 16px !important;
}

.hw-page-size-form-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

/* ============================= */
/* TABLE CONTAINER */
/* ============================= */
.table-card {
    width: 100%;
    margin: 0;
    padding: 0 10px 0 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
}

.dashboard-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}
.hw-table.table tbody tr:nth-child(even) {
    background-color: #f3f1ee !important;
}

/* HEADER */
.dashboard-table thead th {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    padding: 10px 8px;
    text-align: left;
    white-space: nowrap;
}

.dashboard-table thead,
.dashboard-table thead tr {
    background: #F18D00;
}

.dashboard-table thead th {
    background: transparent;
}

/* BODY */
.dashboard-table tbody td {
    font-size: 13px;
    padding: 12px 10px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* ROW HEIGHT + STRIPES */
.dashboard-table tbody tr {
    height: 56px;
}

.dashboard-table tbody tr:nth-child(even) > td {
    background-color: #F9F6F1;
}

.dashboard-table tbody tr:nth-child(odd) > td {
    background-color: #FFFFFF;
}
/* ============================= */
/* REMOVE WHITE GAPS */
/* ============================= */
.dashboard-table th,
.dashboard-table td {
    border-right: none;
}

.dashboard-table {
    border-spacing: 0;
}

/* ============================= */
/* SCROLL */
/* ============================= */
.table-responsive {
    overflow-x: auto;
}
/* ============================= */
/* PAGINATION */
/* ============================= */
.hw-page-number,
.hw-page-ellipsis {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hw-page-number:hover {
    background: #f3f4f6;
    color: #0f172a;
    text-decoration: none;
}

.hw-page-number.active {
    background: #F18D00;
    border-color: #F18D00;
    color: #ffffff;
}

.hw-page-ellipsis {
    border: none;
    background: transparent;
    min-width: 24px;
}
.hw-pager-row {
    width: 100%;
    padding: 10px 10px 0 10px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================= */
/* ADMIN PANEL MODAL */
/* ============================= */
.hw-admin-modal-dialog {
    max-width: 900px;
}

.hw-admin-modal-content {
    border-radius: 10px;
    border: 1px solid rgba(0, 40, 66, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.hw-admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 40, 66, 0.15);
    background: #fff;
}

.hw-admin-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #002842;
}

.hw-admin-close {
    border: none;
    background: transparent;
    color: #002842;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.hw-admin-tabs-wrap {
    border-bottom: 1px solid rgba(0, 40, 66, 0.15);
    background: #fff;
    padding: 0 24px;
}

.hw-admin-tabs {
    border-bottom: none;
}

.hw-admin-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #002842;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 18px 12px 18px;
    background: transparent;
}

.hw-admin-tabs .nav-link.active {
    color: #f18d00;
    border-bottom: 2px solid #f18d00;
    background: transparent;
}

.hw-admin-tab-content {
    background: #fff;
}

.hw-admin-section {
    padding: 16px 24px 20px 24px;
}

.hw-admin-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hw-admin-form-block {
    margin-bottom: 14px;
}

.hw-admin-field-block {
    margin-bottom: 12px;
}

.hw-admin-label {
    display: block;
    margin-bottom: 8px;
    color: #002842;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}
.hw-admin-label-light {
    display: block;
    margin-bottom: 8px;
    color: #5A5A5A;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.hw-admin-input {
    width: 100%;
    height: 41px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 40, 66, 0.15);
    background: #fff;
    color: #002842;
    font-size: 16px;
    outline: none;
}

.hw-admin-input::placeholder {
    color: #8aa0b2;
}

.hw-admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.hw-admin-inline-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
}

.hw-admin-inline-action {
    display: flex;
    align-items: end;
}

.hw-admin-inline-action .hw-admin-add-btn {
    height: 40px;
}

.hw-admin-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8.5px 22px 9.5px 24px;
    border: none;
    border-radius: 6px;
    background: #f18d00;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.hw-admin-divider {
    margin: 10px 0 12px 0;
    border-top: 1px solid #f18d00;
}

.hw-admin-users-table {
    width: 100%;
    margin: 0;
}

.hw-admin-users-table thead th {
    color: #002842;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 0 16px 8px 16px;
    border-bottom: none;
    background: transparent;
}

.hw-admin-users-table tbody td {
    padding: 3px 16px;
    border-top: none;
    vertical-align: middle;
    color: #8aa0b2;
    font-size: 16px;
}

.hw-admin-row-actions {
    width: 70px;
    text-align: right;
    white-space: nowrap;
}

.hw-icon-btn {
    border: none;
    background: transparent;
    color: #f18d00;
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
}

.hw-icon-btn.danger {
    color: #ff4b6e;
}

.hw-admin-sync-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal {
    position: fixed;
    inset: 0;
    z-index: 1055;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: block;
}
.modal:not(.show) {
    display: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
}

.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    inset: 0;
    z-index: var(--bs-backdrop-zindex);
    background-color: var(--bs-backdrop-bg);
}

.modal-backdrop.show {
    opacity: var(--bs-backdrop-opacity);
}

.nav-tabs {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.hw-admin-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8.5px 20px;
    border: 1px solid #c9d3db;
    border-radius: 6px;
    background: #eef2f5;
    color: #486174;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.hw-admin-permissions-block {
    width: 100%;
}

.hw-admin-permissions-select-wrap {
    width: 100%;
}

.hw-admin-permissions-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px; 
    margin-top: 14px;
}
@media (max-width: 900px) {
    .hw-login-panel {
        max-width: none;
        margin-left: 24px;
        margin-right: 24px;
    }

    .hw-login-form,
    .hw-login-section-title,
    .hw-login-error {
        margin-left: 0;
        max-width: none;
    }

    .hw-login-title {
        font-size: 44px;
        line-height: 1;
    }

    .hw-login-subtitle {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 42px;
    }

    .hw-login-section-title {
        font-size: 28px;
    }

    .hw-login-label {
        font-size: 18px;
        line-height: 1.4;
    }

    .hw-login-input {
        font-size: 18px;
        height: 48px;
    }

    .hw-login-forgot {
        font-size: 18px;
    }
}

/* ============================= */
/* LOGIN PAGE */
/* ============================= */
.hw-login-page {
    width: 100%;
    min-height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 45px;  
    background: #f5f5f5;
}
.hw-login-panel {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.hw-login-title {
    color: #F18D00;
    font-size: 48px; 
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 8px;
}

.hw-login-subtitle {
    color: #002842;
    font-size: 18px; 
    font-weight: 500;
    text-align: center;
    margin-bottom: 32px;
}

.hw-login-section-title {
    color: #F18D00;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hw-login-form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hw-login-label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.hw-login-input {
    height: 46px;
    font-size: 15px;
    border: 2px solid #F18D00;
    border-radius: 0 14px 0 14px;
}
.hw-login-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 3px solid #F18D00;
    border-radius: 0 18px 0 18px;
    background: #FFFFFF;
    color: #002842;
    font-size: 22px;
    font-weight: 400;
    outline: none;
}

.hw-login-input::placeholder {
    color: #9a9a9a;
    font-size: 22px;
}

.hw-login-forgot-wrap {
    margin: 8px 0 16px 18px;
}

.hw-login-forgot {
    color: #5A5A5A;
    font-size: 16px;
    font-weight: 500;
    line-height: 36px;
    text-decoration: none;
}

.hw-login-forgot:hover {
    text-decoration: underline;
    color: #5A5A5A;
}

.hw-login-actions {
    margin-left: 0;
}

.hw-login-btn {
    width: 140px;
    height: 44px;
    font-size: 16px;
    border-radius: 6px;
}
.hw-login-btn:hover {
    opacity: 0.95;
}

.hw-login-error {
    max-width: 564px;
    margin: 0 0 18px 32px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fdeaea;
    color: #9b1c1c;
    font-size: 15px;
}

.hw-password-wrap {
    position: relative;
    width: 100%;
}

.hw-login-input-password {
    padding-right: 52px;
}

.hw-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5A5A5A;
    font-size: 16px;
    padding: 0;
    z-index: 2;
}

.hw-password-toggle:focus {
    outline: none;
}

.hw-password-toggle:hover {
    opacity: 0.8;
}

/* ============================= */
/* TOASTS */
/* ============================= */
.hw-toast-container {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.hw-toast {
    min-width: 280px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-8px);
    animation: hwToastIn 0.2s ease forwards;
}

.hw-toast-success {
    background: #198754;
}

.hw-toast-error {
    background: #dc3545;
}

.hw-toast-info {
    background: #0d6efd;
}

.hw-toast-warning {
    background: #f18d00;
    color: #fff;
}

.hw-toast-hide {
    animation: hwToastOut 0.2s ease forwards;
}

@keyframes hwToastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hwToastOut {
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* ============================= */
/* BUTTON SPINNER */
/* ============================= */
.hw-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
}

.hw-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hwSpin 0.7s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

.hw-admin-cancel-btn .hw-btn-spinner,
.hw-toolbar-btn .hw-btn-spinner {
    border: 2px solid rgba(0, 40, 66, 0.25);
    border-top-color: #002842;
}

@keyframes hwSpin {
    to {
        transform: rotate(360deg);
    }
}
/* ============================= */
/* SYNC RESULT MESSAGE */
/* ============================= */
#syncResultMessage .alert {
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* Sortable headers and seach input boxx */
.hw-dashboard-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hw-search-input {
    width: 180px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #b7c0c8;
    border-radius: 4px;
    background: #ffffff;
    color: #10233f;
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
}

.hw-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.hw-sort-link:hover {
    color: #ffffff;
    text-decoration: none;
}
.hw-select-wrap {
    position: relative;
    display: inline-block;
}

.hw-select-with-icon {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
}

.hw-select-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ============================= */
/* COLUMN PREFERENCES MODAL */
/* ============================= */
.hw-column-pref-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.hw-column-show-all-btn {
    border: none;
    background: transparent;
    color: #f18d00;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.hw-column-pref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    margin-bottom: 20px;
}

.hw-column-pref-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.hw-column-pref-checkbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #f18d00;
    cursor: pointer;
}

.hw-column-pref-label {
    color: #002842;
    font-size: 15px;
    line-height: 1.35;
}

.hw-column-pref-required {
    color: #8aa0b2;
    font-size: 13px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .hw-column-pref-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================= */
/* EXPORT DROPDOWN */
.hw-export-dropdown-menu {
    min-width: 220px;
    border-radius: 8px;
    border: 1px solid rgba(0, 40, 66, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    z-index: 1065;
}

.hw-export-dropdown-menu .dropdown-item {
    font-size: 14px;
    color: #002842;
    padding: 10px 14px;
    z-index: 1055;
    position: relative;
}

.hw-export-dropdown-menu .dropdown-item:hover {
    background: #f9f6f1;
    color: #002842;
}
.dropdown {
    position: relative;
    z-index: 30;
}

/* ============================= */
/* LOT DETAIL MODAL */
.hw-lot-detail-trigger {
    border: none;
    background: transparent;
    color: #002842;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.hw-lot-detail-trigger:hover {
    color: #f18d00;
    text-decoration: underline;
}

.hw-lot-detail-modal-dialog {
    max-width: 1100px;
}

.hw-lot-detail-modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.hw-lot-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #d9e0e6;
}

.hw-lot-detail-title {
    margin: 0;
    color: #002842;
    font-size: 20px;
    font-weight: 600;
}

.hw-lot-detail-tabs {
    padding: 0 24px;
    border-bottom: 1px solid #d9e0e6;
}

.hw-lot-detail-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #002842;
    font-weight: 500;
    padding: 14px 18px;
}

.hw-lot-detail-tabs .nav-link.active {
    color: #f18d00;
    border-bottom-color: #f18d00;
    background: transparent;
}

.hw-lot-detail-tab-content {
    padding: 24px;
}

.hw-lot-detail-section {
    min-height: 360px;
}

.hw-lot-detail-section-title {
    color: #002842;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hw-lot-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hw-lot-location-card {
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
}

.hw-lot-location-value {
    color: #002842;
    font-size: 18px;
    font-weight: 500;
}

.hw-open-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7.5px 16px;
    border-radius: 6px;
    background: #f18d00;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.hw-open-maps-btn:hover {
    color: #fff;
    opacity: 0.95;
}

.hw-lot-activity-card {
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    padding: 18px;
    background: #fff;
    margin-bottom: 14px;
}

.hw-lot-activity-message {
    color: #002842;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.hw-lot-activity-meta {
    color: #6c757d;
    font-size: 14px;
}

.hw-lot-activity-change {
    margin-top: 8px;
    color: #5a5a5a;
    font-size: 14px;
}
.hw-lot-details-card {
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}
.hw-lot-map-preview-card {
    margin-top: 16px;
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    height: 280px;
}

.hw-lot-map-preview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.hw-lot-notes-composer {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 16px;
}

.hw-note-add-btn {
    min-width: 80px;
}

.hw-lot-note-card {
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}

.hw-lot-note-text {
    color: #002842;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.hw-lot-note-meta {
    color: #6c757d;
    font-size: 14px;
}
.hw-lot-activity-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.hw-lot-activity-time {
    color: #6c757d;
    font-size: 14px;
    white-space: nowrap;
}
.hw-activity-field-name {
    color: #F18D00;
    font-weight: 600;
}
.hw-lot-activity-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.hw-lot-activity-list::-webkit-scrollbar {
    width: 8px;
}

.hw-lot-activity-list::-webkit-scrollbar-thumb {
    background: rgba(0, 40, 66, 0.22);
    border-radius: 999px;
}

.hw-lot-activity-list::-webkit-scrollbar-track {
    background: transparent;
}
.hw-lot-notes-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}
.hw-lot-note-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.hw-lot-note-actions {
    display: flex;
    gap: 8px;
}

.hw-note-icon-btn {
    border: none;
    background: transparent;
    color: #486174;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 4px;
}

.hw-note-icon-btn:hover {
    color: #f18d00;
}
.hw-note-edited {
    font-size: 12px;
    color: #8a8a8a;
    margin-left: 6px;
}
.hw-lot-notes-composer--edit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hw-note-actions {
    display: flex;
    gap: 6px;
}

/* Base icon button */
.hw-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* Icon */
.hw-icon {
    font-size: 16px;
    line-height: 1;
}

/* Save (✔) */
.hw-icon-btn--success {
    background-color: #F18D00;
    color: #fff;
}

.hw-icon-btn--success:hover {
    background-color: #d97800;
}

/* Cancel (✖) */
.hw-icon-btn--danger {
    background-color: #f1f1f1;
    color: #555;
}

.hw-icon-btn--danger:hover {
    background-color: #e2e2e2;
}
/*Weahter display in modal*/
.hw-weather-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.hw-weather-table-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.hw-weather-table-wrap {
    overflow-x: auto;
    overflow-y: visible !important;
    max-height: none !important;
}

.hw-weather-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.hw-weather-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    color: #002842;
    font-weight: 700;
    padding: 12px 10px;
    border-bottom: 1px solid #d9e0e6;
    text-align: left;
    white-space: nowrap;
}

.hw-weather-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #d9e0e6;
    color: #002842;
    white-space: nowrap;
}

.hw-weather-table tbody tr:nth-child(odd) {
    background: #f3f1ee;
}

.hw-weather-type-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    background: rgba(0, 40, 66, 0.08);
    color: #002842;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.hw-weather-empty-state {
    border: 1px dashed #d9e0e6;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}
.hw-weather-forecast td {
    font-style: italic;
}

.hw-weather-table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.hw-weather-page-size-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #002842;
    font-size: 14px;
}

.hw-weather-page-size {
    border: 1px solid #cbd5df;
    border-radius: 6px;
    padding: 6px 28px 6px 8px;
    color: #002842;
    background: #fff;
}

.hw-weather-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.hw-weather-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hw-weather-page-btn {
    border: 1px solid #cbd5df;
    background: #fff;
    color: #002842;
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 34px;
    cursor: pointer;
}

.hw-weather-page-btn.active {
    background: #f18d00;
    border-color: #f18d00;
    color: #fff;
}

.hw-weather-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.hw-weather-sort-btn {
    border: none;
    background: transparent;
    color: #002842;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.hw-weather-sort-btn:hover {
    color: #f18d00;
}

.hw-weather-pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.hw-weather-pagination-buttons {
    display: flex;
    gap: 6px;
}

.hw-weather-page-btn {
    border: 1px solid #cbd5df;
    background: #fff;
    color: #002842;
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 34px;
    cursor: pointer;
}

.hw-weather-page-btn.active {
    background: #f18d00;
    border-color: #f18d00;
    color: #fff;
}

.hw-weather-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#lotWeatherTable tbody tr[style*="display: none"] {
    display: none !important;
}
.hw-weather-gdd-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hw-weather-gdd-card {
    border: 1px solid #d9e0e6;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.hw-weather-gdd-card--muted {
    background: #e9e5dc;
}

.hw-weather-gdd-label {
    color: #5a5a5a;
    font-size: 14px;
    margin-bottom: 8px;
}

.hw-weather-gdd-value {
    color: #002842;
    font-size: 24px;
    font-weight: 500;
}
/*
MULTI DROPDOWN
*/
.hw-filter-dropdown {
    position: relative;
}

.hw-filter-dropdown-btn {
    min-width: 145px;
    height: 34px;
    border: 1px solid #d9e0e6;
    border-radius: 6px;
    background: #fff;
    color: #002842;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
}

.hw-filter-dropdown-menu {
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
    margin:2px;
    border-radius: 8px;
    border: 1px solid rgba(0, 40, 66, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    z-index: 1065;
}

.hw-filter-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    color: #002842;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
}

.hw-filter-checkbox-row:hover {
    background: #f9f6f1;
}

.hw-filter-checkbox {
    accent-color: #f18d00;
}
/* add spaces to the filters and search input */
.hw-filters-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.hw-filter-dropdown,
.hw-select-wrap,
.hw-search-input {
    flex-shrink: 0;
}

.hw-search-input {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.hw-weather-forecast-row td {
    font-style: italic;
}

.hw-weather-historic-row td {
    font-style: italic;
    opacity: 0.75;
}
