/* ===== MaterialPicker Component ===== */
.material-picker {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.material-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.material-picker-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.material-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: box-shadow 0.2s;
}

.material-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.material-icon {
    font-size: 1.5rem;
}

.material-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.material-info strong {
    margin-right: 0.5rem;
}

.material-actions {
    display: flex;
    gap: 0.5rem;
}

.material-library-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.material-library-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.material-library-item:hover {
    background: #f0f0f0;
}

.material-library-item input[type="radio"] {
    cursor: pointer;
}

.material-library-item label {
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.material-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state p {
    margin: 0.5rem 0;
}
