#calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Kanit", sans-serif;
    color: #333;
}

#calendar-container h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Login Form */
#login-form {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#login-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #065f00;
}

#login-form input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Kanit", sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#login-form input:focus {
    outline: none;
    border-color: #065f00;
    box-shadow: 0 0 0 3px rgba(6, 95, 0, 0.1);
}

#login-form button {
    width: 100%;
    padding: 14px;
    background-color: #065f00;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#login-form button:hover {
    background-color: rgb(144, 144, 144);
}

#login-error {
    color: #d32f2f;
    font-weight: 500;
    margin-top: 15px;
    display: none;
}

/* Calendar Views */
#calendar,
#admin-calendar {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 12px; 
}

/* FullCalendar Theming */
.fc {
    font-family: "Kanit", sans-serif;
}

.fc .fc-toolbar {
    margin-bottom: 8px;
    padding: 0 8px; /* Extra side padding for title and buttons */
}

.fc .fc-daygrid-body {
    padding-top: 4px;
}

.fc .fc-button-primary {
    background-color: #065f00;
    border-color: #065f00;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.fc .fc-button-primary:hover {
    background-color: rgb(144, 144, 144);
    border-color: rgb(144, 144, 144);
}

.fc .fc-button-primary:focus {
    box-shadow: 0 0 0 3px rgba(6, 95, 0, 0.2);
}

.fc .fc-toolbar-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.fc .fc-daygrid-day-top {
    font-weight: 500;
}

.fc .fc-daygrid-day-number {
    color: #333;
    font-weight: 500;
}

.fc .fc-day-today {
    background-color: rgba(6, 95, 0, 0.08) !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
    color: #065f00;
    font-weight: 700;
}

/* Event Styling */
.fc-event {
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fc-event:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.fc-event-vacation {
    background-color: #ff9800 !important; /* Orange for vacation - visible but not red */
    border-left: 4px solid #e65100;
}

.fc-event-holiday {
    background-color: #d32f2f !important; /* Red for holidays */
    border-left: 4px solid #b71c1c;
}

.fc-event-event {
    background-color: #1976d2 !important; /* Blue for general events */
    border-left: 4px solid #0d47a1;
}

/* Admin Controls */
#admin-controls #event-form {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#admin-controls #event-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #065f00;
    text-align: center;
}

#event-form input,
#event-form select {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Kanit", sans-serif;
    font-size: 16px;
}

#event-form input:focus,
#event-form select:focus {
    outline: none;
    border-color: #065f00;
    box-shadow: 0 0 0 3px rgba(6, 95, 0, 0.1);
}

#event-form button {
    padding: 12px 24px;
    margin: 10px 8px;
    border: none;
    border-radius: 4px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#event-form button:first-of-type {
    background-color: #065f00;
    color: white;
}

#event-form button:first-of-type:hover {
    background-color: rgb(144, 144, 144);
}

#remove-btn {
    background-color: #d32f2f;
    color: white;
}

#remove-btn:hover {
    background-color: #b71c1c;
}

/* Logout Button */
#calendar-view button,
#admin-controls > button:not(#event-form button) {
    display: block;
    margin: 30px auto 0;
    padding: 10px 24px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#calendar-view button:hover,
#admin-controls > button:hover {
    background-color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    #calendar-container {
        padding: 20px 15px;
    }

    #login-form,
    #admin-controls #event-form {
        padding: 25px;
        margin: 40px auto;
    }

    #calendar-container h2 {
        font-size: 28px;
    }

    .fc .fc-toolbar-title {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    #login-form,
    #admin-controls #event-form {
        width: 95%;
        padding: 20px;
    }

    .fc .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }

    .fc .fc-toolbar-title {
        margin-bottom: 10px;
    }
}

/* Dashboard Styling */
.dashboard-view h2 {
    text-align: center;
    color: #065f00;
    margin: 40px 0 10px;
}

.dashboard-welcome {
    text-align: center;
    color: #444;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #065f00;
}

.dashboard-card h3 {
    color: #065f00;
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.dashboard-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Logout & Back Buttons */
.logout-btn, .back-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 30px;
    background: #065f00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover, .back-btn:hover {
    background: #444;
}

/* Hidden sections */
.section-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.pretrip-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #065f00;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.required { color: #d32f2f; }

.photo-preview {
    margin-top: 12px;
    max-width: 100%;
    text-align: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #065f00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #0a8b00;
}

/* Manager list styling (simple table for now) */
#pretrip-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#pretrip-table-container th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

#pretrip-table-container th {
    background: #065f00;
    color: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

#feed-table .tabulator {
    font-family: "Kanit", sans-serif;
    font-size: 15px;
}

.tabulator .tabulator-header {
    background: #065f00;
    color: white;
}

.tabulator .tabulator-cell {
    padding: 12px 8px;
}

#feed-table {
    max-width: 100%;
    overflow-x: auto;
}

/* ====================== EMPLOYEE DIRECTORY ====================== */

.employee-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.employee-search {
    flex: 1;
    min-width: 220px;
    max-width: 380px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Kanit", sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.employee-search:focus {
    outline: none;
    border-color: #065f00;
    box-shadow: 0 0 0 3px rgba(6, 95, 0, 0.1);
}

.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.employee-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.employee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}

.employee-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 3px solid #e8f5e9;
    background: #f5f5f5;
}

.employee-avatar-initials {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #065f00, #0a8b00);
    color: white;
    font-size: 1.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.employee-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.25;
}

.employee-job-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #065f00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    min-height: 1em;
}

.employee-contact {
    font-size: 0.85rem;
    color: #555;
    width: 100%;
    line-height: 1.7;
}

.employee-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.15s;
}

.employee-contact a:hover {
    color: #065f00;
    text-decoration: underline;
}

.employee-edit-btn {
    position: absolute;
    top: 11px;
    right: 12px;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 15px;
    color: #aaa;
    padding: 4px 7px;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.employee-edit-btn:hover {
    background: #f0f0f0;
    color: #065f00;
    border-color: #ddd;
}

/* Employee Modal */
.emp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 16px;
}

.emp-modal-box {
    background: white;
    max-width: 580px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 36px 32px 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.emp-modal-box h3 {
    font-size: 1.4rem;
    color: #065f00;
    margin: 0 0 24px;
}

.emp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.emp-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.emp-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.emp-delete-btn {
    padding: 12px 22px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: "Kanit", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.emp-delete-btn:hover {
    background: #b71c1c;
}

.emp-photo-preview {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.emp-photo-preview img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8f5e9;
}

@media (max-width: 600px) {
    .employee-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    .emp-modal-box {
        padding: 28px 18px 22px;
    }
}

/* ====================== PRE-TRIP OFF-HIGHWAY ====================== */

/* Section tab bar */
.portal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.portal-tab-btn {
    padding: 9px 22px;
    border: 2px solid #065f00;
    background: white;
    color: #065f00;
    border-radius: 30px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.portal-tab-btn:hover,
.portal-tab-btn.active {
    background: #065f00;
    color: white;
}

/* Inspection checklist cards */
.checklist-section {
    margin: 0 0 20px;
}

.checklist-section h3 {
    font-size: 1.05rem;
    color: #065f00;
    font-weight: 700;
    margin: 0 0 12px;
}

.check-item-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 14px 16px;
    margin-bottom: 10px;
    border-left: 4px solid #e0e0e0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.check-item-card.completed {
    border-left-color: #065f00;
    background: #f8fdf8;
}

.check-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.check-item-label {
    font-weight: 600;
    font-size: 0.93rem;
    color: #222;
    flex: 1;
    line-height: 1.35;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 27px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 27px;
    transition: background 0.22s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.22s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.toggle-switch input:checked + .toggle-slider {
    background: #065f00;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(23px);
}

.check-item-notes {
    margin-top: 10px;
}

.check-item-notes input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: "Kanit", sans-serif;
    font-size: 0.87rem;
    color: #444;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.check-item-notes input:focus {
    outline: none;
    border-color: #065f00;
    background: white;
}

/* Filter row (submissions view) */
.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 20px;
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.filter-row .form-group {
    margin: 0;
    flex: 1;
    min-width: 140px;
}

.filter-row .form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

/* Agreement / confirmation overlay */
.offhw-confirm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.58);
    z-index: 1002;
    overflow-y: auto;
    padding: 60px 16px;
}

.offhw-confirm-box {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.offhw-confirm-box h3 {
    color: #065f00;
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.offhw-confirm-box blockquote {
    color: #333;
    line-height: 1.65;
    font-size: 0.95rem;
    border-left: 4px solid #065f00;
    margin: 0 0 26px;
    padding: 12px 18px;
    background: #f8fdf8;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.offhw-confirm-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Submission detail overlay */
.offhw-detail-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1002;
    overflow-y: auto;
    padding: 30px 16px;
}

.offhw-detail-box {
    background: white;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 34px 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
}

.offhw-detail-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.offhw-detail-close:hover { background: #f5f5f5; color: #333; }

.detail-checklist {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 14px 0;
}

.detail-checklist th {
    background: #065f00;
    color: white;
    padding: 9px 12px;
    text-align: left;
    font-weight: 600;
}

.detail-checklist td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.detail-checklist tr:nth-child(even) td { background: #f9fdf9; }

.status-done   { color: #065f00; font-weight: 700; }
.status-missed { color: #d32f2f; font-weight: 700; }

/* Equipment/check-item management */
.manage-panel {
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 26px;
    margin-bottom: 24px;
}

.manage-panel h3 {
    color: #065f00;
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.manage-panel > p {
    color: #777;
    font-size: 0.85rem;
    margin: 0 0 18px;
}

.manage-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.9rem;
}

.manage-item-row:last-of-type { border-bottom: none; }

.manage-item-label { flex: 1; line-height: 1.35; }

.manage-item-remove {
    background: none;
    border: none;
    color: #d32f2f;
    cursor: pointer;
    font-size: 20px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    flex-shrink: 0;
}

.manage-item-remove:hover { background: #ffebee; }

.manage-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0 18px;
}

/* Card wrapper for form panels */
.form-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .portal-tab-btn { font-size: 0.8rem; padding: 8px 14px; }
    .filter-row      { flex-direction: column; }
    .filter-row .form-group { min-width: 100%; }
    .offhw-confirm-box, .offhw-detail-box { padding: 26px 18px 22px; }
}

/* ====================== EQUIPMENT INVENTORY ====================== */

.equip-inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.equip-inv-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 4px solid #065f00;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}

.equip-inv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.equip-inv-card.no-data {
    border-top-color: #bbb;
    opacity: 0.7;
}

.equip-inv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.equip-inv-card-header-text {
    flex: 1;
    min-width: 0;   /* allows flex child to shrink below content size */
}

.equip-inv-badge {
    flex-shrink: 0; /* badge never squishes or wraps onto a new line */
    align-self: flex-start;
    margin-top: 2px;
}

.inv-stale-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 600;
    white-space: nowrap;
}

.inv-stale-fresh { background: #e8f5e9; color: #065f00; }
.inv-stale-warn  { background: #fff8e1; color: #f57f17; }
.inv-stale-old   { background: #fce4ec; color: #b71c1c; }

.equip-inv-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #065f00;
    line-height: 1.25;
    word-break: break-word;   /* wrap long names instead of overflowing */
    overflow-wrap: break-word;
}

.equip-inv-desc {
    font-size: 0.82rem;
    color: #777;
    margin-top: 2px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.equip-inv-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.equip-inv-stat {
    background: #f4faf4;
    border-radius: 8px;
    padding: 10px 12px;
}

.equip-inv-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    font-weight: 600;
    margin-bottom: 3px;
}

.equip-inv-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.equip-inv-stat-value.hours {
    color: #065f00;
    font-size: 1.15rem;
}

.equip-inv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 4px;
}

.equip-inv-no-trips {
    font-size: 0.9rem;
    color: #bbb;
    font-style: italic;
    margin-top: 4px;
}

.equip-inv-empty {
    color: #bbb;
}

.equip-inv-location {
    font-size: 0.95rem;
}

.equip-inv-stat-full {
    grid-column: 1 / -1;
}

.equip-inv-section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #065f00;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0ede0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.equip-inv-section-icon {
    font-size: 1.2rem;
}

.equip-inv-empty-msg {
    color: #aaa;
    font-style: italic;
    font-size: 0.9rem;
    padding: 12px 0;
}

@media (max-width: 600px) {
    .equip-inv-grid { grid-template-columns: 1fr; }
    .equip-inv-stats { grid-template-columns: 1fr; }
}