/* _content/YourLocalPlantHire.Web/Components/Admin/Equipment/EquipmentAttachmentManager.razor.rz.scp.css */
/* Ensure the equipment attachment manager stands out */
.equipment-attachment-manager[b-loyj58z5zh] {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

/* --- Controls Section (Filters & Sorting) --- */
.attachment-controls[b-loyj58z5zh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Filter & Sort Container */
.filter-sort-controls[b-loyj58z5zh] {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Sort dropdown */
.sort-dropdown[b-loyj58z5zh] {
    min-width: 180px;
}

/* Add Attachment Button */
.add-attachment-btn[b-loyj58z5zh] {
    white-space: nowrap;
}

/* --- Table Mode Styling --- */
.display-table[b-loyj58z5zh] {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

/* Table header */
.table-header[b-loyj58z5zh] {
    display: table-row;
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Table rows */
.table-row[b-loyj58z5zh] {
    display: table-row;
    border-bottom: 1px solid #dee2e6;
}

/* Table cells */
.table-cell[b-loyj58z5zh] {
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
}

/* Ensure form does not break table-row */
.display-table[b-loyj58z5zh]  form {
    display: contents !important;
}

/* Input fields inside editing rows */
.table-cell input.form-control[b-loyj58z5zh],
.table-cell select.form-select[b-loyj58z5zh] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Validation messages */
.validation-message[b-loyj58z5zh] {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
}

/* Hide elements conditionally */
.hidden[b-loyj58z5zh] {
    display: none !important;
}

/* "No Equipment Attachments Available" message */
.no-attachment-msg[b-loyj58z5zh] {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-top: 15px;
}

/* Action buttons */
.actions[b-loyj58z5zh] {
    display: flex;
    gap: 8px;
}

/* --- Image Styling for Attachments --- */
.attachment-image-container[b-loyj58z5zh] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachment-image[b-loyj58z5zh] {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Upload Button for Image */
.image-upload-btn[b-loyj58z5zh] {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s ease-in-out;
}

.image-upload-btn:hover[b-loyj58z5zh] {
    background-color: #0056b3;
}

/* Remove Image Button */
.remove-image-btn[b-loyj58z5zh] {
    background: none;
    border: none;
    color: red;
    font-size: 1em;
    cursor: pointer;
}

/* --- Responsive Design: Card Mode (Mobile View) --- */
@media (max-width: 768px) {
    .display-table[b-loyj58z5zh] {
        display: flex;
        flex-direction: column;
    }

    .table-header[b-loyj58z5zh] {
        display: none; /* Hide table headers in card mode */
    }

    .table-row[b-loyj58z5zh] {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        background-color: #fff;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 8px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .table-cell[b-loyj58z5zh] {
        display: flex;
        flex-direction: column;
        padding: 5px 0;
    }

    /* Ensure labels are readable in card mode */
    .table-cell[b-loyj58z5zh]::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        margin-bottom: 4px;
        display: block;
    }

    /* Align edit button to bottom right */
    .table-cell.actions[b-loyj58z5zh] {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }

    /* Adjust buttons in mobile view */
    .table-cell.actions button[b-loyj58z5zh] {
        flex-grow: 1;
        text-align: center;
    }

    /* --- Fixing Controls Stacking on Mobile --- */
    .attachment-controls[b-loyj58z5zh] {
        display: flex;
        flex-direction: column-reverse; /* Reverse order */
        align-items: stretch;
        gap: 12px;
        width: 100%; /* Ensure it takes full width */
    }

    /* Ensure Add button is on top */
    .add-attachment-btn[b-loyj58z5zh] {
        order: -1;
        width: 100%;
    }

    /* Ensure filters and sorting are stacked below */
    .filter-sort-controls[b-loyj58z5zh] {
        display: flex;
        flex-direction: column;
        width: 100%; /* Ensure it uses full available space */
        align-items: stretch; /* Make sure items stretch properly */
        gap: 10px;
    }

    /* Ensure filter and search inputs take full width */
    .sort-dropdown[b-loyj58z5zh],
    .filter-input[b-loyj58z5zh] {
        width: 100%;
    }

    .filter-sort-controls button[b-loyj58z5zh] {
        width: 100%;
    }
}

/* Pagination container */
.attachment-pagination[b-loyj58z5zh] {
    display: flex;
    justify-content: center; /* Center the pagination */
    margin-top: 15px;
}

/* Pagination buttons */
.pagination[b-loyj58z5zh] {
    display: flex;
    list-style: none;
    padding: 0;
    border-radius: 5px;
    background: #f8f9fa;
}

.pagination .page-item[b-loyj58z5zh] {
    margin: 0 3px;
}

.pagination .page-link[b-loyj58z5zh] {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.pagination .page-link:hover[b-loyj58z5zh] {
    background: #007bff;
    color: #fff;
}

.pagination .active .page-link[b-loyj58z5zh] {
    background: #007bff;
    color: #fff;
    font-weight: bold;
}

/* --- Responsive Adjustments for Pagination --- */
@media (max-width: 768px) {
    .attachment-pagination[b-loyj58z5zh] {
        justify-content: center;
        margin-top: 15px;
    }

    .pagination[b-loyj58z5zh] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination .page-link[b-loyj58z5zh] {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}
/* _content/YourLocalPlantHire.Web/Components/Admin/Equipment/EquipmentManagement.razor.rz.scp.css */
/* General Input Styling */
input[b-yqosxbjeqg], select[b-yqosxbjeqg], textarea[b-yqosxbjeqg] {
    border-radius: 4px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 0.5rem;
}

/* Search and Category Bar Styling */
.search-bar[b-yqosxbjeqg] {
    width: calc(100% - 220px); /* Adjust width for category dropdown */
    max-width: 300px;
}

.category-dropdown[b-yqosxbjeqg] {
    width: 150px;
    height: 2.5rem;
}

.status-dropdown[b-yqosxbjeqg] {
    width: 150px;
    height: 2.5rem;
}

/* Controls Layout */
.left-controls[b-yqosxbjeqg] {
    flex-grow: 1;
    margin-right: 8px;
}

.right-controls[b-yqosxbjeqg] {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1rem;
}

.sort-by-container[b-yqosxbjeqg] {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
}

.sort-by-container .form-label[b-yqosxbjeqg] {
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
}

/* Dropdown Styling */
.location-dropdown[b-yqosxbjeqg],
.sort-dropdown[b-yqosxbjeqg],
.sort-direction-dropdown[b-yqosxbjeqg] {
    height: 2.5rem;
}

.location-dropdown[b-yqosxbjeqg] {
    width: 200px;
}

.sort-dropdown[b-yqosxbjeqg] {
    width: 150px;
}

.sort-direction-dropdown[b-yqosxbjeqg] {
    width: 150px;
}

/* Add Button */
.btn-success.no-wrap[b-yqosxbjeqg] {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Equipment Management Layout */
.row[b-yqosxbjeqg] {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

.col[b-yqosxbjeqg] {
    display: flex;
    justify-content: center;
    flex: 1 1 100%;
}

/* Modal and Form Styling */
.form-group[b-yqosxbjeqg] {
    margin-bottom: 1rem;
}

.form-group label[b-yqosxbjeqg] {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.detailed-description-textarea[b-yqosxbjeqg] {
    min-height: 150px;
    resize: vertical;
}

.preview-box[b-yqosxbjeqg] {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-height: 150px;
    overflow-y: auto;
    padding: 0.75rem;
    white-space: pre-wrap;
}

/* Modal Footer */
.modal-footer[b-yqosxbjeqg] {
    display: flex;
    justify-content: space-between;
}

.modal-footer .btn-secondary[b-yqosxbjeqg] {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-bar[b-yqosxbjeqg] {
        width: 100%; /* Full width for mobile screens */
    }

    .category-dropdown[b-yqosxbjeqg] {
        width: 100%; /* Full width for mobile screens */
        margin-bottom: 8px; /* Add spacing between search bar and dropdown */
    }

    .status-dropdown[b-yqosxbjeqg] {
        width: 100%; /* Full width for mobile screens */
        margin-bottom: 8px; /* Add spacing between search bar and dropdown */
    }

    .left-controls[b-yqosxbjeqg] {
        display: flex;
        flex-direction: column; /* Stack search bar and dropdown */
        width: 100%; /* Full width for consistency */
    }

    .right-controls[b-yqosxbjeqg] {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.5rem;
    }

    .sort-by-container[b-yqosxbjeqg] {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sort-by-container .form-label[b-yqosxbjeqg] {
        width: 100%;
        margin-bottom: 0.25rem;
    }

    .sort-dropdown[b-yqosxbjeqg],
    .sort-direction-dropdown[b-yqosxbjeqg],
    .location-dropdown[b-yqosxbjeqg] {
        width: 100%;
    }

    .btn-success.no-wrap[b-yqosxbjeqg] {
        width: 100%;
    }

    .modal-body[b-yqosxbjeqg] {
        padding: 1rem;
    }

    .form-group[b-yqosxbjeqg] {
        margin-bottom: 1rem;
    }

    .btn-success[b-yqosxbjeqg] {
        width: 100%;
        padding: 0.75rem;
    }

    .modal-footer .btn-secondary[b-yqosxbjeqg] {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 769px) {
    .modal-footer .btn-secondary[b-yqosxbjeqg] {
        width: auto;
        margin-bottom: 0;
    }
}

/* Utilities */
.text-muted[b-yqosxbjeqg] {
    color: #6c757d;
}

.text-center[b-yqosxbjeqg] {
    text-align: center;
}
/* _content/YourLocalPlantHire.Web/Components/Admin/Equipment/EquipmentManager.razor.rz.scp.css */
/* Ensure the equipment manager stands out */
.equipment-manager[b-oglsxcqax4] {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

/* --- Controls Section (Filters & Sorting) --- */
.equipment-controls[b-oglsxcqax4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Filter & Sort Container */
.filter-sort-controls[b-oglsxcqax4] {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Sort dropdown */
.sort-dropdown[b-oglsxcqax4] {
    min-width: 180px;
}

/* Add Equipment Button */
.add-equipment-btn[b-oglsxcqax4] {
    white-space: nowrap;
}

/* --- Table Mode Styling --- */
.display-table[b-oglsxcqax4] {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

/* Table header */
.table-header[b-oglsxcqax4] {
    display: table-row;
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Table rows */
.table-row[b-oglsxcqax4] {
    display: table-row;
    border-bottom: 1px solid #dee2e6;
}

/* Table cells */
.table-cell[b-oglsxcqax4] {
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
}

/* Ensure form does not break table-row */
.display-table[b-oglsxcqax4]  form {
    display: contents !important;
}

/* Input fields inside editing rows */
.table-cell input.form-control[b-oglsxcqax4],
.table-cell select.form-select[b-oglsxcqax4] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Validation messages */
.validation-message[b-oglsxcqax4] {
    color: red;
    font-size: 0.9em;
    margin-top: 4px;
}

/* Hide elements conditionally */
.hidden[b-oglsxcqax4] {
    display: none !important;
}

/* "No Equipment Available" message */
.no-equipment-msg[b-oglsxcqax4] {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-top: 15px;
}

/* Action buttons */
.actions[b-oglsxcqax4] {
    display: flex;
    gap: 8px;
}

/* --- Responsive Design: Card Mode (Mobile View) --- */
@media (max-width: 768px) {
    .display-table[b-oglsxcqax4] {
        display: flex;
        flex-direction: column;
    }

    .table-header[b-oglsxcqax4] {
        display: none; /* Hide table headers in card mode */
    }

    .table-row[b-oglsxcqax4] {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        background-color: #fff;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 8px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .table-cell[b-oglsxcqax4] {
        display: flex;
        flex-direction: column;
        padding: 5px 0;
    }

    /* Ensure labels are readable in card mode */
    .table-cell[b-oglsxcqax4]::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        margin-bottom: 4px;
        display: block;
    }

    /* Align edit button to bottom right */
    .table-cell.actions[b-oglsxcqax4] {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }

    /* Adjust buttons in mobile view */
    .table-cell.actions button[b-oglsxcqax4] {
        flex-grow: 1;
        text-align: center;
    }

    /* --- Fixing Controls Stacking on Mobile --- */
    .equipment-controls[b-oglsxcqax4] {
        display: flex;
        flex-direction: column-reverse; /* Reverse order */
        align-items: stretch;
        gap: 12px;
        width: 100%; /* Ensure it takes full width */
    }

    /* Ensure Add button is on top */
    .add-equipment-btn[b-oglsxcqax4] {
        order: -1;
        width: 100%;
    }

    /* Ensure filters and sorting are stacked below */
    .filter-sort-controls[b-oglsxcqax4] {
        display: flex;
        flex-direction: column;
        width: 100%; /* Ensure it uses full available space */
        align-items: stretch; /* Make sure items stretch properly */
        gap: 10px;
    }

    /* Ensure filter and search inputs take full width */
    .sort-dropdown[b-oglsxcqax4],
    .filter-input[b-oglsxcqax4] {
        width: 100%;
    }

    .filter-sort-controls button[b-oglsxcqax4] {
        width: 100%;
    }
}

/* Pagination container */
.equipment-pagination[b-oglsxcqax4] {
    display: flex;
    justify-content: center; /* Center the pagination */
    margin-top: 15px;
}

/* Pagination buttons */
.pagination[b-oglsxcqax4] {
    display: flex;
    list-style: none;
    padding: 0;
    border-radius: 5px;
    background: #f8f9fa;
}

.pagination .page-item[b-oglsxcqax4] {
    margin: 0 3px;
}

.pagination .page-link[b-oglsxcqax4] {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.pagination .page-link:hover[b-oglsxcqax4] {
    background: #007bff;
    color: #fff;
}

.pagination .active .page-link[b-oglsxcqax4] {
    background: #007bff;
    color: #fff;
    font-weight: bold;
}

/* --- Responsive Adjustments for Pagination --- */
@media (max-width: 768px) {
    .equipment-pagination[b-oglsxcqax4] {
        justify-content: center;
        margin-top: 15px;
    }

    .pagination[b-oglsxcqax4] {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination .page-link[b-oglsxcqax4] {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}
/* _content/YourLocalPlantHire.Web/Components/Admin/Equipment/EquipmentTypeCard.razor.rz.scp.css */
/* Equipment Type Card */
.equipment-type-card[b-9rs7iek7yp] {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.equipment-type-card:hover[b-9rs7iek7yp] {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Card Body */
.equipment-type-card .card-body[b-9rs7iek7yp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
}

/* Icon Styling */
.equipment-type-card .equipment-icon[b-9rs7iek7yp] {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.equipment-type-card .equipment-icon-edit[b-9rs7iek7yp] {
    max-width: 300px;
    width: 100%;
    height: auto;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Wrapper for Icon and Edit Grid */
.equipment-type-card .edit-content[b-9rs7iek7yp] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

/* Content Styling */
.equipment-type-card .card-title[b-9rs7iek7yp] {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.equipment-type-card .short-description[b-9rs7iek7yp] {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #495057;
}

.equipment-type-card p[b-9rs7iek7yp] {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Edit Mode Grid Layout */
.equipment-type-card .edit-grid[b-9rs7iek7yp] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    align-items: start;
}

.equipment-type-card .edit-footer-grid[b-9rs7iek7yp] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    align-items: start;
}

/* Detailed Description Row */
.equipment-type-card .detailed-description-row[b-9rs7iek7yp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.equipment-type-card .detailed-description[b-9rs7iek7yp] {
    grid-column: 1;
    display: flex;
    flex-direction: column;
}

.equipment-type-card .detailed-description-textarea[b-9rs7iek7yp] {
    height: 100%;
    resize: none;
    min-height: 150px;
}

.equipment-type-card .detailed-description-preview[b-9rs7iek7yp] {
    grid-column: 2;
}

.equipment-type-card .preview-box[b-9rs7iek7yp] {
    min-height: 300px;
    max-height: 300px;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: auto;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
}

/* Media Assets */
.equipment-type-card .media-assets-row[b-9rs7iek7yp] {
    margin-top: 1rem;
}

.equipment-type-card .media-assets-full-width[b-9rs7iek7yp] {
    grid-column: span 3;
    width: 100%;
}

/* Media Asset Thumbnails */
.equipment-type-card .media-asset-thumbnail[b-9rs7iek7yp] {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.equipment-type-card .media-asset-gallery[b-9rs7iek7yp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Form Styling */
.equipment-type-card .form-group[b-9rs7iek7yp] {
    margin-bottom: 1rem;
}

.equipment-type-card .form-group label[b-9rs7iek7yp] {
    font-weight: bold;
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.equipment-type-card .form-group input[b-9rs7iek7yp],
.equipment-type-card .form-group textarea[b-9rs7iek7yp],
.equipment-type-card .form-group select[b-9rs7iek7yp] {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.equipment-type-card .form-group input:focus[b-9rs7iek7yp],
.equipment-type-card .form-group textarea:focus[b-9rs7iek7yp],
.equipment-type-card .form-group select:focus[b-9rs7iek7yp] {
    border-color: #80bdff;
    outline: none;
}

/* Action Controls */
.equipment-type-card .action-controls[b-9rs7iek7yp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.equipment-type-card .action-controls.edit-mode[b-9rs7iek7yp] {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
}

.equipment-type-card .btn[b-9rs7iek7yp] {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
}

.equipment-type-card .btn-group .btn[b-9rs7iek7yp] {
    border-radius: 4px;
}

.equipment-type-card .btn-success[b-9rs7iek7yp] {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.equipment-type-card .btn-success:hover[b-9rs7iek7yp] {
    background-color: #218838;
}

.equipment-type-card .btn-secondary[b-9rs7iek7yp] {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.equipment-type-card .btn-secondary:hover[b-9rs7iek7yp] {
    background-color: #5a6268;
}

/* Card Footer */
.equipment-type-card .card-footer[b-9rs7iek7yp] {
    padding: 1rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    overflow-x: auto;
}

.equipment-type-card .card-footer.edit-footer[b-9rs7iek7yp] {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .equipment-type-card .card-body[b-9rs7iek7yp] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .equipment-type-card .edit-content[b-9rs7iek7yp] {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .equipment-type-card .edit-grid[b-9rs7iek7yp] {
        grid-template-columns: 1fr;
    }

    .equipment-type-card .edit-footer-grid[b-9rs7iek7yp] {
        grid-template-columns: 1fr;
    }

    .equipment-type-card .detailed-description-row[b-9rs7iek7yp] {
        display: flex;
        flex-direction: column;
        gap: 1rem; /* Ensure spacing between textarea and preview */
    }

    .equipment-type-card .action-controls[b-9rs7iek7yp] {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .equipment-type-card .preview-box[b-9rs7iek7yp] {
        max-height: 200px;
        overflow-y: auto;
    }

    .equipment-type-card .media-assets-row[b-9rs7iek7yp] {
        grid-column: span 1;
    }

    .equipment-type-card .equipment-icon[b-9rs7iek7yp],
    .equipment-type-card .equipment-icon-edit[b-9rs7iek7yp] {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .equipment-type-card .card-body[b-9rs7iek7yp] {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .equipment-type-card .edit-content[b-9rs7iek7yp] {
        flex-direction: column;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .equipment-type-card .detailed-description-row[b-9rs7iek7yp] {
        display: flex;
        flex-direction: column;
        gap: 0.5rem; /* Reduced gap for smaller screens */
    }

    .equipment-type-card .action-controls[b-9rs7iek7yp] {
        flex-direction: column;
        align-items: stretch;
    }

    .equipment-type-card .preview-box[b-9rs7iek7yp] {
        max-height: 150px;
        overflow-y: auto;
    }

    .equipment-type-card .media-asset-thumbnail[b-9rs7iek7yp] {
        width: 64px;
        height: 64px;
    }
}
/* _content/YourLocalPlantHire.Web/Components/Admin/Locations/LocationManagement.razor.rz.scp.css */
/* --- General Table Controls Styling --- */
.d-flex[b-7bxt10vbkg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ensure search bar and status filter fit well */
.search-bar[b-7bxt10vbkg] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Status Filter */
.status-filter[b-7bxt10vbkg] {
    min-width: 120px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Sorting Controls */
.sort-dropdown[b-7bxt10vbkg] {
    min-width: 200px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sort-label[b-7bxt10vbkg] {
    align-self: center;
    margin-right: auto;
    min-width: 60px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Add New Location Button */
.btn-success[b-7bxt10vbkg] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 8px 16px;
    white-space: nowrap;
    gap: 8px;
    text-align: center;
    width: fit-content;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .d-flex[b-7bxt10vbkg] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .search-bar[b-7bxt10vbkg],
    .status-filter[b-7bxt10vbkg],
    .sort-dropdown[b-7bxt10vbkg],
    .btn-success[b-7bxt10vbkg] {
        width: 100%;
    }

    .btn-success[b-7bxt10vbkg] {
        text-align: center;
        justify-content: center;
    }
}

/* --- Sorting Indicator --- */
.sort-indicator[b-7bxt10vbkg] {
    margin-left: 8px;
    font-size: 12px;
    color: #6c757d;
}

/* --- Status Labels --- */
.status-label[b-7bxt10vbkg] {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.status-active[b-7bxt10vbkg] {
    color: #28a745 !important;
}

.status-inactive[b-7bxt10vbkg] {
    color: #dc3545 !important;
}

/* --- Pagination --- */
.pagination-container[b-7bxt10vbkg] {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination[b-7bxt10vbkg] {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.pagination .page-item[b-7bxt10vbkg] {
    font-size: 14px;
}

.pagination .page-link[b-7bxt10vbkg] {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-item.active .page-link[b-7bxt10vbkg] {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .page-link:hover[b-7bxt10vbkg] {
    background-color: #f0f0f0;
    color: #0056b3;
}

/* --- Autocomplete Dropdown --- */
.autocomplete-list[b-7bxt10vbkg] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.autocomplete-item[b-7bxt10vbkg] {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.autocomplete-item:hover[b-7bxt10vbkg] {
    background-color: #f0f0f0;
}

/* --- Buttons --- */
.btn .btn-text[b-7bxt10vbkg] {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .btn .btn-text[b-7bxt10vbkg] {
        display: none;
    }
}

/* --- Modal Footer Buttons --- */
.modal-footer[b-7bxt10vbkg] {
    display: flex;
    gap: 8px;
    justify-content: stretch;
}

@media (max-width: 768px) {
    .modal-footer[b-7bxt10vbkg] {
        flex-direction: column;
    }

    .modal-footer .btn[b-7bxt10vbkg] {
        width: 100%;
    }
}

/* --- Table Mode Styling (Default Desktop View) --- */
.display-table[b-7bxt10vbkg] {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.table-header[b-7bxt10vbkg] {
    display: table-row;
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table-header .sortable[b-7bxt10vbkg] {
    cursor: pointer;
}

.table-header .sortable:hover[b-7bxt10vbkg] {
    background-color: #e9ecef;
}

.table-row[b-7bxt10vbkg] {
    display: table-row;
    border-bottom: 1px solid #dee2e6;
}

.table-cell[b-7bxt10vbkg] {
    display: table-cell;
    padding: 10px;
    vertical-align: middle;
}

/* --- Responsive Card Mode (Mobile View) --- */
@media (max-width: 768px) {
    .display-table[b-7bxt10vbkg] {
        display: flex;
        flex-direction: column;
    }

    .table-header[b-7bxt10vbkg] {
        display: none;
    }

    .table-row[b-7bxt10vbkg] {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        background-color: white;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 8px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .table-cell[b-7bxt10vbkg] {
        display: flex;
        flex-direction: column;
        padding: 5px 0;
    }

    .table-cell[b-7bxt10vbkg]::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        margin-bottom: 4px;
        display: block;
    }

    .table-cell.actions[b-7bxt10vbkg] {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .table-cell.actions button[b-7bxt10vbkg] {
        flex-grow: 1;
        text-align: center;
    }
}
/* _content/YourLocalPlantHire.Web/Components/Admin/MediaAssets/MediaAssetManagement.razor.rz.scp.css */
/* Search and Controls */
.search-bar[b-w95fevlceb] {
    width: 100%;
    max-width: 400px;
}

.left-controls[b-w95fevlceb] {
    flex-grow: 1;
    margin-right: 16px;
}

.right-controls[b-w95fevlceb] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.sort-by-container[b-w95fevlceb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-type-dropdown[b-w95fevlceb],
.sort-dropdown[b-w95fevlceb],
.sort-direction-dropdown[b-w95fevlceb] {
    width: 150px;
    height: 40px;
}

/* Media Asset Grid */
.media-asset-grid[b-w95fevlceb] {
    display: block; /* Allow Masonry to handle layout */
    margin: 0 auto;
}

/* Base Card Styles (shared between add and existing cards) */
.media-asset-card[b-w95fevlceb] {
    width: 300px;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.2s ease-in-out;
}

.media-asset-card:hover[b-w95fevlceb] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Existing Media Card Styles */
.existing-asset-card[b-w95fevlceb] {
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.existing-asset-card img[b-w95fevlceb] {
    width: 100%;
    height: auto;
    display: block;
}

/* Add Media Card Styles */
.add-media-card[b-w95fevlceb] {
    border: 1px dashed #ccc;
    background-color: #fafafa;
    text-align: center;
    padding: 20px;
    box-shadow: none;
}

/* Card Content */
.card-body[b-w95fevlceb] {
    padding: 12px;
    text-align: left;
}

.card-title[b-w95fevlceb] {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-text[b-w95fevlceb] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.card-body .d-flex[b-w95fevlceb] {
    gap: 8px;
}

.card-body .btn[b-w95fevlceb] {
    flex-grow: 1;
    font-size: 0.9rem;
    padding: 6px 10px;
    text-align: center;
}

/* Pagination */
.pagination-container[b-w95fevlceb] {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination[b-w95fevlceb] {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 5px;
}

.page-item[b-w95fevlceb] {
    display: inline-block;
}

.page-item.active .page-link[b-w95fevlceb] {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-link[b-w95fevlceb] {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-link:hover[b-w95fevlceb] {
    background-color: #f1f1f1;
}

/* Forms */
form label[b-w95fevlceb] {
    display: block;
    text-align: left;
    font-weight: 500;
    margin-bottom: 4px;
}

.validation-message[b-w95fevlceb] {
    color: red;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-left: 2px;
}
/* _content/YourLocalPlantHire.Web/Components/Admin/MediaAssets/MediaAssetSelectorModal.razor.rz.scp.css */
/* Center the button and make it responsive to its container */
.media-asset-selector[b-rh203npe4m] {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Ensure the button stretches vertically */
}

/* Style the button to fill the available space */
.media-asset-selector .btn-primary[b-rh203npe4m] {
    width: 100%;           /* Fill the width of its container */
    height: 100%;          /* Fill the available height */
    min-height: 48px;      /* Sensible minimum height for accessibility */
    display: flex;         /* Center text vertically and horizontally */
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    box-sizing: border-box; /* Prevent padding from affecting dimensions */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    font-weight: bold;
    letter-spacing: 0.5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
}

.media-asset-selector .btn-primary:hover[b-rh203npe4m] {
    transform: translateY(-2px);
    background-color: #0056b3; /* Darker blue on hover */
}

/* Modal content */
.modal-content[b-rh203npe4m] {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    border: none;
}

/* Tabs Navigation */
.nav-tabs[b-rh203npe4m] {
    border-bottom: 2px solid #dee2e6;
    display: flex;
    gap: 0.5rem; /* Spacing between tabs */
    justify-content: center; /* Center align tabs */
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 8px 8px 0 0; /* Rounded corners at the top */
}

/* Individual Tab Links */
.nav-tabs .nav-link[b-rh203npe4m] {
    color: #495057;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    border: none;
    background: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 6px;
    text-transform: capitalize;
}

/* Active Tab */
.nav-tabs .nav-link.active[b-rh203npe4m] {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Hover Effect for Inactive Tabs */
.nav-tabs .nav-link:not(.active):hover[b-rh203npe4m] {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    cursor: pointer;
}

/* Remove CSS Grid to avoid conflicts with Masonry */
.media-grid[b-rh203npe4m] {
    display: block;               /* Let Masonry handle the layout */
    gap: 0.75rem;                 /* Still maintain gap for Masonry */
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    position: relative;           /* Ensure proper stacking with Masonry */
}

/* Media Item Styling */
.media-item[b-rh203npe4m] {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;

    /* Add Fixed Width/Height */
    width: 180px;                 /* Control item width */
    margin: 0 auto 10px;          /* Masonry handles spacing, but this helps with centering */
}

.media-item:hover[b-rh203npe4m] {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #e9ecef;
}

/* Media Preview */
.media-preview[b-rh203npe4m] {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Date Overlay Styling */
.date-overlay[b-rh203npe4m] {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Media Image */
.media-item img[b-rh203npe4m] {
    width: 160px;
    height: auto;                /* Fixed height for consistency */
    border-radius: 4px;
    object-fit: cover;            /* Ensure images fill without distortion */
    transition: transform 0.3s ease;
}

.media-item:hover img[b-rh203npe4m] {
    transform: scale(1.02);
}

/* Title */
.media-item p[b-rh203npe4m] {
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Body Adjustment for Scroll */
.modal-body[b-rh203npe4m] {
    max-height: 70vh;             /* Limit modal body height based on viewport */
    overflow-y: auto;             /* Enable vertical scrolling if content overflows */
    padding: 1rem;
}

/* Modal Footer */
.modal-footer[b-rh203npe4m] {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem;
    background-color: #f1f3f5;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .media-grid[b-rh203npe4m] {
        max-height: 300px;
    }

    .media-item[b-rh203npe4m] {
        width: 140px;             /* Adjust item width for smaller screens */
        padding: 4px;
    }

    .media-item img[b-rh203npe4m] {
        width: 120px;            /* Smaller images on mobile */
    }

    .media-item p[b-rh203npe4m] {
        font-size: 0.75rem;
    }

    .nav-tabs .nav-link[b-rh203npe4m] {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* _content/YourLocalPlantHire.Web/Components/Admin/MediaAssets/MultipleMediaAssetManager.razor.rz.scp.css */
.multiple-media-asset-manager[b-vo5xfflwci] {
    margin-bottom: 1rem;
    max-width: 100%;
}

/* Label Styling */
.multiple-media-asset-manager label[b-vo5xfflwci] {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
    font-size: 1.1rem;
    color: #343a40;
}

/* Upload Container */
.multiple-media-asset-manager .upload-container[b-vo5xfflwci] {
    margin-bottom: 0.75rem;
    text-align: center;
    border: 2px dashed #ced4da;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.multiple-media-asset-manager .upload-container:hover[b-vo5xfflwci] {
    background-color: #f1f3f5;
    cursor: pointer;
}

/* Grid Layout for Media Assets */
.media-assets-container[b-vo5xfflwci] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 8px;
}

/* Individual Media Asset Card */
.media-asset[b-vo5xfflwci] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 200px;
    padding: 0.75rem;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-asset:hover[b-vo5xfflwci] {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Media Preview */
.media-preview[b-vo5xfflwci] {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    align-self: center;
    background-color: #f1f3f5;
}

/* Image Styling */
.media-thumbnail[b-vo5xfflwci] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-thumbnail:hover[b-vo5xfflwci] {
    transform: scale(1.05);
}

/* Date Overlay */
.date-overlay[b-vo5xfflwci] {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(3px);
}

/* Media Details */
.media-title[b-vo5xfflwci], .media-description[b-vo5xfflwci] {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0.3rem 0;
    word-wrap: break-word;
    color: #212529;
}

/* Input Fields */
.media-asset input[b-vo5xfflwci],
.media-asset textarea[b-vo5xfflwci] {
    width: 100%;
    font-size: 0.9rem;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-asset input:focus[b-vo5xfflwci],
.media-asset textarea:focus[b-vo5xfflwci] {
    border-color: #80bdff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Form Group Styling */
.media-asset .form-group[b-vo5xfflwci] {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

/* Remove Button */
.btn-danger[b-vo5xfflwci] {
    margin-top: 6px;
    font-size: 0.85rem;
    padding: 6px 12px;
    align-self: center;
    transition: background-color 0.3s ease;
}

.btn-danger:hover[b-vo5xfflwci] {
    background-color: #c82333;
    color: white;
}

/* Max Images Reached Message */
.text-muted[b-vo5xfflwci] {
    font-size: 0.9rem;
    color: #6c757d;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    padding: 0.75rem;
    text-align: center;
    border-radius: 4px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .media-assets-container[b-vo5xfflwci] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .media-asset[b-vo5xfflwci] {
        width: 100%;
        max-width: 320px;
    }

    .media-preview[b-vo5xfflwci] {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .media-thumbnail[b-vo5xfflwci] {
        height: auto;
        max-height: 300px;
    }

    .btn-danger[b-vo5xfflwci] {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .media-asset input[b-vo5xfflwci],
    .media-asset textarea[b-vo5xfflwci] {
        font-size: 1rem;
        padding: 8px;
    }
}
/* _content/YourLocalPlantHire.Web/Components/Admin/MediaAssets/SingleMediaAssetManager.razor.rz.scp.css */
.single-media-asset-manager[b-yeen00c5jg] {
    margin-bottom: 0.5rem;
    max-width: 100%;
}

/* Ensure label has correct spacing */
.single-media-asset-manager label[b-yeen00c5jg] {
    font-weight: bold;
    margin-bottom: 0.5rem;    /* Changed from 0.2rem to match Multiple Manager */
    display: block;
    font-size: 1.1rem;        /* Added to match Multiple Manager */
    color: #343a40;           /* Added to match label color */
}

/* Properly align form elements */
.single-media-asset-manager .form-group[b-yeen00c5jg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduce gap for tighter alignment */
    margin-bottom: 0.5rem;
    max-width: 100%;
}

/* Remove unnecessary margin from inputs and textareas */
.single-media-asset-manager .form-group input[b-yeen00c5jg],
.single-media-asset-manager .form-group textarea[b-yeen00c5jg] {
    font-size: 0.9rem;
    padding: 6px;
    margin: 0;
    width: 100%; /* Ensure responsiveness */
    max-width: 250px; /* Prevent stretching */
}

/* Prevent excessive vertical spacing between elements */
.single-media-asset-manager .existing-media-asset[b-yeen00c5jg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Keep consistent spacing */
    margin-bottom: 0.5rem;
    max-width: 100%;
}

/* Styling for the media preview */
.single-media-asset-manager .media-preview[b-yeen00c5jg] {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

/* Image preview */
.single-media-asset-manager img[b-yeen00c5jg] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Date overlay */
.single-media-asset-manager .date-overlay[b-yeen00c5jg] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 5px;
    border-radius: 4px;
    text-align: center;
}

/* Make remove button more compact and aligned */
.single-media-asset-manager .btn-danger[b-yeen00c5jg] {
    font-size: 0.875rem;
    padding: 5px 10px;
    align-self: flex-start; /* Ensure it aligns properly with fields */
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
    /* Adjust preview size for smaller screens */
    .single-media-asset-manager .media-preview[b-yeen00c5jg] {
        width: 150px;
        height: 150px;
    }

    /* Ensure form fields take up proper width */
    .single-media-asset-manager .form-group input[b-yeen00c5jg],
    .single-media-asset-manager .form-group textarea[b-yeen00c5jg] {
        max-width: 100%;
    }

    /* Reduce spacing further on mobile */
    .single-media-asset-manager .form-group[b-yeen00c5jg] {
        gap: 0.4rem;
        margin-bottom: 0.4rem;
    }

    /* Make remove button smaller on mobile */
    .single-media-asset-manager .btn-danger[b-yeen00c5jg] {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
/* _content/YourLocalPlantHire.Web/Components/EquipmentTypes.razor.rz.scp.css */
/* _content/YourLocalPlantHire.Web/Components/Gallery.razor.rz.scp.css */
.dynamic-gallery-section[b-tind6vy7fn] {
    padding: 10px;
}

/* Gallery Filters */
.dynamic-gallery-section .gallery-filters[b-tind6vy7fn] {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.dynamic-gallery-section .gallery-filters li[b-tind6vy7fn] {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 500;
    margin: 0 10px;
    line-height: 1.5;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.dynamic-gallery-section .gallery-filters li:hover[b-tind6vy7fn],
.dynamic-gallery-section .gallery-filters li.filter-active[b-tind6vy7fn] {
    background-color: var(--color-primary, #007bff);
    color: #fff;
}

/* Gallery Masonry Layout */
.dynamic-gallery-section .gallery-container[b-tind6vy7fn] {
    display: block; /* Masonry manages the layout */
    margin: 0 auto;
}

/* Gallery Items */
.dynamic-gallery-section .gallery-item[b-tind6vy7fn] {
    width: 100%; /* Dynamically adjusted by Masonry */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    max-width: 200px; /* Match the thumbnail size being generated */
    margin: 0 auto 15px auto; /* Add vertical spacing between items */
}

.dynamic-gallery-section .gallery-item:hover[b-tind6vy7fn] {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Gallery Content */
.dynamic-gallery-section .gallery-content[b-tind6vy7fn] {
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* Ensures images respect rounded corners */
}

/* Gallery Images */
.dynamic-gallery-section .gallery-item img[b-tind6vy7fn] {
    display: block;
    width: 100%; /* Ensure images fill their container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.dynamic-gallery-section .gallery-item:hover img[b-tind6vy7fn] {
    transform: scale(1.05);
}

/* Gallery Info Overlay */
.dynamic-gallery-section .gallery-item .gallery-info[b-tind6vy7fn] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.dynamic-gallery-section .gallery-item:hover .gallery-info[b-tind6vy7fn] {
    opacity: 1;
}

.dynamic-gallery-section .gallery-info h4[b-tind6vy7fn] {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.dynamic-gallery-section .gallery-info p[b-tind6vy7fn] {
    margin: 5px 0 0 0;
    font-size: 14px;
}

/* Pagination */
.dynamic-gallery-section .pagination-container[b-tind6vy7fn] {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dynamic-gallery-section .pagination[b-tind6vy7fn] {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
}

.dynamic-gallery-section .page-item[b-tind6vy7fn] {
    display: inline-block;
}

.dynamic-gallery-section .page-item.active .page-link[b-tind6vy7fn] {
    background-color: var(--color-primary, #007bff);
    color: #fff;
    border-color: var(--color-primary, #007bff);
}

.dynamic-gallery-section .page-link[b-tind6vy7fn] {
    display: block;
    padding: 8px 12px;
    color: var(--color-primary, #007bff);
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dynamic-gallery-section .page-link:hover[b-tind6vy7fn] {
    background-color: #f1f1f1;
    color: var(--color-primary-hover, #0056b3);
}

/* Modal Styles */
.modal-body[b-tind6vy7fn] {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Modal Image */
.modal-body .slideshow-image[b-tind6vy7fn] {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.modal-body .slideshow-image:hover[b-tind6vy7fn] {
    transform: scale(1.02);
}

/* Modal Navigation */
.modal-body .prev-btn[b-tind6vy7fn],
.modal-body .next-btn[b-tind6vy7fn] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1050;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body .prev-btn:hover[b-tind6vy7fn],
.modal-body .next-btn:hover[b-tind6vy7fn] {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}

.modal-body .prev-btn[b-tind6vy7fn] {
    left: 20px;
}

.modal-body .next-btn[b-tind6vy7fn] {
    right: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dynamic-gallery-section .gallery-item[b-tind6vy7fn] {
        max-width: 100%; /* Allow full width on smaller screens */
    }

    .dynamic-gallery-section .pagination-container[b-tind6vy7fn] {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .dynamic-gallery-section .page-link[b-tind6vy7fn] {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .dynamic-gallery-section .gallery-filters li[b-tind6vy7fn] {
        font-size: 14px;
        padding: 6px 10px;
    }
}
/* _content/YourLocalPlantHire.Web/Components/ImageUploader.razor.rz.scp.css */
.file-drop-zone[b-ka3v0z92lk] {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-drop-zone:hover[b-ka3v0z92lk] {
    border-color: #007bff;
}

.file-drop-zone[b-ka3v0z92lk]  input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.drop-message[b-ka3v0z92lk] {
    color: #007bff;
    font-size: 16px;
}

.preview[b-ka3v0z92lk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

.preview-image[b-ka3v0z92lk] {
    max-width: 100%;
    max-height: 300px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.preview .filename[b-ka3v0z92lk] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 14px;
    color: #333;
}

.progress[b-ka3v0z92lk] {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar[b-ka3v0z92lk] {
    height: 20px;
    background-color: #28a745;
    transition: width 0.3s ease;
}
/* _content/YourLocalPlantHire.Web/Components/MessageModal.razor.rz.scp.css */
/* Default (info) */
.modal-info .modal-header[b-ud6jffy204] {
    background-color: #007bff;
    color: #fff;
}

.modal-info .modal-footer .btn-primary[b-ud6jffy204] {
    background-color: #007bff;
    border-color: #0056b3;
}

/* Success */
.modal-success .modal-header[b-ud6jffy204] {
    background-color: #28a745;
    color: #fff;
}

.modal-success .modal-footer .btn-primary[b-ud6jffy204] {
    background-color: #28a745;
    border-color: #1e7e34;
}

/* Warning */
.modal-warning .modal-header[b-ud6jffy204] {
    background-color: #ffc107;
    color: #000;
}

.modal-warning .modal-footer .btn-primary[b-ud6jffy204] {
    background-color: #ffc107;
    border-color: #e0a800;
}

/* Error */
.modal-error .modal-header[b-ud6jffy204] {
    background-color: #dc3545;
    color: #fff;
}

.modal-error .modal-footer .btn-primary[b-ud6jffy204] {
    background-color: #dc3545;
    border-color: #bd2130;
}

/* Center modal vertically */
.modal-dialog[b-ud6jffy204] {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin: 0 auto;
}
/* _content/YourLocalPlantHire.Web/Components/Sales/ProductCatalog.razor.rz.scp.css */
.product-catalog[b-9gkvns1dgc] {
    padding: 2rem 0;
}

.filter-buttons[b-9gkvns1dgc] {
    text-align: center;
}

.product-card[b-9gkvns1dgc] {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card:hover[b-9gkvns1dgc] {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.product-image-container[b-9gkvns1dgc] {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

.product-image[b-9gkvns1dgc] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image[b-9gkvns1dgc] {
    transform: scale(1.05);
}

.product-info[b-9gkvns1dgc] {
    padding: 1.5rem;
}

.product-title[b-9gkvns1dgc] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price[b-9gkvns1dgc] {
    margin-bottom: 1rem;
}

.original-price[b-9gkvns1dgc] {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.sale-price[b-9gkvns1dgc] {
    font-size: 1.2rem;
}

.price[b-9gkvns1dgc] {
    font-size: 1.2rem;
    color: #28a745;
}

.product-actions[b-9gkvns1dgc] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-actions .btn[b-9gkvns1dgc] {
    flex: 1;
    min-width: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-image-container[b-9gkvns1dgc] {
        height: 200px;
    }
    
    .product-title[b-9gkvns1dgc] {
        font-size: 1rem;
        height: 2.4em;
    }
    
    .product-actions[b-9gkvns1dgc] {
        flex-direction: column;
    }
    
    .product-actions .btn[b-9gkvns1dgc] {
        width: 100%;
    }
}

/* Filter button styles */
.filter-buttons .btn[b-9gkvns1dgc] {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons .btn:hover[b-9gkvns1dgc] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Loading state */
.products-grid.loading[b-9gkvns1dgc] {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state */
.text-center.py-5[b-9gkvns1dgc] {
    color: #6c757d;
}

.text-center.py-5 h4[b-9gkvns1dgc] {
    color: #495057;
    margin-bottom: 1rem;
} 
/* _content/YourLocalPlantHire.Web/Components/Sales/ProductDetails.razor.rz.scp.css */
.product-details[b-y4gcug8xsu] {
    padding: 2rem 0;
}

.product-gallery[b-y4gcug8xsu] {
    margin-bottom: 2rem;
}

.main-image-container[b-y4gcug8xsu] {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-image[b-y4gcug8xsu] {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover[b-y4gcug8xsu] {
    transform: scale(1.02);
}

.thumbnail-container[b-y4gcug8xsu] {
    margin-top: 1rem;
}

.thumbnails[b-y4gcug8xsu] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail[b-y4gcug8xsu] {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.thumbnail.active[b-y4gcug8xsu] {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.thumbnail:hover[b-y4gcug8xsu] {
    border-color: #0056b3;
    transform: translateY(-2px);
}

.thumbnail img[b-y4gcug8xsu] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info[b-y4gcug8xsu] {
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.product-title[b-y4gcug8xsu] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.product-price-section[b-y4gcug8xsu] {
    margin-bottom: 1.5rem;
}

.price-display[b-y4gcug8xsu] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.original-price[b-y4gcug8xsu] {
    font-size: 1.1rem;
    color: #6c757d;
    text-decoration: line-through;
}

.sale-price[b-y4gcug8xsu] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc3545;
}

.price[b-y4gcug8xsu] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
}

.sale-badge[b-y4gcug8xsu] {
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.model-number[b-y4gcug8xsu] {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.product-actions[b-y4gcug8xsu] {
    margin-top: 2rem;
}

.product-description[b-y4gcug8xsu] {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-description h3[b-y4gcug8xsu] {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.description-content[b-y4gcug8xsu] {
    line-height: 1.6;
    color: #555;
}

.description-content h2[b-y4gcug8xsu] {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.description-content h3[b-y4gcug8xsu] {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.description-content p[b-y4gcug8xsu] {
    margin-bottom: 1rem;
}

.description-content ul[b-y4gcug8xsu] {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.description-content li[b-y4gcug8xsu] {
    margin-bottom: 0.5rem;
}

.description-content strong[b-y4gcug8xsu] {
    color: #333;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .main-image[b-y4gcug8xsu] {
        height: 400px;
    }
    
    .product-info[b-y4gcug8xsu] {
        position: static;
        margin-top: 2rem;
    }
    
    .product-title[b-y4gcug8xsu] {
        font-size: 1.5rem;
    }
    
    .sale-price[b-y4gcug8xsu],
    .price[b-y4gcug8xsu] {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-image[b-y4gcug8xsu] {
        height: 300px;
    }
    
    .thumbnails[b-y4gcug8xsu] {
        justify-content: center;
    }
    
    .thumbnail[b-y4gcug8xsu] {
        width: 60px;
        height: 60px;
    }
    
    .product-title[b-y4gcug8xsu] {
        font-size: 1.3rem;
    }
    
    .product-description[b-y4gcug8xsu] {
        padding: 1.5rem;
    }
}

/* Loading and error states */
.text-center.py-5[b-y4gcug8xsu] {
    color: #6c757d;
}

.text-center.py-5 h3[b-y4gcug8xsu] {
    color: #495057;
    margin-bottom: 1rem;
} 
