.material-tool-wrapper-6382bf99 {
    font-family: Arial, sans-serif;
    color: #333;
}

.material-tool-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar */
.sidebar-menu {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    align-self: flex-start;
}

.search-container {
    position: relative;
    margin-bottom: 25px;
}

.search-container .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.search-container input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.search-container input:focus {
    border-color: #0068ad;
}

.filter-group {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.filter-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.filter-header .chevron-icon {
    color: #0068ad;
    transition: transform 0.3s ease;
}

.filter-group.open .chevron-icon {
    transform: rotate(180deg);
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 5px;
}

.filter-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.reset-filters {
    width: 100%;
    padding: 12px;
    background: #e2f0fb;
    color: #0068ad;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.reset-filters:hover {
    background: #cce4f7;
}

/* Main Content */
.materials-main {
    flex: 1;
    min-width: 0;
}

.materials-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    gap: 20px;
}

.units-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.toggle-buttons {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.toggle-option {
    padding: 6px 12px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.toggle-option.selected {
    background: #5b6770;
    color: #fff;
}

.expand-collapse-actions {
    display: flex;
    font-size: 14px;
    cursor: pointer;
}

.expand-all, .collapse-all {
    display: flex;
    align-items: center;
    gap: 5px;
}

.materials-list {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0 0 4px 4px;
}

/* Material Cards */
.material-card {
    border-bottom: 1px solid #eaeaea;
}

.material-card:last-child {
    border-bottom: none;
}

.material-card-header {
    display: flex;
    padding: 20px;
    gap: 25px;
}

.material-image {
    flex: 0 0 120px;
    width: 120px;
    height: 100px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.material-summary {
    flex: 1;
}

.material-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.material-specs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.spec-col {
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}

.spec-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
}

.spec-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 14px;
}

.view-datasheet {
    color: #0068ad;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.details-toggle {
    color: #0068ad;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

/* Expand Area */
.material-expand {
    padding: 0 20px 20px 165px;
    display: flex;
    gap: 40px;
}

.expand-col {
    flex: 1;
}

.expand-col h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
}

.expand-col p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.props-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.props-table th, .props-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
}

.props-table th {
    font-weight: normal;
    color: #666;
}

.props-table td {
    font-weight: 600;
    text-align: right;
}

@media (max-width: 992px) {
    .material-tool-container {
        flex-direction: column;
    }
    .sidebar-menu {
        flex: none;
        width: 100%;
    }
    .material-expand {
        padding-left: 20px;
        flex-direction: column;
    }
    .material-card-header {
        flex-direction: column;
    }
    .spec-actions {
        margin-left: 0;
        align-items: flex-start;
        margin-top: 15px;
    }
}